34 namespace functionObjects
50 bool Foam::functionObjects::MachNo::calc()
54 foundObject<volVectorField>(fieldName_)
58 const fluidThermo& thermo =
61 const volVectorField& U = lookupObject<volVectorField>(fieldName_);
66 mag(U)/
sqrt(thermo.gamma()*thermo.p()/thermo.rho())
virtual ~MachNo()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
dimensionedScalar sqrt(const dimensionedScalar &ds)
GeometricField< vector, fvPatchField, volMesh > volVectorField
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
static const word dictName
Name of the thermophysical properties dictionary.
defineTypeNameAndDebug(Qdot, 0)
MachNo(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
dimensioned< scalar > mag(const dimensioned< Type > &)