Go to the documentation of this file.
72 #ifndef targetCoeffTrim_H
73 #define targetCoeffTrim_H
128 template<
class RhoFieldType>
131 const RhoFieldType&
rho,
138 template<
class RhoFieldType>
141 const RhoFieldType&
rho,
label nIter_
Maximum number of iterations in trim routine.
scalar relax_
Under-relaxation coefficient.
void read(const dictionary &dict)
Read.
A class for managing temporary objects.
virtual ~targetCoeffTrim()
Destructor.
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.
scalar tol_
Convergence tolerance.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
virtual tmp< scalarField > thetag() const
Return the geometric angle of attack [rad].
scalar dTheta_
Perturbation angle used to determine jacobian.
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool useCoeffs_
Flag to indicate whether to solve coeffs (true) or forces (false)
vector target_
Target coefficient vector (thrust force, roll moment, pitch moment)
Target trim forces/coefficients.
TypeName("targetCoeffTrim")
Run-time type information.
targetCoeffTrim(const fv::rotorDiskSource &rotor, const dictionary &dict)
Constructor.
Generic GeometricField class.
virtual void correct(const vectorField &U, vectorField &force)
Correct the model.