|
Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Generates a Newtonian flow aerodynamic model using triangles. More...
#include <aerodynamics_newtonian.h>
Inherits dsim_model.
Public Member Functions | |
| aerodynamics_newtonian (dsim_model_setup *setup) | |
| Constructor. | |
| ~aerodynamics_newtonian () | |
| Destructor. | |
| void | initialize_data () |
| Create output variables and setup outlets. | |
| void | initialization_complete () |
| Finish initialization. | |
| void | initialize_timestep () |
| Pre numerical integration computation. | |
| void | rhs (double t, double jd) |
| Computation done during the right hand side. | |
| void | complete_timestep () |
| Post numerical integration computation. More... | |
| double | rankine_hugoniot_factor (double gamma, double m, double p_inf) |
| Pressure correction. More... | |
Generates a Newtonian flow aerodynamic model using triangles.
The inputs to this model are a file with vertices and faces. The vertex array is nx3. The face array is mx3. The outward normals are computed using the right-hand-rule based on the face array. The drag coefficients are stored with the face data in the file. The vehicle center-of-mass is a separate input.
The Newtonian model is only applicable above Mach 4. It does not meld smoothly with the continuum model. It includes the Rankine-Hugoniot pressure effects. These add a Mach number effect to the model.
Loads the fixed file /Library/Application Support/VisualCommander/Model Libraries/SolarFluxPredictions.txt
| void aerodynamics_newtonian::complete_timestep | ( | ) |
Post numerical integration computation.
Store values of force and torque at end of timestep.
| double aerodynamics_newtonian::rankine_hugoniot_factor | ( | double | gamma, |
| double | m, | ||
| double | p_inf | ||
| ) |
Pressure correction.
Correction for newtonian flow.
| gamma | Ratio of specific heats |
| m | Mach number |
| p_inf | Pressure at infinity |