34 namespace functionObjects
50 bool Foam::functionObjects::Q::calc()
55 const tmp<volTensorField> tgradU(
fvc::grad(
U));
61 0.5*(
sqr(
tr(gradU)) -
tr(((gradU) & (gradU))))
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 outputs the second invariant of the velocity gradient tensor [1/s^2].
Q(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
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.
Calculate the gradient of the given field.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
VolField< vector > volVectorField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const bool)
Return a word representation of a bool.
VolField< tensor > volTensorField