public class AeroGlobalProperty extends Parameterizable implements IPartProperty
DragLiftModel
model for drag and lift computation.Modifier and Type | Field and Description |
---|---|
static String |
C_X
Default drag force coefficient parameter name.
|
static String |
C_Z
Default lift coefficient parameter name.
|
Constructor and Description |
---|
AeroGlobalProperty(double dragCoef,
double liftCoef,
CrossSectionProvider shape)
This constructor shall be used for defining the aero coefficients as constants.
|
AeroGlobalProperty(IParamDiffFunction dragCoef,
IParamDiffFunction liftCoef,
CrossSectionProvider shape)
This constructor shall be used for defining the aero coefficients as ParamDiffFunction.
|
Modifier and Type | Method and Description |
---|---|
double |
getCrossSection(Vector3D velocityPartFrame)
Compute the cross section of main shape using the relative velocity in the
part (having the aero property) frame as the direction to provider to the
CrossSectionProvider.getCrossSection(Vector3D) . |
IParamDiffFunction |
getDragCoef()
Get the drag coefficient.
|
IParamDiffFunction |
getLiftCoef()
Get the lift coefficient.
|
PropertyType |
getType()
Get the type of the property.
|
addParameter, getParameters, supportsParameter
public static final String C_X
public static final String C_Z
public AeroGlobalProperty(double dragCoef, double liftCoef, CrossSectionProvider shape)
dragCoef
- constant drag coefficientliftCoef
- constant lift coefficientshape
- main shapepublic AeroGlobalProperty(IParamDiffFunction dragCoef, IParamDiffFunction liftCoef, CrossSectionProvider shape)
dragCoef
- function drag coefficientliftCoef
- function lift coefficientshape
- main shapepublic double getCrossSection(Vector3D velocityPartFrame)
CrossSectionProvider.getCrossSection(Vector3D)
.velocityPartFrame
- the spacecraft velocity relative to the atmosphere in part framepublic IParamDiffFunction getDragCoef()
public IParamDiffFunction getLiftCoef()
public PropertyType getType()
getType
in interface IPartProperty
Copyright © 2019 CNES. All rights reserved.