static autoPtr< trimModel > New(const fv::rotorDiskSource &rotor, const dictionary &dict)
Return a reference to the selected trim model.
TypeName("trimModel")
Run-time type information.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~trimModel()
Destructor.
virtual void read(const dictionary &dict)
Read.
const word name_
Name of model.
Cell based momentum source which approximates the mean effects of rotor forces on a cylindrical regio...
dictionary coeffs_
Coefficients dictionary.
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, trimModel, dictionary,(const fv::rotorDiskSource &rotor, const dictionary &dict),(rotor, dict))
virtual tmp< scalarField > thetag() const =0
Return the geometric angle of attack [rad].
word name(const complex &)
Return a string representation of a complex.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
virtual void correct(const vectorField &U, vectorField &force) const =0
Correct the model.
trimModel(const fv::rotorDiskSource &rotor, const dictionary &dict, const word &name)
Construct from components.
const fv::rotorDiskSource & rotor_
Reference to the rotor source model.