FreeFOAM The Cross-Platform CFD Toolkit
mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField Class Reference

Wall function boundary condition for rough walls. More...

#include <compressibleRASModels/mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H>


Detailed Description

Wall function boundary condition for rough walls.

Source files

Definition at line 53 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

+ Inheritance diagram for mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField:
+ Collaboration diagram for mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField:

List of all members.

Public Member Functions

 TypeName ("mutSpalartAllmarasStandardRoughWallFunction")
 Runtime type information.
 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &)
 Construct as copy.
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone.
 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
const scalar & roughnessHeight () const
 Return the roughness height scale.
scalar & roughnessHeight ()
 Return reference to the roughness height to allow adjustment.
const scalar & roughnessConstant () const
 Return the roughness constant scale.
scalar & roughnessConstant ()
 Return reference to the roughness constant to allow adjustment.
const scalar & roughnessFudgeFactor () const
 Return the roughness scale factor.
scalar & roughnessFudgeFactor ()
 Return reference to the roughness scale factor to allow.
virtual tmp< scalarFieldyPlus () const
 Calculate and return the yPlus at the boundary.
virtual void write (Ostream &os) const
 Write.
- Public Member Functions inherited from mutWallFunctionFvPatchScalarField
 TypeName ("mutWallFunction")
 Runtime type information.
 mutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 mutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 mutWallFunctionFvPatchScalarField (const mutWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 mutWallFunctionFvPatchScalarField (const mutWallFunctionFvPatchScalarField &)
 Construct as copy.
 mutWallFunctionFvPatchScalarField (const mutWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.

Protected Member Functions

virtual tmp< scalarFieldcalcYPlus (const scalarField &magUp) const
 Calculate yPLus.
virtual tmp< scalarFieldcalcMut () const
 Calculate the turbulence viscosity.
- Protected Member Functions inherited from mutWallFunctionFvPatchScalarField
virtual void checkType ()
 Check the type of the patch.
virtual scalar calcYPlusLam (const scalar kappa, const scalar E) const
 Calculate the Y+ at the edge of the laminar sublayer.
virtual void writeLocalEntries (Ostream &) const
 Write local wall function variables.

Protected Attributes

scalar roughnessHeight_
 Height.
scalar roughnessConstant_
 Constant.
scalar roughnessFudgeFactor_
 Scale factor.
- Protected Attributes inherited from mutWallFunctionFvPatchScalarField
scalar Cmu_
 Cmu coefficient.
scalar kappa_
 Von Karman constant.
scalar E_
 E coefficient.
scalar yPlusLam_
 Y+ at the edge of the laminar sublayer.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 210 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.

Construct from patch, internal field and dictionary.

Definition at line 240 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.


Member Function Documentation

TypeName ( "mutSpalartAllmarasStandardRoughWallFunction"  )

Runtime type information.

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

Construct and return a clone setting internal field reference.

Reimplemented from mutWallFunctionFvPatchScalarField.

Definition at line 143 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

scalar& roughnessFudgeFactor ( )
inline
tmp< scalarField > yPlus ( ) const
virtual
void write ( Ostream os) const
virtual

Member Data Documentation

scalar roughnessFudgeFactor_
protected

The documentation for this class was generated from the following files: