35namespace extrudeModels
50 RTbyg_(coeffDict_.get<scalar>(
"RTbyg")),
51 pRef_(coeffDict_.get<scalar>(
"pRef")),
52 pStrat_(coeffDict_.get<scalar>(
"pStrat"))
57 <<
"Ignoring expansionRatio setting." <<
endl;
66 const point& surfacePoint,
67 const vector& surfaceNormal,
72 scalar rs =
mag(surfacePoint);
73 vector rsHat = surfacePoint/rs;
75 scalar
p = pRef_ - layer*(pRef_ - pStrat_)/nLayers_;
76 scalar r = rs - RTbyg_*
log(
p/pRef_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Top level extrusion model class.
scalar expansionRatio() const
Return the expansion ratio.
Extrudes into sphere with grading according to pressure (atmospherics)
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define WarningInFunction
Report a warning using Foam::Warning.
dimensionedScalar log(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)