73 scalar
psi =
x[i].y();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
Trim model where the operating characteristics of rotor (e.g. blade pitch angle) are fixed,...
virtual tmp< scalarField > thetag() const
Return the geometric angle of attack [rad].
void read(const dictionary &dict)
Read.
virtual void correct(const vectorField &U, vectorField &force)
Correct the model.
fixedTrim(const fv::rotorDiskSource &rotor, const dictionary &dict)
Constructor from rotor and dictionary.
scalarField thetag_
Geometric angle of attack [rad].
Applies cell-based momentum sources on velocity (i.e. U) within a specified cylindrical region to app...
const List< point > & x() const
Return the cell centre positions in local rotor frame.
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.
trimModel(const fv::rotorDiskSource &rotor, const dictionary &dict, const word &name)
Construct from components.
virtual void read(const dictionary &dict)
Read.
dictionary coeffs_
Coefficients dictionary.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const volScalarField & psi
Different types of constants.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar sin(const dimensionedScalar &ds)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
constexpr scalar degToRad() noexcept
Multiplication factor for degrees to radians conversion.
Field< vector > vectorField
Specialisation of Field<T> for vector.
static constexpr const zero Zero
Global zero (0).
dimensionedScalar cos(const dimensionedScalar &ds)
#define forAll(list, i)
Loop across all elements in list.
Unit conversion functions.