Go to the documentation of this file.
156 #ifndef targetCoeffTrim_H
157 #define targetCoeffTrim_H
172 class targetCoeffTrim
211 template<
class RhoFieldType>
214 const RhoFieldType&
rho,
221 template<
class RhoFieldType>
224 const RhoFieldType&
rho,
240 const fv::rotorDiskSource& rotor,
241 const dictionary&
dict
261 virtual tmp<scalarField>
thetag()
const;
void operator=(const targetCoeffTrim &)=delete
No copy assignment.
label nIter_
Maximum number of iterations in trim routine.
scalar relax_
Under-relaxation coefficient.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void read(const dictionary &dict)
Read.
A class for managing temporary objects.
vector theta_
Pitch angles (collective, roll, pitch) [rad].
void correctTrim(const RhoFieldType &rho, const vectorField &U, vectorField &force)
Correct the model.
vector calcCoeffs(const RhoFieldType &rho, const vectorField &U, const scalarField &alphag, vectorField &force) const
Calculate the rotor force and moment coefficients vector.
label calcFrequency_
Number of iterations between calls to 'correct'.
scalar alpha_
Coefficient to allow for conversion between US and EU definitions.
Field< vector > vectorField
Specialisation of Field<T> for vector.
scalar tol_
Convergence tolerance.
virtual tmp< scalarField > thetag() const
Return the geometric angle of attack [rad].
Applies cell-based momentum sources on velocity (i.e. U) within a specified cylindrical region to app...
scalar dTheta_
Perturbation angle used to determine jacobian.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool useCoeffs_
Flag to indicate whether to solve coeffs (true) or forces (false)
Vector< scalar > vector
A scalar version of the templated Vector.
Base class for trim models for handling blade characteristics and thrust-torque relations.
vector target_
Target coefficient vector (thrust force, roll moment, pitch moment)
Trim model where the operating characteristics of rotor (e.g. blade pitch angle) can vary to reach a ...
TypeName("targetCoeffTrim")
Run-time type information.
targetCoeffTrim(const fv::rotorDiskSource &rotor, const dictionary &dict)
Constructor from rotor and dictionary.
virtual void correct(const vectorField &U, vectorField &force)
Correct the model.
virtual ~targetCoeffTrim()=default
Destructor.