Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.Aerodynamics.DragModel Class Reference

Calculates a translational drag force based on the square of the object's velocity and the planform area. More...

Inheritance diagram for AerodynamicObjects.Aerodynamics.DragModel:
AerodynamicObjects.Aerodynamics.IAerodynamicModel

Classes

class  DragModel2D
 

Public Member Functions

AerodynamicLoad GetAerodynamicLoad (AeroObject ao)
 Calculate the aerodynamic force of drag acting on the object. More...
 
void UpdateDimensionValues (AeroObject ao)
 Calculates and stores the object's dimensions in the appropriate nomenclature, i.e. More...
 
float GetDragCoefficient ()
 Calculate an approximate drag coefficient based on the pressure drag coefficients in each axis. More...
 
AerodynamicLoad GetAerodynamicLoad (AeroObject ao)
 Compute the aerodynamic load acting on the aerodynamic object. More...
 
void UpdateDimensionValues (AeroObject ao)
 Calculate and store any values which only depend on the object's dimensions. More...
 

Public Attributes

Vector3 CDS
 The vector of drag area coefficients for the object. More...
 
float Cf
 
float reynoldsNumber
 
float resolvedDragArea
 
DragModel2D xAxisModel = new DragModel2D()
 
DragModel2D yAxisModel = new DragModel2D()
 
DragModel2D zAxisModel = new DragModel2D()
 
AerodynamicLoad myAerodynamicLoad
 

Static Public Attributes

const float CD_normalFlatPlate = 1.2f
 The drag coefficient of a flat plate when aligned normal to the fluid flow. More...
 
const float CD_roughSphere = 0.5f
 The drag coefficient of a rough sphere. More...
 

Detailed Description

Calculates a translational drag force based on the square of the object's velocity and the planform area.

The drag coefficient for the object is determined according to the ratios of the object's axes, i.e. an object shaped like a flat plate will have a much higher drag coefficient than a spherical object.

Member Function Documentation

◆ GetAerodynamicLoad()

AerodynamicLoad AerodynamicObjects.Aerodynamics.DragModel.GetAerodynamicLoad ( AeroObject  ao)

Calculate the aerodynamic force of drag acting on the object.

This includes pressure and shear drag.

Implements AerodynamicObjects.Aerodynamics.IAerodynamicModel.

◆ GetDragCoefficient()

float AerodynamicObjects.Aerodynamics.DragModel.GetDragCoefficient ( )

Calculate an approximate drag coefficient based on the pressure drag coefficients in each axis.

Resolved using the velocity direction.

Returns
Pressure Drag Coefficient

◆ UpdateDimensionValues()

void AerodynamicObjects.Aerodynamics.DragModel.UpdateDimensionValues ( AeroObject  ao)

Calculates and stores the object's dimensions in the appropriate nomenclature, i.e.

span thickness chord.

Implements AerodynamicObjects.Aerodynamics.IAerodynamicModel.

Member Data Documentation

◆ CD_normalFlatPlate

const float AerodynamicObjects.Aerodynamics.DragModel.CD_normalFlatPlate = 1.2f
static

The drag coefficient of a flat plate when aligned normal to the fluid flow.

Usually set as 1.2 in the literature. (dimensionless)

◆ CD_roughSphere

const float AerodynamicObjects.Aerodynamics.DragModel.CD_roughSphere = 0.5f
static

The drag coefficient of a rough sphere.

Usually set as 0.5 in the literature. (dimensionless)

◆ CDS

Vector3 AerodynamicObjects.Aerodynamics.DragModel.CDS

The vector of drag area coefficients for the object.

(dimensionless)

◆ Cf

float AerodynamicObjects.Aerodynamics.DragModel.Cf

◆ myAerodynamicLoad

AerodynamicLoad AerodynamicObjects.Aerodynamics.DragModel.myAerodynamicLoad
Initial value:
= new AerodynamicLoad()
{
moment = Vector3.zero,
force = Vector3.zero
}
UnityEngine.Vector3 Vector3
Definition: FlowRoundAnAerofoil.cs:3

◆ resolvedDragArea

float AerodynamicObjects.Aerodynamics.DragModel.resolvedDragArea

◆ reynoldsNumber

float AerodynamicObjects.Aerodynamics.DragModel.reynoldsNumber

◆ xAxisModel

DragModel2D AerodynamicObjects.Aerodynamics.DragModel.xAxisModel = new DragModel2D()

◆ yAxisModel

DragModel2D AerodynamicObjects.Aerodynamics.DragModel.yAxisModel = new DragModel2D()

◆ zAxisModel

DragModel2D AerodynamicObjects.Aerodynamics.DragModel.zAxisModel = new DragModel2D()

The documentation for this class was generated from the following file: