101#ifndef functionObjects_wallShearStress_H
102#define functionObjects_wallShearStress_H
113namespace functionObjects
122 public fvMeshFunctionObject,
166 void operator=(
const wallShearStress&) =
delete;
182 virtual bool write();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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 a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Computes the wall-shear stress at selected wall patches.
virtual ~wallShearStress()=default
Destructor.
void operator=(const wallShearStress &)=delete
No copy assignment.
virtual void writeFileHeader(Ostream &os) const
File header information.
labelHashSet patchSet_
Optional list of patches to process.
wallShearStress(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
virtual bool execute()
Calculate the wall shear-stress.
void calcShearStress(const volSymmTensorField &Reff, volVectorField &shearStress)
Calculate the shear-stress.
virtual bool write()
Write the wall shear-stress.
wallShearStress(const wallShearStress &)=delete
No copy construct.
TypeName("wallShearStress")
Runtime type information.
virtual bool read(const dictionary &)
Read the wallShearStress data.
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.