FreeFOAM The Cross-Platform CFD Toolkit
nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField Class Reference

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

#include <incompressibleRASModels/nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H>


Detailed Description

Wall function boundary condition for rough walls.

Source files

Definition at line 53 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

+ Inheritance diagram for nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField:
+ Collaboration diagram for nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField:

List of all members.

Public Member Functions

 TypeName ("nutSpalartAllmarasStandardRoughWallFunction")
 Runtime type information.
 nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &)
 Construct as copy.
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone.
 nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &, 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.
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 nutWallFunctionFvPatchScalarField
 TypeName ("nutWallFunction")
 Runtime type information.
 nutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 nutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &)
 Construct as copy.
 nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.

Additional Inherited Members

- Protected Member Functions inherited from nutWallFunctionFvPatchScalarField
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 inherited from nutWallFunctionFvPatchScalarField
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, internal field and dictionary.

Definition at line 234 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.


Member Function Documentation

TypeName ( "nutSpalartAllmarasStandardRoughWallFunction"  )

Runtime type information.

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

Return the roughness height.

Definition at line 161 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

scalar& roughnessHeight ( )
inline

Return reference to the roughness height to allow adjustment.

Definition at line 167 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

const scalar& roughnessConstant ( ) const
inline

Return the roughness constant scale.

Definition at line 174 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

scalar& roughnessConstant ( )
inline

Return reference to the roughness constant to allow adjustment.

Definition at line 180 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

const scalar& roughnessFudgeFactor ( ) const
inline

Return the roughness scale factor.

Definition at line 186 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

scalar& roughnessFudgeFactor ( )
inline

Return reference to the roughness scale factor to allow.

adjustment

Definition at line 193 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.

tmp< scalarField > yPlus ( ) const
virtual

Calculate and return the yPlus at the boundary.

Reimplemented from nutWallFunctionFvPatchScalarField.

Definition at line 277 of file nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.

References Foam::mag(), and RASModel().

void write ( Ostream os) const
virtual

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