52 thetag_(rotor.set().nCells(), 0.0)
70 scalar theta0 =
degToRad(coeffs_.lookup<scalar>(
"theta0"));
71 scalar theta1c =
degToRad(coeffs_.lookup<scalar>(
"theta1c"));
72 scalar theta1s =
degToRad(coeffs_.lookup<scalar>(
"theta1s"));
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.
fixedTrim(const fv::rotorDiskSource &rotor, const dictionary &dict)
Constructor.
virtual void correct(const vectorField &U, vectorField &force) const
Correct the model.
virtual ~fixedTrim()
Destructor.
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
dimensionedScalar sin(const dimensionedScalar &ds)
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar cos(const dimensionedScalar &ds)
scalar degToRad(const scalar deg)
Conversion from degrees to radians.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Unit conversion functions.