Go to the documentation of this file.
48 const fvMesh&
mesh = refCast<const fvMesh>(obr);
74 bool & foundField)
const
84 return rho(obr)*tModel.devReff();
91 return tModel.devRhoReff();
118 const fvMesh&
mesh = refCast<const fvMesh>(obr);
140 bool foundField =
true;
145 tdevRhoReff().boundaryField();
149 tmagSf().boundaryField();
161 if (isA<wallFvPatch>(currPatch))
167 writeStatistics(wssp, currPatch.
name(), FIELD_NAME);
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
const dimensionSet dimDensity
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
word rhoName_
Name of density field (optional)
const Time & time() const
Return time.
virtual void write()
Calculate the wallShearStress and write.
static const word propertiesName
Default name of the turbulence properties dictionary.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
const word & name() const
Return name.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
Registry of regIOobjects.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Pre-declare SubField and related Field type.
Basis for writers used in derivedFields e.g., wallShearStressWriter.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual void write(const objectRegistry &obr)
Write derived field.
scalar rhoRef_
Reference density needed for incompressible calculations.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Write wallShearStress field.
Generic dimensioned Type class.
const surfaceVectorField & Sf() const
Return cell face area vectors.
Mesh data needed to do the Finite Volume discretisation.
wallShearStressWriter(const dictionary &dict)
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
bool foundObject(const word &name) const
Is the named Type found?
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< volSymmTensorField > devRhoReff(const objectRegistry &obr, bool &foundField) const
Return the effective viscous stress (laminar + turbulent).
static const word FIELD_NAME
Field file name.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
static const GeometricField< Type, PatchField, GeoMesh > & null()
Return a null geometric field.
Generic GeometricField class.
tmp< Foam::volScalarField > rho(const objectRegistry &obr) const
Return rho field if it exists or rhoRef_ for incompressible rho.
defineTypeNameAndDebug(combustionModel, 0)
Abstract base class for turbulence models (RAS, LES and laminar).
Abstract base class for turbulence models (RAS, LES and laminar).
This function object evaluates and outputs the shear stress at wall patches. The result is written as...