Loading...
Searching...
No Matches
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...

#include <fixedTrim.H>

Inheritance diagram for fixedTrim:
Collaboration diagram for fixedTrim:

Public Member Functions

 TypeName ("fixedTrim")
 Run-time type information.
 fixedTrim (const fv::rotorDiskSource &rotor, const dictionary &dict)
 Constructor from rotor and dictionary.
 fixedTrim (const fixedTrim &)=delete
 No copy construct.
void operator= (const fixedTrim &)=delete
 No copy assignment.
virtual ~fixedTrim ()=default
 Destructor.
void read (const dictionary &dict)
 Read.
virtual tmp< scalarFieldthetag () const
 Return the geometric angle of attack [rad].
virtual void correct (const vectorField &U, vectorField &force)
 Correct the model.
virtual void correct (const volScalarField rho, const vectorField &U, vectorField &force)
 Correct the model for compressible flow.
Public Member Functions inherited from trimModel
 TypeName ("trimModel")
 Run-time type information.
 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.
virtual ~trimModel ()=default
 Destructor.

Protected Attributes

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

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.

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 75 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 40 of file fixedTrim.C.

References cells, dict, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, read(), thetag_, trimModel::trimModel(), and Foam::Zero.

Referenced by fixedTrim(), and operator=().

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

◆ fixedTrim() [2/2]

fixedTrim ( const fixedTrim & )
delete

No copy construct.

References fixedTrim().

Here is the call graph for this function:

◆ ~fixedTrim()

virtual ~fixedTrim ( )
virtualdefault

Destructor.

References dict, rho, and U.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedTrim" )

Run-time type information.

References dict.

◆ operator=()

void operator= ( const fixedTrim & )
delete

No copy assignment.

References fixedTrim().

Here is the call graph for this function:

◆ read()

void read ( const dictionary & dict)
virtual

Read.

Reimplemented from trimModel.

Definition at line 55 of file fixedTrim.C.

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

Referenced by 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 72 of file fixedTrim.C.

References thetag_.

◆ correct() [1/2]

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

Correct the model.

Implements trimModel.

Definition at line 78 of file fixedTrim.C.

References U.

◆ 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 86 of file fixedTrim.C.

References rho, and U.

Member Data Documentation

◆ thetag_

scalarField thetag_
protected

Geometric angle of attack [rad].

Definition at line 86 of file fixedTrim.H.

Referenced by fixedTrim(), read(), and thetag().


The documentation for this class was generated from the following files:
  • src/fvOptions/sources/derived/rotorDiskSource/trimModel/fixed/fixedTrim.H
  • src/fvOptions/sources/derived/rotorDiskSource/trimModel/fixed/fixedTrim.C