216#ifndef atmBoundaryLayer_H
217#define atmBoundaryLayer_H
232class atmBoundaryLayer
266 const polyPatch& patch_;
269 autoPtr<Function1<vector>> flowDir_;
272 autoPtr<Function1<vector>> zDir_;
275 autoPtr<Function1<scalar>> Uref_;
278 autoPtr<Function1<scalar>> Zref_;
281 autoPtr<PatchFunction1<scalar>> z0_;
284 autoPtr<PatchFunction1<scalar>> d_;
299 const dictionary&
dict
305 const atmBoundaryLayer& abl,
306 const fvPatch& patch,
307 const fvPatchFieldMapper& mapper
331 void autoMap(
const fvPatchFieldMapper&);
353 void write(Ostream&)
const;
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.
Base class to set log-law type ground-normal inlet boundary conditions for wind velocity and turbulen...
void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
void rmap(const atmBoundaryLayer &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
tmp< scalarField > Ustar(const scalarField &z0) const
Return friction velocity.
atmBoundaryLayer(const Time &time, const polyPatch &pp)
Construct null from time.
tmp< scalarField > omega(const vectorField &pCf) const
Return the specific dissipation rate distribution for the ATM.
vector flowDir() const
Return flow direction.
vector zDir() const
Return the ground-normal direction.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< vector > vectorField
Specialisation of Field<T> for vector.