Class MulticellLOTWWallModelFvPatchScalarField
Inheritance Relationships
Base Type
public wallModelFvPatchScalarField(Class wallModelFvPatchScalarField)
Class Documentation
-
class MulticellLOTWWallModelFvPatchScalarField : public wallModelFvPatchScalarField
Class for the wall models based on a law of the wall, sampling data from multiple cells. Currently hardcoded to use the integrated Reichardt law.
Needs a root finder to be defined. Unlike the single-cell law-of-the-wall models, this model fits the integrated law to a wall-normal profile sampled from several cells for each boundary face.
Usage
patchName { type MulticellLOTWWallModel; value uniform 0; interpolationType value; (default cell) sampler value; (default Tree) lengthScale value; (default CubeRootVol) hIsIndex value; (default false) excludeWallAdjacent value; (default false) RootFinder { type RootFinderType; otherParams value; } }
Contributors/Copyright: 2016-2026 Timofey Mukha 2017 Saleh Rezaeiravesh
Public Functions
-
MulticellLOTWWallModelFvPatchScalarField(const fvPatch&, const DimensionedField<scalar, volMesh>&)
Construct from patch and internal field.
-
MulticellLOTWWallModelFvPatchScalarField(const fvPatch&, const DimensionedField<scalar, volMesh>&, const dictionary&)
Construct from patch, internal field and dictionary.
-
MulticellLOTWWallModelFvPatchScalarField(const MulticellLOTWWallModelFvPatchScalarField&, const fvPatch&, const DimensionedField<scalar, volMesh>&, const fvPatchFieldMapper&)
Construct by mapping given.
MulticellLOTWWallModelFvPatchScalarField onto a new patch
-
MulticellLOTWWallModelFvPatchScalarField(const MulticellLOTWWallModelFvPatchScalarField&)
Construct as copy.
-
inline virtual tmp<fvPatchScalarField> clone() const
Construct and return a clone.
-
MulticellLOTWWallModelFvPatchScalarField(const MulticellLOTWWallModelFvPatchScalarField&, 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 MultiCellSampler &sampler()
-
inline const MultiCellSampler &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 MulticellLOTW 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<IntegratedReichardtLawOfTheWall> law_
Pointer to the MulticellLOTW to be used.
-
autoPtr<MultiCellSampler> sampler_
The sampler.
-
MulticellLOTWWallModelFvPatchScalarField(const fvPatch&, const DimensionedField<scalar, volMesh>&)