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