Capability for Monopropellant Rocket Problem? #1017
-
|
Hey, thanks for creating this toolbox! I'm trying to use it to simulate monopropellant blowdown. Standard NASA CEA allows you to input a propellant temperature and pressure then solve the rocket problem accordingly. The associated CEA input file is attached. I have attempted to emulate it in various configurations, the closest of which is below, but unfortunately, it does not converge. Do you know if the toolbox has the capability to model non-combusting flow yet? Thanks, Taylor Code I tried: % Initialize the mixture import combustiontoolbox.databases.NasaDatabase DB = combustiontoolbox.databases.NasaDatabase; mix = set(mix, {'H2'},1); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi Taylor, Thanks for reaching out! From your description, it seems like your configuration should work since the Combustion Toolbox equilibrium solver minimizes Gibbs free energy, making it suitable for both combusting and non-combusting cases. What version of Combustion Toolbox are you using? I tested a similar setup, and it converges correctly. Here’s the script I used: % Import packages
import combustiontoolbox.databases.NasaDatabase
import combustiontoolbox.core.*
import combustiontoolbox.equilibrium.*
import combustiontoolbox.utils.display.*
import combustiontoolbox.rocket.*
% Get NasaDatabase
DB = combustiontoolbox.databases.NasaDatabase;
% Define the chemical system
system = ChemicalSystem(DB);
% Initialize the mixture
mix = Mixture(system);
mix = set(mix, {'H2'}, 1);
mixArray = setProperties(mix, 'temperature', 3000, 'pressure', 10, 'areaRatio', 150);
% Define solver
rocketsolver = RocketSolver('problemType', 'ROCKET_IAC');
% Solve problem
[mixArray1, mixArray2, mixArray3, mixArray4] = rocketsolver.solve(mixArray);OutputThe results match NASA CEA (CEAOUTPUT.txt): Flow Properties
Performance Parameters
Molar fractions
Best, |
Beta Was this translation helpful? Give feedback.
Hi Taylor,
Thanks for reaching out! From your description, it seems like your configuration should work since the Combustion Toolbox equilibrium solver minimizes Gibbs free energy, making it suitable for both combusting and non-combusting cases.
What version of Combustion Toolbox are you using?
I tested a similar setup, and it converges correctly. Here’s the script I used: