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

Calculates a simple buoyancy force based on the volume of the body and the density of the fluid around the object. More...

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

Public Member Functions

AerodynamicLoad GetAerodynamicLoad (AeroObject ao)
 Calculate the buoyant force acting on the object. More...
 
void UpdateDimensionValues (AeroObject ao)
 Calculate and store any values which only depend on the object's dimensions. 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...
 

Detailed Description

Calculates a simple buoyancy force based on the volume of the body and the density of the fluid around the object.

Uses the volume of an ellipsoid or a cuboid depending on the reference area for the object.

Member Function Documentation

◆ GetAerodynamicLoad()

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

Calculate the buoyant force acting on the object.

Assuming that the object is fully submerged in the relevant fluid.

Implements AerodynamicObjects.Aerodynamics.IAerodynamicModel.

◆ UpdateDimensionValues()

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

Calculate and store any values which only depend on the object's dimensions.

This reduces overhead for objects whose dimensions don't change often.

Parameters
aoThe aero object we are using for calculations.

Implements AerodynamicObjects.Aerodynamics.IAerodynamicModel.


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