fixedTrim Class Reference

Fixed trim coefficients. More...

Inheritance diagram for fixedTrim:
Collaboration diagram for fixedTrim:

Public Member Functions

 TypeName ("fixedTrim")
 Run-time type information. More...
 
 fixedTrim (const fv::rotorDiskSource &rotor, const dictionary &dict)
 Constructor. More...
 
virtual ~fixedTrim ()
 Destructor. More...
 
void read (const dictionary &dict)
 Read. More...
 
virtual tmp< scalarFieldthetag () const
 Return the geometric angle of attack [rad]. More...
 
virtual void correct (const vectorField &U, vectorField &force) const
 Correct the model. More...
 
virtual void correct (const volScalarField rho, const vectorField &U, vectorField &force) const
 Correct the model for compressible flow. More...
 
- Public Member Functions inherited from trimModel
 TypeName ("trimModel")
 Run-time type information. More...
 
 declareRunTimeSelectionTable (autoPtr, trimModel, dictionary,(const fv::rotorDiskSource &rotor, const dictionary &dict),(rotor, dict))
 
 trimModel (const fv::rotorDiskSource &rotor, const dictionary &dict, const word &name)
 Construct from components. More...
 
virtual ~trimModel ()
 Destructor. More...
 

Protected Attributes

scalarField thetag_
 Geometric angle of attack [rad]. More...
 
- Protected Attributes inherited from trimModel
const fv::rotorDiskSourcerotor_
 Reference to the rotor source model. More...
 
const word name_
 Name of model. More...
 
dictionary coeffs_
 Coefficients dictionary. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from trimModel
static autoPtr< trimModelNew (const fv::rotorDiskSource &rotor, const dictionary &dict)
 Return a reference to the selected trim model. More...
 

Detailed Description

Fixed trim coefficients.

Source files

Definition at line 48 of file fixedTrim.H.

Constructor & Destructor Documentation

◆ fixedTrim()

fixedTrim ( const fv::rotorDiskSource rotor,
const dictionary dict 
)

Constructor.

Definition at line 45 of file fixedTrim.C.

References dict, and fixedTrim::read().

Here is the call graph for this function:

◆ ~fixedTrim()

~fixedTrim ( )
virtual

Destructor.

Definition at line 60 of file fixedTrim.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedTrim"  )

Run-time type information.

◆ read()

void read ( const dictionary dict)
virtual

Read.

Reimplemented from trimModel.

Definition at line 66 of file fixedTrim.C.

References Foam::cos(), Foam::degToRad(), dict, forAll, psi, trimModel::read(), Foam::sin(), and x.

Referenced by fixedTrim::fixedTrim().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ thetag()

Foam::tmp< Foam::scalarField > thetag ( ) const
virtual

Return the geometric angle of attack [rad].

Implements trimModel.

Definition at line 83 of file fixedTrim.C.

◆ correct() [1/2]

void correct ( const vectorField U,
vectorField force 
) const
virtual

Correct the model.

Implements trimModel.

Definition at line 89 of file fixedTrim.C.

◆ correct() [2/2]

void correct ( const volScalarField  rho,
const vectorField U,
vectorField force 
) const
virtual

Correct the model for compressible flow.

Implements trimModel.

Definition at line 97 of file fixedTrim.C.

Member Data Documentation

◆ thetag_

scalarField thetag_
protected

Geometric angle of attack [rad].

Definition at line 58 of file fixedTrim.H.


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