public class CustomAerodynamicProperties extends Object
AeroGlobalProperty
or an
AeroSphereProperty
depending on the constructor used.Modifier and Type | Class and Description |
---|---|
static class |
CustomAerodynamicProperties.CoeffFunctionTypes
Enum of available ways to define aerodynamic coefficients.
|
Constructor and Description |
---|
CustomAerodynamicProperties(CustomSphere sphere,
double dragCoef)
Creates a new instance for a spherical shape and drag constant value (lift is zero).
|
CustomAerodynamicProperties(CustomSphere sphere,
org.orekit.parameter.IParamDiffFunction dragCoef,
org.orekit.parameter.IParamDiffFunction liftCoef)
Creates a new instance for a spherical shape and drag and lift functions.
|
CustomAerodynamicProperties(CustomVehicleSurfaceModel vehicleSurface,
double dragCoef,
double liftCoef)
Creates a new instance for a generic vehicle shape and drag and lift constant values.
|
Modifier and Type | Method and Description |
---|---|
double |
getConstantDragCoef()
Get the drag coefficient.
|
double |
getConstantLiftCoef()
Get the lift coefficient.
|
org.orekit.parameter.IParamDiffFunction |
getDragCoef()
Get the drag coefficient.
|
CustomAerodynamicProperties.CoeffFunctionTypes |
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. |
org.orekit.parameter.IParamDiffFunction |
getLiftCoef()
Get the lift coefficient.
|
CustomVehicleSurfaceModel |
getVehicleSurfaceModel()
Get the surface.
|
void |
setAerodynamicProperties(fr.cnes.sirius.patrius.assembly.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 CustomAerodynamicProperties(CustomSphere sphere, org.orekit.parameter.IParamDiffFunction dragCoef, org.orekit.parameter.IParamDiffFunction liftCoef)
sphere
- the spherical vehicle shapedragCoef
- drag coefficient given as a function of the spacecraftstateliftCoef
- lift coefficient given as a function of the spacecraftstatepublic CustomAerodynamicProperties(CustomVehicleSurfaceModel vehicleSurface, double dragCoef, double liftCoef)
vehicleSurface
- the vehicle surface modeldragCoef
- constant drag coefficientliftCoef
- constant lift coefficientpublic CustomAerodynamicProperties(CustomSphere sphere, double dragCoef)
sphere
- the spherical vehicle shapedragCoef
- constant drag coefficientpublic void setAerodynamicProperties(fr.cnes.sirius.patrius.assembly.AssemblyBuilder builder, String mainPartName, double multiplicativeFactor)
builder
- assembly buildermainPartName
- main part namemultiplicativeFactor
- the multiplicative factor (applied to the reference surface)public CustomAerodynamicProperties.CoeffFunctionTypes getFunctionType()
CustomAerodynamicProperties.CoeffFunctionTypes
enumeration)public org.orekit.parameter.IParamDiffFunction getDragCoef()
public double getConstantLiftCoef() throws NonWidgetException
NonWidgetException
- if the lift coefficient is not constant (use getLiftCoef()
instead)public org.orekit.parameter.IParamDiffFunction getLiftCoef()
public CustomVehicleSurfaceModel getVehicleSurfaceModel()
public double getConstantDragCoef() throws NonWidgetException
NonWidgetException
- if the drag coefficient is not constant (use getDragCoef()
instead)Copyright © 2017. All rights reserved.