Coder Social home page Coder Social logo

Comments (4)

reilleya avatar reilleya commented on May 27, 2024

Hi! Do you have an example motor file that shows the problem?

from openmotor.

Arcturusastro avatar Arcturusastro commented on May 27, 2024

Github won't allow me to attach the .ric file since it isn't supported. Here's a google drive link. https://drive.google.com/file/d/1RTZ-28XAUquSxvzftEWoTYfh8k1tP_ya/view?usp=sharing
Another thing I noticed is that when I add a BATES grain in front of the endburning grain, both burn, but once the bates grain is done burning, the simulation ends and the endburning grain does not continue. I also didn't realize previously that the web was not 0 instantly, I didn't see the + 3.599e1 at the top. Still not sure what's causing the simulation to stop after only one time step though

from openmotor.

Arcturusastro avatar Arcturusastro commented on May 27, 2024

One thing I noticed while testing propellant characteristics with the endburning grains - If the burn rate coefficient is ridiculously high, the simulation runs as expected, however I can't get it past the first time step with a normal propellant.

from openmotor.

reilleya avatar reilleya commented on May 27, 2024

Finally got the chance to look at this! There's two issues with the design, either of which is enough to cause the confusing behavior you are seeing in the simulator. First, the Kn is far too low to get a good burn out of a formula like CL. It requires a Kn in the 200-400 range to burn at a high enough pressure to regress at a reasonable rate, and your file has a Kn of 64. You'll find that the nozzle throat for this motor has to be closer to 0.2-0.25" to get to a Kn in this range. As an aside, a moderate burn rate propellant like CL isn't well suited as an endburning formula, because even at a Kn of 400, the grain in the file you sent will take 2.5 minutes to burn!

The other issue is the expansion ratio. The exit diameter is way too large for really any motor with a throat of that size, and especially one with as low of a chamber pressure as this one. The expansion ratio is so high that the motor generates effectively 0 thrust, which causes the simulation to end in one timestamp. At ambient pressure and typical amateur motor chamber pressures (300-1200 psi), the optimal expansion ratio is likely in the 4-10 range, and much outside of that range will produce poor results.

The software should absolutely make this more clear with a warning of some sort, I'll play around with adding one to help people avoid getting confused about this. I'll probably add a warning for simulations that end with a substantial amount of propellant left, indicating that the motor didn't generate thrust.

from openmotor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.