Trim model base class. More...


Public Member Functions | |
| 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... | |
| virtual void | read (const dictionary &dict) |
| Read. More... | |
| virtual tmp< scalarField > | thetag () const =0 |
| Return the geometric angle of attack [rad]. More... | |
| virtual void | correct (const vectorField &U, vectorField &force)=0 |
| Correct the model. More... | |
| virtual void | correct (const volScalarField rho, const vectorField &U, vectorField &force)=0 |
| Correct the model for compressible flow. More... | |
Static Public Member Functions | |
| static autoPtr< trimModel > | New (const fv::rotorDiskSource &rotor, const dictionary &dict) |
| Return a reference to the selected trim model. More... | |
Protected Attributes | |
| const fv::rotorDiskSource & | rotor_ |
| Reference to the rotor source model. More... | |
| const word | name_ |
| Name of model. More... | |
| dictionary | coeffs_ |
| Coefficients dictionary. More... | |
| trimModel | ( | const fv::rotorDiskSource & | rotor, |
| const dictionary & | dict, | ||
| const word & | name | ||
| ) |
Construct from components.
Definition at line 40 of file trimModel.C.
References Foam::read().

|
virtual |
Destructor.
Definition at line 55 of file trimModel.C.
| TypeName | ( | "trimModel" | ) |
Run-time type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| trimModel | , | ||
| dictionary | , | ||
| (const fv::rotorDiskSource &rotor, const dictionary &dict) | , | ||
| (rotor, dict) | |||
| ) |
|
static |
Return a reference to the selected trim model.
Definition at line 31 of file trimModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), and Foam::nl.

|
virtual |
Read.
Reimplemented in targetCoeffTrim, and fixedTrim.
Definition at line 61 of file trimModel.C.
References dictionary::subDict().
Referenced by fixedTrim::read(), and targetCoeffTrim::read().


|
pure virtual |
Return the geometric angle of attack [rad].
Implemented in targetCoeffTrim, and fixedTrim.
|
pure virtual |
Correct the model.
Implemented in targetCoeffTrim, and fixedTrim.
|
pure virtual |
Correct the model for compressible flow.
Implemented in targetCoeffTrim, and fixedTrim.
|
protected |
Reference to the rotor source model.
Definition at line 58 of file trimModel.H.
|
protected |
Name of model.
Definition at line 61 of file trimModel.H.
|
protected |
Coefficients dictionary.
Definition at line 64 of file trimModel.H.
1.8.11