|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genopus.nonWidget.vehicle.CustomAerodynamicProperties
public class CustomAerodynamicProperties
This class defines an aerodynamic property to be applyied to aerodynamic parts of a vehicle (PATRIUS
assembly). It has a dual nature, actually it is either an AeroGlobalProperty or an
AeroSphereProperty depending on the constructor used.
| Nested Class Summary | |
|---|---|
static class |
CustomAerodynamicProperties.CoeffFunctionTypes
Enum of available ways to define aerodynamic coefficients. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 spacecraftstate
public CustomAerodynamicProperties(CustomVehicleSurfaceModel vehicleSurface,
double dragCoef,
double liftCoef)
vehicleSurface - the vehicle surface modeldragCoef - constant drag coefficientliftCoef - constant lift coefficient
public CustomAerodynamicProperties(CustomSphere sphere,
double dragCoef)
sphere - the spherical vehicle shapedragCoef - constant drag coefficient| Method Detail |
|---|
public void setAerodynamicProperties(fr.cnes.sirius.patrius.assembly.AssemblyBuilder builder,
String mainPartName,
double multiplicativeFactor)
throws NonWidgetException
builder - assembly buildermainPartName - main part namemultiplicativeFactor - the multiplicative factor (applied to the reference surface)
NonWidgetException - if an error occurs in aerodynamics propertiespublic 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)public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||