35 namespace functionObjects
51 bool Foam::functionObjects::ubAverage::calc()
55 const solvers::XiFluid& XiFluid
60 const ubRhoThermo& ubThermo = XiFluid.thermo;
74 foundObject<volScalarField>(fuName)
75 && foundObject<volScalarField>(fbName)
84 ubThermo.alphau()*fu + ubThermo.alphab()*fb
Macros for easy insertion into run-time selection tables.
static word groupName(Name name, const word &group)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base-class for Time/database functionObjects.
word resultName_
Name of result field.
const word fieldName_
Name of field to process.
ObjectType & store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.
Calculates and writes the unburnt, burnt gas phase average of a field.
ubAverage(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
virtual wordList fields() const
Return the unburnt and burnt gas fields required.
virtual ~ubAverage()
Destructor.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
static const word burntPhaseName
static const word unburntPhaseName
A class for handling words, derived from string.
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
addToRunTimeSelectionTable(functionObject, fvModel, dictionary)
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
VolField< scalar > volScalarField
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.