89 #ifndef atmOmegaWallFunctionFvPatchScalarField_H 90 #define atmOmegaWallFunctionFvPatchScalarField_H 104 class atmOmegaWallFunctionFvPatchScalarField
106 public omegaWallFunctionFvPatchScalarField
113 autoPtr<PatchFunction1<scalar>>
z0_;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const fvPatch & patch() const noexcept
Return the patch.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
atmOmegaWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
This boundary condition provides a wall constraint on the specific dissipation rate (i...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
scalarField & omega(bool init=false)
Return non-const access to the master's omega field.
void writeLocalEntries(Ostream &) const
Write local wall function variables.
Abstract base class for turbulence models (RAS, LES and laminar).
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
A FieldMapper for finite-volume patch fields.
virtual void calculate(const turbulenceModel &turbulence, const List< scalar > &cornerWeights, const fvPatch &patch, scalarField &G, scalarField &omega)
Calculate the omega and G.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
scalarField & G(bool init=false)
Return non-const access to the master's G field.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
TypeName("atmOmegaWallFunction")
Runtime type information.
virtual ~atmOmegaWallFunctionFvPatchScalarField()=default
Destructor.
autoPtr< PatchFunction1< scalar > > z0_
Surface roughness length field [m].
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.