Class LOTWWallModelFvPatchScalarField

Inheritance Relationships

Base Type

Class Documentation

class LOTWWallModelFvPatchScalarField : public wallModelFvPatchScalarField

Class for the wall models based on a law of the wall.

Needs a root finder and a law of the wall to be defined.

Usage

    patchName
    {
        type                LOTWWallModel;
        value               uniform 0;
        RootFinder
        {
            type            RootFinderType;
            otherParams     value;
        }

        Law
        {
            type            LawOfTheWallType;
            otherParams     value;
        }
    }

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

Source files

Public Functions

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

Construct from patch and internal field.

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

Construct from patch, internal field and dictionary.

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

Construct by mapping given.

LOTWWallModelFvPatchScalarField onto a new patch

LOTWWallModelFvPatchScalarField(const LOTWWallModelFvPatchScalarField&)

Construct as copy.

inline virtual tmp<fvPatchScalarField> clone() const

Construct and return a clone.

LOTWWallModelFvPatchScalarField(const LOTWWallModelFvPatchScalarField&, 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 LOTW 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<RootFinder> rootFinder_

Pointer to the root finder.

autoPtr<LawOfTheWall> law_

Pointer to the LOTW to be used.

autoPtr<SingleCellSampler> sampler_

The sampler.