Public Member Functions | Protected Attributes | List of all members
fixedTrim Class Reference

Fixed trim coefficients. More...

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

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)
 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 ()
 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 ( const fv::rotorDiskSource rotor,
const dictionary dict 
)

Constructor.

Definition at line 46 of file fixedTrim.C.

References Foam::read().

Here is the call graph for this function:

~fixedTrim ( )
virtual

Destructor.

Definition at line 60 of file fixedTrim.C.

Member Function Documentation

TypeName ( "fixedTrim"  )

Run-time type information.

void read ( const dictionary dict)
virtual

Read.

Reimplemented from trimModel.

Definition at line 66 of file fixedTrim.C.

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

Here is the call graph for this function:

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

Return the geometric angle of attack [rad].

Implements trimModel.

Definition at line 83 of file fixedTrim.C.

References fixedTrim::correct().

Here is the call graph for this function:

void correct ( const vectorField U,
vectorField force 
)
virtual

Correct the model.

Implements trimModel.

Definition at line 90 of file fixedTrim.C.

Referenced by fixedTrim::thetag().

Here is the caller graph for this function:

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

Correct the model for compressible flow.

Implements trimModel.

Definition at line 100 of file fixedTrim.C.

Member Data Documentation

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: