34 namespace functionObjects
50 bool Foam::functionObjects::MachNo::calc()
55 && foundObject<fluidThermo>(physicalProperties::typeName)
58 const fluidThermo&
thermo =
59 lookupObject<fluidThermo>(physicalProperties::typeName);
Macros for easy insertion into run-time selection tables.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Calculates and writes the Mach number as a volScalarField.
MachNo(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
virtual ~MachNo()
Destructor.
word resultName_
Name of result field.
const word fieldName_
Name of field to process.
bool store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
VolField< vector > volVectorField
word name(const bool)
Return a word representation of a bool.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
fluidMulticomponentThermo & thermo