fr.cnes.sirius.patrius.assembly.properties
Class AeroGlobalProperty

java.lang.Object
  extended by org.orekit.parameter.Parameterizable
      extended by fr.cnes.sirius.patrius.assembly.properties.AeroGlobalProperty
All Implemented Interfaces:
IPartProperty, Serializable, IParameterizable

public class AeroGlobalProperty
extends Parameterizable
implements IPartProperty

This class is a cross section property providing the cross section of shapes such as sphere, cylinder or parallelepiped. This cross section is to be used in DragLiftModel model for drag and lift computation.

Since:
3.4
Version:
$Id: AeroGlobalProperty.java 17627 2017-05-22 07:15:27Z bignon $
Author:
rodriguest
See Also:
Serialized Form
Concurrency :
immutable

Field Summary
static String C_X
          Default drag force coefficient parameter name.
static String C_Z
          Default lift coefficient parameter name.
 
Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class org.orekit.parameter.Parameterizable
addParameter, getParameters, supportsParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

C_X

public static final String C_X
Default drag force coefficient parameter name.

See Also:
Constant Field Values

C_Z

public static final String C_Z
Default lift coefficient parameter name.

See Also:
Constant Field Values
Constructor Detail

AeroGlobalProperty

public AeroGlobalProperty(double dragCoef,
                          double liftCoef,
                          CrossSectionProvider shape)
This constructor shall be used for defining the aero coefficients as constants.

Parameters:
dragCoef - constant drag coefficient
liftCoef - constant lift coefficient
shape - main shape

AeroGlobalProperty

public AeroGlobalProperty(IParamDiffFunction dragCoef,
                          IParamDiffFunction liftCoef,
                          CrossSectionProvider shape)
This constructor shall be used for defining the aero coefficients as ParamDiffFunction.

Parameters:
dragCoef - function drag coefficient
liftCoef - function lift coefficient
shape - main shape
Method Detail

getCrossSection

public 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).

Parameters:
velocityPartFrame - the spacecraft velocity relative to the atmosphere in part frame
Returns:
the cross section of the main shape.

getDragCoef

public IParamDiffFunction getDragCoef()
Get the drag coefficient.

Returns:
the drag coefficient

getLiftCoef

public IParamDiffFunction getLiftCoef()
Get the lift coefficient.

Returns:
the lift coefficient

getType

public PropertyType getType()
Description copied from interface: IPartProperty
Get the type of the property.

Specified by:
getType in interface IPartProperty
Returns:
the type of the property (see PropertyType enumeration)


Copyright © 2017 CNES. All Rights Reserved.