157#ifndef functionObjects_ObukhovLength_H
158#define functionObjects_ObukhovLength_H
169namespace functionObjects
178 public fvMeshFunctionObject
226 const dictionary&
dict
233 void operator=(
const ObukhovLength&) =
delete;
246 virtual bool read(
const dictionary&
dict);
252 virtual bool write();
255 virtual void updateMesh(
const mapPolyMesh& mpm);
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.
Computes the Obukhov length field and associated friction velocity field.
scalar rhoRef_
Reference density (to convert from kinematic to static pressure)
scalar kappa_
von Kármán constant [-]
word UName_
Name of velocity field.
virtual ~ObukhovLength()=default
Destructor.
void removeObukhovLength()
Remove (checkOut) the output fields from the object registry.
ObukhovLength(const ObukhovLength &)=delete
No copy construct.
virtual void movePoints(const polyMesh &m)
Update for mesh point-motion.
virtual bool read(const dictionary &dict)
Read the data.
ObukhovLength(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
TypeName("ObukhovLength")
Run-time type information.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
word resultName2_
Name of the output field for Ustar.
void operator=(const ObukhovLength &)=delete
No copy assignment.
const dimensionedVector g_
Gravitational acceleration vector [m/s2].
word resultName1_
Name of the output field for ObukhovLength.
bool calcOL()
Hard-coded Obukhov length field and friction velocity.
virtual bool execute()
Calculate the output fields.
virtual bool write()
Write the output fields.
dimensionedScalar beta_
Thermal expansion coefficient [1/K].
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.