Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.Demos.FlowRoundAnAerofoil Class Reference
Inheritance diagram for AerodynamicObjects.Demos.FlowRoundAnAerofoil:
AerodynamicObjects.FlowPrimitive

Public Member Functions

void Start ()
 
override Vector3 VelocityFunction (Vector3 position)
 Override this function to change the way the velocity of the fluid is calculated. More...
 
- Public Member Functions inherited from AerodynamicObjects.FlowPrimitive
void GetInteractionID ()
 Obtains a unique interaction ID for the object. More...
 
virtual void Awake ()
 
virtual void OnEnable ()
 
virtual void OnDestroy ()
 
virtual void OnDisable ()
 
void AddSelfToScene ()
 
void AcquireFluidVolume (FluidVolume fluidVolume)
 
void RemoveFromScene ()
 
Vector3 VelocityFunction (Vector3 position, int flowAffectedID)
 Wrapper function which first checks if the interaction should happen. More...
 
virtual Vector3 VelocityFunction (Vector3 position)
 Override this function to change the way the velocity of the fluid is calculated. More...
 
bool IsInteractionIgnored (int flowAffectedID)
 
void IgnoreInteraction (int flowAffectedID)
 
void IgnoreInteraction (FlowAffected flowAffected)
 
void AddSelfToGlobalFluid ()
 
void RemoveSelfFromGlobalFluid ()
 

Public Attributes

float Vinf
 
float Lambda
 
float alpha
 
float rotation
 
float R
 
float Zscale
 
Vector3 center
 
Transform circle
 
int pointCount
 
LineRenderer zlineRenderer
 
LineRenderer wlineRenderer
 
float coreRadius
 
FlowSensor sensor
 
- Public Attributes inherited from AerodynamicObjects.FlowPrimitive
float strengthScale = 1f
 This value is used to scale the flow primitive behaviour. More...
 
int interactionID = 0
 The unique ID number for this flow primitive, used for identifying pairs of ignored interactions by the FlowInteractionManager. More...
 

Member Function Documentation

◆ Start()

void AerodynamicObjects.Demos.FlowRoundAnAerofoil.Start ( )

◆ VelocityFunction()

override Vector3 AerodynamicObjects.Demos.FlowRoundAnAerofoil.VelocityFunction ( Vector3  position)
virtual

Override this function to change the way the velocity of the fluid is calculated.

Parameters
positionPosition of the object in the global (earth) frame of reference.
Returns
The velocity of the fluid at the given position in the global (earth) frame.

Reimplemented from AerodynamicObjects.FlowPrimitive.

Member Data Documentation

◆ alpha

float AerodynamicObjects.Demos.FlowRoundAnAerofoil.alpha

◆ center

Vector3 AerodynamicObjects.Demos.FlowRoundAnAerofoil.center

◆ circle

Transform AerodynamicObjects.Demos.FlowRoundAnAerofoil.circle

◆ coreRadius

float AerodynamicObjects.Demos.FlowRoundAnAerofoil.coreRadius

◆ Lambda

float AerodynamicObjects.Demos.FlowRoundAnAerofoil.Lambda

◆ pointCount

int AerodynamicObjects.Demos.FlowRoundAnAerofoil.pointCount

◆ R

float AerodynamicObjects.Demos.FlowRoundAnAerofoil.R

◆ rotation

float AerodynamicObjects.Demos.FlowRoundAnAerofoil.rotation

◆ sensor

FlowSensor AerodynamicObjects.Demos.FlowRoundAnAerofoil.sensor

◆ Vinf

float AerodynamicObjects.Demos.FlowRoundAnAerofoil.Vinf

◆ wlineRenderer

LineRenderer AerodynamicObjects.Demos.FlowRoundAnAerofoil.wlineRenderer

◆ zlineRenderer

LineRenderer AerodynamicObjects.Demos.FlowRoundAnAerofoil.zlineRenderer

◆ Zscale

float AerodynamicObjects.Demos.FlowRoundAnAerofoil.Zscale

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