Class KnownWallShearStressWallModelFvPatchScalarField

Inheritance Relationships

Base Type

Class Documentation

class KnownWallShearStressWallModelFvPatchScalarField : public wallModelFvPatchScalarField

Wall model that uses the values of the magnitude of the mean wall shear stress known a priori, for example, from a RANS precursor or an analytical solution.

Requires field tauWall with the values of the magnitude of the mean wall shear stress to be present. The model converts that prescribed stress into the wall eddy viscosity needed to realize the same stress with the current wall-normal velocity gradient.

Usage

    patchName
    {
        type                KnownWallShearStressWallModel;
        value               uniform 0;
        interpolationType   value; (default cell)
        sampler             value; (default Tree)
        lengthScale         value; (default CubeRootVol)
        hIsIndex            value; (default false)
    }

Contributors/Copyright: 2016-2026 Timofey Mukha 2017 Saleh Rezaeiravesh

Source files

Public Functions

KnownWallShearStressWallModelFvPatchScalarField(const fvPatch&, const DimensionedField<scalar, volMesh>&)

Construct from patch and internal field.

KnownWallShearStressWallModelFvPatchScalarField(const fvPatch&, const DimensionedField<scalar, volMesh>&, const dictionary&)

Construct from patch, internal field and dictionary.

KnownWallShearStressWallModelFvPatchScalarField(const KnownWallShearStressWallModelFvPatchScalarField&, const fvPatch&, const DimensionedField<scalar, volMesh>&, const fvPatchFieldMapper&)

Construct by mapping given KnownWallShearStressWallModelFvPatchScalarField.

onto a new patch

KnownWallShearStressWallModelFvPatchScalarField(const KnownWallShearStressWallModelFvPatchScalarField&)

Construct as copy.

KnownWallShearStressWallModelFvPatchScalarField(const KnownWallShearStressWallModelFvPatchScalarField&, const DimensionedField<scalar, volMesh>&)

Construct as copy setting internal field reference.

inline SingleCellSampler &sampler()
inline const SingleCellSampler &sampler() const
virtual void updateCoeffs()

Update the boundary values.

virtual void write(Ostream &os) const

Write.

Protected Functions

virtual void writeLocalEntries(Ostream&) const

Write model properties to stream.

virtual tmp<scalarField> calcNut() const

Calculate the turbulence viscosity at the wall.

Protected Attributes

autoPtr<SingleCellSampler> sampler_

The sampler, for the wallGradU.