Skip to content

arda-guler/PyroShaper

Repository files navigation

PyroShaper

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.

Example: Simple Tubular Grain

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.)

tubular_grain

tubular_thrust

tubular_mass

Example: Cocentric Grain

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.)

cocentric_grain

cocentric_thrust

cocentric_mass