fixedTrim Class Reference

Trim model where the operating characteristics of rotor (e.g. blade pitch angle) are fixed, hence the possibility of varying thrust and torque. More...

Inheritance diagram for fixedTrim:
[legend]
Collaboration diagram for fixedTrim:
[legend]

Public Member Functions

 TypeName ("fixedTrim")
 Run-time type information. More...
 
 fixedTrim (const fv::rotorDiskSource &rotor, const dictionary &dict)
 Constructor from rotor and dictionary. More...
 
 fixedTrim (const fixedTrim &)=delete
 No copy construct. More...
 
void operator= (const fixedTrim &)=delete
 No copy assignment. More...
 
virtual ~fixedTrim ()=default
 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)
 Correct the model. More...
 
virtual void correct (const volScalarField rho, const vectorField &U, vectorField &force)
 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 ()=default
 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

Trim model where the operating characteristics of rotor (e.g. blade pitch angle) are fixed, hence the possibility of varying thrust and torque.

Usage
Minimal example by using constant/fvOptions: rotorDiskSource1 { Mandatory/Optional (inherited) entries ...

Mandatory entries (runtime modifiable) trimModel fixedTrim;

fixedTrimCoeffs { Conditional mandatory entries (runtime modifiable)

when trimModel=fixedTrim theta0 5.0; theta1c 1.0; theta1s 4.0; } }

See also
Source files

Definition at line 79 of file fixedTrim.H.

Constructor & Destructor Documentation

◆ fixedTrim() [1/2]

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

Constructor from rotor and dictionary.

Definition at line 48 of file fixedTrim.C.

References dict, and Foam::read().

Here is the call graph for this function:

◆ fixedTrim() [2/2]

fixedTrim ( const fixedTrim )
delete

No copy construct.

◆ ~fixedTrim()

virtual ~fixedTrim ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedTrim"  )

Run-time type information.

◆ operator=()

void operator= ( const fixedTrim )
delete

No copy assignment.

◆ read()

void read ( const dictionary dict)
virtual

Read.

Reimplemented from trimModel.

Definition at line 62 of file fixedTrim.C.

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

Here is the call graph for this function:

◆ thetag()

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

Return the geometric angle of attack [rad].

Implements trimModel.

Definition at line 79 of file fixedTrim.C.

◆ correct() [1/2]

void correct ( const vectorField U,
vectorField force 
)
virtual

Correct the model.

Implements trimModel.

Definition at line 86 of file fixedTrim.C.

◆ correct() [2/2]

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

Correct the model for compressible flow.

Implements trimModel.

Definition at line 94 of file fixedTrim.C.

Member Data Documentation

◆ thetag_

scalarField thetag_
protected

Geometric angle of attack [rad].

Definition at line 88 of file fixedTrim.H.


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