public class AerodynamicProperties extends Object
AeroGlobalProperty
or
an AeroSphereProperty
depending on the constructor used.Constructor and Description |
---|
AerodynamicProperties(Sphere sphere,
AerodynamicCoefficient dragCoefIn,
AerodynamicCoefficient liftCoefIn)
Constructor.
|
AerodynamicProperties(Sphere sphere,
double dragCoefIn)
Constructor.
|
AerodynamicProperties(VehicleSurfaceModel vehicleSurface,
double dragCoefIn,
double liftCoefIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getConstantDragCoef()
Get the drag coefficient.
|
double |
getConstantLiftCoef()
Get the lift coefficient.
|
AerodynamicCoefficient |
getDragCoef()
Get the drag coefficient.
|
AerodynamicCoefficientType |
getFunctionType()
Get the type of the aerodynamic coefficients functions among:
- Coefficients as a function of altitude, - Coefficients as a function of angle of attack - Coefficients as a function of Mach number - Coefficients as a function of Mach number and angle of attack. |
AerodynamicCoefficient |
getLiftCoef()
Get the lift coefficient.
|
VehicleSurfaceModel |
getVehicleSurfaceModel()
Get the surface model.
|
void |
setAerodynamicProperties(AssemblyBuilder builder,
String mainPartName,
double multiplicativeFactor)
Set aerodynamic property to a part (it modifies vehicle surface model as a function of the
multplicative factor).
|
String |
toString() |
public AerodynamicProperties(Sphere sphere, AerodynamicCoefficient dragCoefIn, AerodynamicCoefficient liftCoefIn) throws PatriusException
sphere
- the spherical vehicle shapedragCoefIn
- drag coefficient given as a function of the spacecraftstateliftCoefIn
- lift coefficient given as a function of the spacecraftstatePatriusException
- thrown if sphere is nullpublic AerodynamicProperties(VehicleSurfaceModel vehicleSurface, double dragCoefIn, double liftCoefIn) throws PatriusException
vehicleSurface
- the vehicle surface modeldragCoefIn
- constant drag coefficientliftCoefIn
- constant lift coefficientPatriusException
- thrown if the vehicle surface model is nullpublic AerodynamicProperties(Sphere sphere, double dragCoefIn) throws PatriusException
sphere
- the spherical vehicle shapedragCoefIn
- constant drag coefficientPatriusException
- thrown if sphere is nullpublic void setAerodynamicProperties(AssemblyBuilder builder, String mainPartName, double multiplicativeFactor)
builder
- assembly buildermainPartName
- main part namemultiplicativeFactor
- the multiplicative factor (applied to the reference surface)public AerodynamicCoefficientType getFunctionType() throws PatriusException
AerodynamicCoefficientType
enumeration)PatriusException
- thrown if drag and lift coefficients are not of the same typepublic AerodynamicCoefficient getDragCoef()
public AerodynamicCoefficient getLiftCoef()
public VehicleSurfaceModel getVehicleSurfaceModel()
public double getConstantDragCoef() throws PatriusException
PatriusException
- if the drag coefficient is not constant (use getDragCoef()
instead)public double getConstantLiftCoef() throws PatriusException
PatriusException
- if the lift coefficient is not constant (use getLiftCoef()
instead)Copyright © 2018 CNES. All Rights Reserved.