Go to the documentation of this file.
51 result += values[i]*
cos(i*xIn);
70 result += values[i]*
sin(i*xIn);
92 is >> CdCoeffs_ >> ClCoeffs_;
96 dict.lookup(
"CdCoeffs") >> CdCoeffs_;
97 dict.lookup(
"ClCoeffs") >> ClCoeffs_;
101 if (CdCoeffs_.empty())
106 if (ClCoeffs_.empty())
scalar evaluateDrag(const scalar &xIn, const List< scalar > &values) const
Drag.
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
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.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
scalar evaluateLift(const scalar &xIn, const List< scalar > &values) const
Lift.
seriesProfile(const dictionary &dict, const word &modelName)
Constructor.
defineTypeNameAndDebug(combustionModel, 0)
List< scalar > ClCoeffs_
List of lift coefficient values.
Base class for profile models.
dimensionedScalar cos(const dimensionedScalar &ds)