Base class for profile models for handling aerofoil lift and drag polar diagrams. More...
Public Member Functions | |
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 |
virtual void | Cdl (const scalar alpha, scalar &Cd, scalar &Cl) const =0 |
Static Public Member Functions | |
static autoPtr< profileModel > | New (const dictionary &dict) |
Protected Member Functions | |
bool | readFromFile () const |
Protected Attributes | |
const dictionary | dict_ |
const word | name_ |
fileName | fName_ |
Base class for profile models for handling aerofoil lift and drag polar diagrams.
constant/fvOptions
: rotorDiskSource1 { Mandatory/Optional (inherited) entries ...Mandatory entries (runtime modifiable) profiles { Mandatory entries (runtime modifiable) <profile1> { type <profileModel>;
Mandatory/Optional (inherited) entries ... } ... <profileN> { ... }
Optional entries (runtime modifiable) file <fileName>; } }
where the entries mean:
Property | Description | Type | Reqd | Dflt |
---|---|---|---|---|
type | Profile model - see below | word | yes | - |
file | Name of file containing profile characteristics | word | no | - |
Options for the type
entry:
lookup | Polar data is linearly interpolated based on angle of attack series | Polar data is computed as sum of cosine series
Definition at line 116 of file profileModel.H.
profileModel | ( | const dictionary & | dict, |
const word & | modelName | ||
) |
Definition at line 44 of file profileModel.C.
|
virtualdefault |
|
protected |
Definition at line 36 of file profileModel.C.
References profileModel::fName_.
TypeName | ( | "profileModel" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
profileModel | , | ||
dictionary | , | ||
(const dictionary &dict, const word &modelName) | , | ||
(dict, modelName) | |||
) |
|
static |
Definition at line 61 of file profileModel.C.
References dict, dictionary::dictName(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::get(), and Foam::Info.
const Foam::word & name | ( | ) | const |
Definition at line 54 of file profileModel.C.
Referenced by profileModelList::connectBlades().
|
pure virtual |
Implemented in seriesProfile, and lookupProfile.
|
protected |
Definition at line 123 of file profileModel.H.
|
protected |
Definition at line 126 of file profileModel.H.
|
protected |
Definition at line 129 of file profileModel.H.
Referenced by profileModel::readFromFile().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.