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