66 const scalar theta0 =
degToRad(coeffs_.get<scalar>(
"theta0"));
67 const scalar theta1c =
degToRad(coeffs_.get<scalar>(
"theta1c"));
68 const scalar theta1s =
degToRad(coeffs_.get<scalar>(
"theta1s"));
73 scalar
psi =
x[i].y();
74 thetag_[i] = theta0 + theta1c*
cos(
psi) + theta1s*
sin(
psi);
Different types of constants.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void read(const dictionary &dict)
Read.
Unit conversion functions.
Base class for trim models for handling blade characteristics and thrust-torque relations.
virtual void correct(const vectorField &U, vectorField &force)
Correct the model.
Macros for easy insertion into run-time selection tables.
bool read(const char *buf, int32_t &val)
Same as readInt32.
#define forAll(list, i)
Loop across all elements in list.
Applies cell-based momentum sources on velocity (i.e. U) within a specified cylindrical region to app...
dimensionedScalar cos(const dimensionedScalar &ds)
fixedTrim(const fv::rotorDiskSource &rotor, const dictionary &dict)
Constructor from rotor and dictionary.
dimensionedScalar sin(const dimensionedScalar &ds)
void read(const dictionary &dict)
Read.
virtual tmp< scalarField > thetag() const
Return the geometric angle of attack [rad].
Trim model where the operating characteristics of rotor (e.g. blade pitch angle) are fixed...
defineTypeNameAndDebug(combustionModel, 0)
const volScalarField & psi
A class for managing temporary objects.
constexpr scalar degToRad(const scalar deg) noexcept
Conversion from degrees to radians.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
static constexpr const zero Zero
Global zero (0)