public class AeroCoefXAft extends AeroCoefficients
A container for aerodynamic dimensionless coefficients such as lift coefficient (CL), drag coefficient (CD), etc. Coefficients are stored in this class as body axis coefficients (CN, CA, CYb, etc), but can be retrieved and stored in wind axes (CL,CD,CY, etc). This class may also contain the reference quantities used to non-dimensionalize the coefficients (Sref, cbar, etc).
This class assumes an aircraft coordinate system where X increases (becomes more positive) as you go aft on the vehicle, Z is positive out the top of the vehicle and Y goes out the starboard or right wing (as viewed from the pilot's seat looking forward). The impact of the axis system shows up when changing moment reference center locations.
Modified by: Joseph A. Huwaldt
Constructor and Description |
---|
AeroCoefXAft()
Creates an AeroCoefXAft object with all the coefficients
set to zero and no reference quantities defined.
|
AeroCoefXAft(AeroReference refValues)
Creates an AeroCoefXAft object with all the coefficients
set to zero and the aero reference quantities set to
the given values.
|
AeroCoefXAft(AeroReference refValues,
double CN,
double CA,
double CYb,
double CMb,
double Cnb,
double Clb)
Creates an AeroCoefXAft object with the body axis coefficients
and reference quantities as specified.
|
Modifier and Type | Method and Description |
---|---|
void |
add(AeroCoefficients B)
Add the given aero coefficients to those contained in this
object.
|
void |
add(AeroCoefXAft B)
Add the given aero coefficients to those contained in this
object.
|
void |
changeRef(AeroReference newReference)
Change the reference quantities used by this set of aero
coefficients to those given.
|
static void |
main(java.lang.String[] args)
A simple method to test the methods in this class.
|
void |
subtract(AeroCoefficients B)
Subtract the given aero coefficients from those contained in
this object.
|
void |
subtract(AeroCoefXAft B)
Subtract the given aero coefficients from those contained in
this object.
|
addCA, addClb, addCMb, addCN, addCnb, addCYb, clone, equals, getAOA, getCA, getCD, getCDSA, getCl, getCL, getClb, getClSA, getCLSA, getCM, getCMb, getCMSA, getCn, getCN, getCnb, getCnSA, getCY, getCYb, getCYSA, getRef, getRoll, getSideslip, hashCode, setAngles, setAOA, setBodyAxesForces, setBodyAxesMoments, setCA, setClb, setCMb, setCN, setCnb, setCYb, setRoll, setSideslip, setStabilityAxesForces, setStabilityAxesMoments, setWindAxesForces, setWindAxesMoments
public AeroCoefXAft()
public AeroCoefXAft(AeroReference refValues)
refValues
- Aero reference quantities (ref area, span, etc).public AeroCoefXAft(AeroReference refValues, double CN, double CA, double CYb, double CMb, double Cnb, double Clb)
refValues
- Aero reference quantities (ref area, span, etc).CN
- Body axis normal force coefficient.CA
- Body axis axial force coefficient.CYb
- Body axis side force coefficient.CMb
- Body axis pitching moment coefficient at MRC.Cnb
- Body axis yawing moment coefficient at MRC.Clb
- Body axis rolling moment coefficient at MRC.public void changeRef(AeroReference newReference)
changeRef
in class AeroCoefficients
newReference
- New reference quantities to scale this
object's aero coefficients to.public void add(AeroCoefficients B)
add
in class AeroCoefficients
B
- The aero coefficients to be added to this object's
aero coefficients (this = this + B).java.lang.ClassCastException
- if coefficients to be added (B) do
not use the XAft coordinate system.public void add(AeroCoefXAft B)
B
- The aero coefficients to be added to this object's
aero coefficients (this = this + B).public void subtract(AeroCoefficients B)
subtract
in class AeroCoefficients
B
- The aero coefficients to be subtracted from this
object's aero coefficients (this = this - B).public void subtract(AeroCoefXAft B)
B
- The aero coefficients to be subtracted from this
object's aero coefficients (this = this - B).public static void main(java.lang.String[] args)