Classes | Public Member Functions

aero_newtonian Class Reference

Newtonian aerodynamic model. More...

List of all members.

Classes

struct  newtonian_aero_s
 Structure for storing the model for each surface.

Public Member Functions

 aero_newtonian (void)
 Constructor.
void initialize (char *filename)
 Initialize with a filename.
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 &center_of_mass, double rho, const ml_matrix &angle)
 Update the values of torque and force.

Detailed Description

Newtonian aerodynamic model. This uses 4 matrices per surface. The organization of the data file is m Number of models [ x;y;z ] Rotation axis of model [ x;y;z ] Location of model with respect to the refernce [ v ] nx3 points [ f ] mx3 faces If the rotation axis is [0;0;0] then the model is assumed not to rotate relative to the core body.


Member Function Documentation

void aero_newtonian::initialize ( char *  filename )

Initialize the model from an ASCII text data file.

void aero_newtonian::update ( const ml_matrix &  u,
const ml_matrix &  center_of_mass,
double  rho,
const ml_matrix &  angle 
)

Compute the force and torque.

Parameters:
uVelocity vector in the ECI frame
center_of_massCenter of mass
rhoAtmospheric density
angleActuator angles