|
Aerospace Control Framework 1.0
|
low_speed aerodynamic model More...
#include <sc_aero_low_speed.h>
Public Member Functions | |
| aero_low_speed (void) | |
| Constructor. | |
| void | initialize (char *filename) |
| Initialize with a filename. More... | |
| ml_matrix | get_torque (void) |
| Return the torque. | |
| ml_matrix | get_force (void) |
| Return the force. | |
| void | update (const ml_matrix &u, const ml_matrix ¢er_of_mass, double rho, const ml_matrix &hinge_angle, double speedOfSound, double kinematicViscosity) |
| Update the values of torque and force. More... | |
Low speed aerodynamic model. The organization of the data file is
[ x;y;z ] Rotation axis of model
If the rotation axis is [0;0;0] then the model is assumed not to rotate relative to the core body.
| void aero_low_speed::initialize | ( | char * | filename | ) |
Initialize the model from an ASCII text data file.
References low_speed_aero_s::alpha0, low_speed_aero_s::aspectRatio, low_speed_aero_s::axis, low_speed_aero_s::cP, low_speed_aero_s::length, low_speed_aero_s::oswaldEff, low_speed_aero_s::q_body_to_hinge, low_speed_aero_s::r_surf, low_speed_aero_s::s, low_speed_aero_s::thickness, and low_speed_aero_s::zetaTrans.
| void aero_low_speed::update | ( | const ml_matrix & | u, |
| const ml_matrix & | center_of_mass, | ||
| double | rho, | ||
| const ml_matrix & | hinge_angle, | ||
| double | speedOfSound, | ||
| double | kinematicViscosity | ||
| ) |
Return the torque given the altitude and mach number.
| u | Velocity vector in the body frame |
| center_of_mass | Center of mass |
| rho | Atmospheric density |
References low_speed_lift_and_drag(), and low_speed_aero_s::r_surf.