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") | |
seriesProfile (const dictionary &dict, const word &modelName) | |
seriesProfile (const seriesProfile &)=delete | |
void | operator= (const seriesProfile &)=delete |
~seriesProfile ()=default | |
virtual void | Cdl (const scalar alpha, scalar &Cd, scalar &Cl) const |
![]() | |
TypeName ("profileModel") | |
declareRunTimeSelectionTable (autoPtr, profileModel, dictionary,(const dictionary &dict, const word &modelName),(dict, modelName)) | |
profileModel (const dictionary &dict, const word &modelName) | |
virtual | ~profileModel ()=default |
const word & | name () const |
Protected Member Functions | |
scalar | evaluateDrag (const scalar &xIn, const List< scalar > &values) const |
scalar | evaluateLift (const scalar &xIn, const List< scalar > &values) const |
![]() | |
bool | readFromFile () const |
Protected Attributes | |
List< scalar > | CdCoeffs_ |
List< scalar > | ClCoeffs_ |
![]() | |
const dictionary | dict_ |
const word | name_ |
fileName | fName_ |
Additional Inherited Members | |
![]() | |
static autoPtr< profileModel > | New (const dictionary &dict) |
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 | ||
) |
Definition at line 76 of file seriesProfile.C.
References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
|
delete |
|
default |
|
protected |
Definition at line 38 of file seriesProfile.C.
References Foam::cos(), forAll, and Foam::HashTableOps::values().
Referenced by seriesProfile::Cdl().
|
protected |
Definition at line 55 of file seriesProfile.C.
References forAll, Foam::sin(), and Foam::HashTableOps::values().
Referenced by seriesProfile::Cdl().
TypeName | ( | "series" | ) |
|
delete |
|
virtual |
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 |
Definition at line 142 of file seriesProfile.H.
Referenced by seriesProfile::Cdl().
|
protected |
Definition at line 145 of file seriesProfile.H.
Referenced by seriesProfile::Cdl().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.