87 #ifndef profileModel_H 88 #define profileModel_H 110 const dictionary
dict_;
140 const word& modelName
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
fileName fName_
File name (optional)
A class for handling words, derived from Foam::string.
virtual ~profileModel()=default
Destructor.
Base class for profile models for handling aerofoil lift and drag polar diagrams. ...
const word name_
Name of profile model.
TypeName("profileModel")
Runtime type information.
profileModel(const dictionary &dict, const word &modelName)
Constructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
bool readFromFile() const
Return true if file name is set.
const dictionary dict_
Coefficients dictionary.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
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))