Class PGradODEWallModelFvPatchScalarField

Inheritance Relationships

Base Type

Class Documentation

class PGradODEWallModelFvPatchScalarField : public ODEWallModelFvPatchScalarField

ODE wall model with the source term equal to the wall-parallel pressure gradient sampled at the wall-model height. The source term is projected on the patch plane before solving the ODE.

Usage

    patchName
    {
        type                PGradODEWallModel;
        value               uniform 0;
        maxIter             value; (default 10)
        eps                 value; (default 1e-3)
        interpolationType   value; (default cell)
        sampler             value; (default Tree)
        lengthScale         value; (default CubeRootVol)
        hIsIndex            value; (default false)

        EddyViscosity 
        {
            type            EddyViscosityType;
            otherParams     value;
        }
    }

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

Source files

Public Functions

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

Construct from patch and internal field.

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

Construct from patch, internal field and dictionary.

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

Construct by mapping given.

PGradODEWallModelFvPatchScalarField onto a new patch

PGradODEWallModelFvPatchScalarField(const PGradODEWallModelFvPatchScalarField&)

Construct as copy.

inline virtual tmp<fvPatchScalarField> clone() const

Construct and return a clone.

PGradODEWallModelFvPatchScalarField(const PGradODEWallModelFvPatchScalarField&, 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.

virtual void write(Ostream &os) const

Write.

Protected Functions

virtual void writeLocalEntries(Ostream&) const

Write root finder and PGradODE properties to stream.

virtual void source(vectorField&) const

Compute the source term based on the pressure gradient.