Class ExplicitWallModelFvPatchScalarField

Inheritance Relationships

Base Type

Class Documentation

class ExplicitWallModelFvPatchScalarField : public wallModelFvPatchScalarField

Class for the wall models based on a an explicit expression for the wall stress.

Needs an explicit expression of the wall to be defined, which we refer to as the “law” in similarity with algebraic models.

Usage

    patchName
    {
        type                ExplicitWallModel;
        value               uniform 0;

        Law
        {
            type            ExpressionType;
            otherParams     value;
        }
    }

Contributors/Copyright: 2024-2026 Timofey Mukha

Source files

Public Functions

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

Construct from patch and internal field.

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

Construct from patch, internal field and dictionary.

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

Construct by mapping given.

ExplicitWallModelFvPatchScalarField onto a new patch

ExplicitWallModelFvPatchScalarField(const ExplicitWallModelFvPatchScalarField&)

Construct as copy.

inline virtual tmp<fvPatchScalarField> clone() const

Construct and return a clone.

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

Construct as copy setting internal field reference.

inline virtual tmp<fvPatchScalarField> clone(const DimensionedField<scalar, volMesh> &iF) const

Construct and return a clone 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 to stream.

Protected Functions

virtual void writeLocalEntries(Ostream&) const

Write root finder and ExplicitLOTW properties to stream.

virtual tmp<scalarField> calcNut() const

Calculate the turbulence viscosity.

virtual tmp<scalarField> calcUTau(const scalarField &magGradU) const

Calculate the friction velocity.

Protected Attributes

autoPtr<ExplicitLawOfTheWall> law_

Pointer to the ExplicitLOTW to be used.

autoPtr<SingleCellSampler> sampler_

The sampler.