Go to the documentation of this file.
95 is >> CdCoeffs_ >> ClCoeffs_;
99 dict.readEntry(
"CdCoeffs", CdCoeffs_);
100 dict.readEntry(
"ClCoeffs", ClCoeffs_);
104 if (CdCoeffs_.empty())
107 <<
"CdCoeffs must be specified"
110 if (ClCoeffs_.empty())
113 <<
"ClCoeffs must be specified"
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
scalar evaluateDrag(const scalar &xIn, const List< scalar > &values) const
Drag.
A class for handling words, derived from Foam::string.
Input from file stream, using an ISstream.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
dimensionedScalar sin(const dimensionedScalar &ds)
virtual void Cdl(const scalar alpha, scalar &Cd, scalar &Cl) const
Return the Cd and Cl for a given angle-of-attack.
List< scalar > CdCoeffs_
List of drag coefficient values.
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
scalar evaluateLift(const scalar &xIn, const List< scalar > &values) const
Lift.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
seriesProfile(const dictionary &dict, const word &modelName)
Constructor from dictionary and model name.
defineTypeNameAndDebug(combustionModel, 0)
List< scalar > ClCoeffs_
List of lift coefficient values.
Base class for profile models for handling aerofoil lift and drag polar diagrams.
dimensionedScalar cos(const dimensionedScalar &ds)