101 const fv::rotorDiskSource&
rotor_;
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 a number of values (eg...
virtual void read(const dictionary &dict)
Read.
Base class for trim models for handling blade characteristics and thrust-torque relations.
const word name_
Name of model.
Applies cell-based momentum sources on velocity (i.e. U) within a specified cylindrical region to app...
dictionary coeffs_
Coefficients dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::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].
virtual void correct(const vectorField &U, vectorField &force)=0
Correct the model.
virtual ~trimModel()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
trimModel(const fv::rotorDiskSource &rotor, const dictionary &dict, const word &name)
Construct from components.
const fv::rotorDiskSource & rotor_
Reference to the rotor source model.