34 namespace functionObjects
50 bool Foam::functionObjects::flowType::calc()
52 if (foundObject<volVectorField>(fieldName_))
54 const volVectorField& U = lookupObject<volVectorField>(fieldName_);
55 const tmp<volTensorField> tgradU(
fvc::grad(U));
71 (magD - magOmega)/(magD + magOmega + smallMagD)
76 cannotFindObject<volVectorField>(fieldName_);
virtual ~flowType()
Destructor.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedTensor skew(const dimensionedTensor &dt)
GeometricField< tensor, fvPatchField, volMesh > volTensorField
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Calculate the gradient of the given field.
A class for handling words, derived from string.
defineTypeNameAndDebug(Qdot, 0)
flowType(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensioned< scalar > mag(const dimensioned< Type > &)