Class wallModelFvPatchScalarField
Defined in File wallModelFvPatchScalarField.H
Inheritance Relationships
Base Type
public fixedValueFvPatchScalarField
Derived Types
public ExplicitWallModelFvPatchScalarField(Class ExplicitWallModelFvPatchScalarField)public KnownWallShearStressWallModelFvPatchScalarField(Class KnownWallShearStressWallModelFvPatchScalarField)public LOTWWallModelFvPatchScalarField(Class LOTWWallModelFvPatchScalarField)public MulticellLOTWWallModelFvPatchScalarField(Class MulticellLOTWWallModelFvPatchScalarField)public ODEWallModelFvPatchScalarField(Class ODEWallModelFvPatchScalarField)
Class Documentation
-
class wallModelFvPatchScalarField : public fixedValueFvPatchScalarField
Base abstract class for LES wall models.
Handles creating and storing fields used by the wall models. The following fields are created and stored in the registry.
hSampler or h, the patch fields of which hold the distance to the cells used for sampling. This field is read and must be present for the simulation to run.
uTauPredicted, the patch fields of which hold the value of uTau as predicted by the wall model.
wallShearStress, the patch fields of which hold the value of the wall shear stress.
wallGradU, the patch fields of which store the wall-normal velocity gradient.
Contributors/Copyright: 2018-2026 Timofey Mukha
Subclassed by ExplicitWallModelFvPatchScalarField, KnownWallShearStressWallModelFvPatchScalarField, LOTWWallModelFvPatchScalarField, MulticellLOTWWallModelFvPatchScalarField, ODEWallModelFvPatchScalarField
Public Functions
-
wallModelFvPatchScalarField(const fvPatch&, const DimensionedField<scalar, volMesh>&)
Construct from patch and internal field.
-
wallModelFvPatchScalarField(const fvPatch&, const DimensionedField<scalar, volMesh>&, const dictionary&)
Construct from patch, internal field and dictionary.
-
wallModelFvPatchScalarField(const wallModelFvPatchScalarField&, const fvPatch&, const DimensionedField<scalar, volMesh>&, const fvPatchFieldMapper&)
Construct by mapping given.
wallModelFvPatchScalarField onto a new patch
-
wallModelFvPatchScalarField(const wallModelFvPatchScalarField&)
Construct as copy.
-
wallModelFvPatchScalarField(const wallModelFvPatchScalarField&, const DimensionedField<scalar, volMesh>&)
Construct as copy setting internal field reference.
-
inline scalar averagingTime() const
-
inline scalar consumedTime() const
-
inline bool silent() const
-
inline bool copyToPatchInternalField() const
-
virtual void updateCoeffs()
Update the boundary values.
-
virtual void write(Ostream&) const
Write to stream.
Protected Functions
-
virtual void createFields() const
Create fields and add to registry.
-
virtual void checkType()
Check that the patch is a wall.
-
tmp<volScalarField> nu() const
Return the laminar viscosity.
Note: this is the internal field
-
tmp<scalarField> nu(const label patchi) const
Return laminar viscosity on patchi.
-
virtual tmp<scalarField> calcNut() const = 0
Calculate the turbulence viscosity.
-
virtual void writeLocalEntries(Ostream&) const
Write local wall function variables.
-
void setShearStress(const volSymmTensorField&)
Set the wallShearStress field.
Protected Attributes
-
scalar averagingTime_
Timescale of the averaging.