101 const fv::rotorDiskSource&
rotor_;
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Applies cell-based momentum sources on velocity (i.e. U) within a specified cylindrical region to app...
A class for managing temporary objects.
Base class for trim models for handling blade characteristics and thrust-torque relations.
const fv::rotorDiskSource & rotor_
Reference to the rotor source model.
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 void read(const dictionary &dict)
Read.
declareRunTimeSelectionTable(autoPtr, trimModel, dictionary,(const fv::rotorDiskSource &rotor, const dictionary &dict),(rotor, dict))
virtual void correct(const volScalarField rho, const vectorField &U, vectorField &force)=0
Correct the model for compressible flow.
dictionary coeffs_
Coefficients dictionary.
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.
virtual ~trimModel()=default
Destructor.
const word name_
Name of model.
A class for handling words, derived from Foam::string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.