35 #ifndef profileModel_H 36 #define profileModel_H
A class for handling file names.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const word & name() const
Return const access to the source name.
virtual void Cdl(const scalar alpha, scalar &Cd, scalar &Cl) const =0
Return the Cd and Cl for a given angle-of-attack.
virtual ~profileModel()
Destructor.
fileName fName_
File name (optional)
A class for handling words, derived from string.
Base class for profile models.
const word name_
Name of profile model.
TypeName("profileModel")
Runtime type information.
profileModel(const dictionary &dict, const word &modelName)
Constructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
bool readFromFile() const
Return true if file name is set.
const dictionary dict_
Coefficients dictionary.
static autoPtr< profileModel > New(const dictionary &dict)
Return a reference to the selected fvOption model.
declareRunTimeSelectionTable(autoPtr, profileModel, dictionary,(const dictionary &dict, const word &modelName),(dict, modelName))