52 thetag_(rotor.set().nCells(), 0.0)
70 scalar theta0 = coeffs_.lookup<scalar>(
"theta0",
unitDegrees);
71 scalar theta1c = coeffs_.lookup<scalar>(
"theta1c",
unitDegrees);
72 scalar theta1s = coeffs_.lookup<scalar>(
"theta1s",
unitDegrees);
77 scalar
psi =
x[i].y();
78 thetag_[i] = theta0 + theta1c*
cos(
psi) + theta1s*
sin(
psi);
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
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 any number of values (e....
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) const
Correct the model.
virtual ~fixedTrim()
Destructor.
fixedTrim(const fv::rotorDisk &rotor, const dictionary &dict)
Constructor.
Cell based momentum source which approximates the mean effects of rotor forces on a cylindrical regio...
A class for managing temporary objects.
virtual void read(const dictionary &dict)
Read.
const volScalarField & psi
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
dimensionedScalar sin(const dimensionedScalar &ds)
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar cos(const dimensionedScalar &ds)
const unitConversion unitDegrees