Profile model where polar lift and drag coefficients are computed as sum of trigonometric series by using an input angle of attack. More...
Public Member Functions | |
TypeName ("series") | |
Runtime type information. More... | |
seriesProfile (const dictionary &dict, const word &modelName) | |
Constructor from dictionary and model name. More... | |
seriesProfile (const seriesProfile &)=delete | |
No copy construct. More... | |
void | operator= (const seriesProfile &)=delete |
No copy assignment. More... | |
~seriesProfile ()=default | |
Destructor. More... | |
virtual void | Cdl (const scalar alpha, scalar &Cd, scalar &Cl) const |
Return the Cd and Cl for a given angle-of-attack. More... | |
Public Member Functions inherited from profileModel | |
TypeName ("profileModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, profileModel, dictionary,(const dictionary &dict, const word &modelName),(dict, modelName)) | |
profileModel (const dictionary &dict, const word &modelName) | |
Constructor. More... | |
virtual | ~profileModel ()=default |
Destructor. More... | |
const word & | name () const |
Return const access to the source name. More... | |
Protected Member Functions | |
scalar | evaluateDrag (const scalar &xIn, const List< scalar > &values) const |
Drag. More... | |
scalar | evaluateLift (const scalar &xIn, const List< scalar > &values) const |
Lift. More... | |
Protected Member Functions inherited from profileModel | |
bool | readFromFile () const |
Return true if file name is set. More... | |
Protected Attributes | |
List< scalar > | CdCoeffs_ |
List of drag coefficient values. More... | |
List< scalar > | ClCoeffs_ |
List of lift coefficient values. More... | |
Protected Attributes inherited from profileModel | |
const dictionary | dict_ |
Coefficients dictionary. More... | |
const word | name_ |
Name of profile model. More... | |
fileName | fName_ |
File name (optional) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from profileModel | |
static autoPtr< profileModel > | New (const dictionary &dict) |
Return a reference to the selected fvOption model. More... | |
Profile model where polar lift and drag coefficients are computed as sum of trigonometric series by using an input angle of attack.
where
= | Drag coefficient | |
= | Lift coefficient | |
= | Angle of attack [deg] |
constant/fvOptions
: rotorDiskSource1 { Mandatory/Optional (inherited) entries ...Mandatory entries (runtime modifiable) profiles { Mandatory entries (runtime modifiable) <profile1> { Mandatory entries (runtime modifiable) type series; CdCoeffs (coeff1 coeff2 ... coeffN); ClCoeffs (coeff1 coeff2 ... coeffN); }
Mandatory/Optional (inherited) entries ... } }
where the entries mean:
Property | Description | Type | Reqd | Dflt |
---|---|---|---|---|
CdCoeffs | List of drag coefficients | scalarList | yes | - |
ClCoeffs | List of lift coefficients | scalarList | yes | - |
Definition at line 133 of file seriesProfile.H.
seriesProfile | ( | const dictionary & | dict, |
const word & | modelName | ||
) |
Constructor from dictionary and model name.
Definition at line 76 of file seriesProfile.C.
References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
|
delete |
No copy construct.
|
default |
Destructor.
|
protected |
Drag.
Definition at line 38 of file seriesProfile.C.
References Foam::cos(), forAll, and Foam::HashTableOps::values().
Referenced by seriesProfile::Cdl().
|
protected |
Lift.
Definition at line 55 of file seriesProfile.C.
References forAll, Foam::sin(), and Foam::HashTableOps::values().
Referenced by seriesProfile::Cdl().
TypeName | ( | "series" | ) |
Runtime type information.
|
delete |
No copy assignment.
|
virtual |
Return the Cd and Cl for a given angle-of-attack.
Implements profileModel.
Definition at line 114 of file seriesProfile.C.
References Foam::constant::atomic::alpha, seriesProfile::CdCoeffs_, seriesProfile::ClCoeffs_, seriesProfile::evaluateDrag(), and seriesProfile::evaluateLift().
|
protected |
List of drag coefficient values.
Definition at line 144 of file seriesProfile.H.
Referenced by seriesProfile::Cdl().
|
protected |
List of lift coefficient values.
Definition at line 149 of file seriesProfile.H.
Referenced by seriesProfile::Cdl().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.