Solid rocket propellant grain burn profile approximator.
It uses a simple cartesian 2D mesh of fuel "particles" to simulate the burning of a solid rocket fuel grain. Solid fuels' thrust is dependent on the surface area that undergoes combustion, and this simulation simply uses that fact.
Either increase the mesh size a lot and burn your CPU (burn, lol) or take the results with a grain of salt (haha, "grain", get it? :D).
All properties and dimensions are unitless. This is not a program to design the fuel grain. This is a program to pick the grain shape for the desired burn profile.
Towards the end of the burn, there are some inaccuracies between the "ideal" real case and the simulation due to the imperfect burn surface propagation of the simulated grain. (I used an insufficient mesh.)
Towards the end of the burn, there are some inaccuracies between the "ideal" real case and the simulation due to the imperfect burn surface propagation of the simulated grain. (I used an insufficient mesh.)