157 #ifndef functionObjects_ObukhovLength_H 158 #define functionObjects_ObukhovLength_H 169 namespace functionObjects
178 public fvMeshFunctionObject
226 const dictionary&
dict 246 virtual bool read(
const dictionary&
dict);
252 virtual bool write();
255 virtual void updateMesh(
const mapPolyMesh& mpm);
const dimensionedVector g_
Gravitational acceleration vector [m/s2].
virtual bool read(const dictionary &dict)
Read the data.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual ~ObukhovLength()=default
Destructor.
scalar rhoRef_
Reference density (to convert from kinematic to static pressure)
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
word resultName2_
Name of the output field for Ustar.
void removeObukhovLength()
Remove (checkOut) the output fields from the object registry.
const word & name() const noexcept
Return the name of this functionObject.
virtual void movePoints(const polyMesh &m)
Update for mesh point-motion.
scalar kappa_
von Kármán constant [-]
TypeName("ObukhovLength")
Run-time type information.
word UName_
Name of velocity field.
virtual bool write()
Write the output fields.
void operator=(const ObukhovLength &)=delete
No copy assignment.
dimensionedScalar beta_
Thermal expansion coefficient [1/K].
ObukhovLength(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual bool execute()
Calculate the output fields.
word resultName1_
Name of the output field for ObukhovLength.
bool calcOL()
Hard-coded Obukhov length field and friction velocity.