Public Member Functions | Protected Member Functions | Private Attributes
immersedBoundaryVelocityWallFunctionFvPatchVectorField Class Reference

Boundary condition for velocity when using wall functions. More...

Inheritance diagram for immersedBoundaryVelocityWallFunctionFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for immersedBoundaryVelocityWallFunctionFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("immersedBoundaryVelocityWallFunction")
 Runtime type information. More...
 
 immersedBoundaryVelocityWallFunctionFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 immersedBoundaryVelocityWallFunctionFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 immersedBoundaryVelocityWallFunctionFvPatchVectorField (const immersedBoundaryVelocityWallFunctionFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 immersedBoundaryVelocityWallFunctionFvPatchVectorField (const immersedBoundaryVelocityWallFunctionFvPatchVectorField &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 immersedBoundaryVelocityWallFunctionFvPatchVectorField (const immersedBoundaryVelocityWallFunctionFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual ~immersedBoundaryVelocityWallFunctionFvPatchVectorField ()
 Destructor. More...
 
scalarFieldwallTangentialValue () const
 Access to tangential velocity value to fix in IB cell. More...
 
const vectorFieldwallShearStress () const
 Return wall shear stress. More...
 
vectorFieldtauWall () const
 Access to wall shear stress in IB cell. More...
 
boolListwallMask () const
 Access to indicator on fixed values. Note non-const access. More...
 

Protected Member Functions

virtual void setIbCellValues (const vectorField &) const
 Set IB cell values: contains data manipulation. More...
 

Private Attributes

scalarField wallTangentialValue_
 Tangential velocity value to fix in IB cell. More...
 
vectorField tauWall_
 Wall shear stress. More...
 
boolList wallMask_
 Indicator on values to fix. More...
 

Detailed Description

Boundary condition for velocity when using wall functions.

- uses tangential velocity as prescribed by the epsilon boundary condition to enforce into the fit

Source files

Definition at line 55 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ immersedBoundaryVelocityWallFunctionFvPatchVectorField() [1/5]

Construct from patch and internal field.

Definition at line 118 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

◆ immersedBoundaryVelocityWallFunctionFvPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

Definition at line 132 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

◆ immersedBoundaryVelocityWallFunctionFvPatchVectorField() [3/5]

Construct by mapping given.

immersedBoundaryVelocityWallFunctionFvPatchVectorField onto a new patch

Definition at line 147 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

◆ immersedBoundaryVelocityWallFunctionFvPatchVectorField() [4/5]

Construct as copy.

Definition at line 163 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

◆ immersedBoundaryVelocityWallFunctionFvPatchVectorField() [5/5]

Construct as copy setting internal field reference.

Definition at line 176 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

◆ ~immersedBoundaryVelocityWallFunctionFvPatchVectorField()

Destructor.

Definition at line 156 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.

Member Function Documentation

◆ setIbCellValues()

void setIbCellValues ( const vectorField ibcValues) const
protectedvirtual

Set IB cell values: contains data manipulation.

Definition at line 43 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, Foam::I, internalField(), Foam::mag(), n, Foam::nl, List::size(), and Foam::sqr().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "immersedBoundaryVelocityWallFunction"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 120 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.

◆ clone() [2/2]

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 140 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.

◆ wallTangentialValue()

Foam::scalarField & wallTangentialValue ( ) const

Access to tangential velocity value to fix in IB cell.

Note non-const access

Definition at line 209 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

References fvPatch::boundaryMesh(), fvBoundaryMesh::mesh(), polyMesh::moving(), immersedBoundaryFvPatch::movingIb(), and immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallTangentialValue_.

Here is the call graph for this function:

◆ wallShearStress()

const vectorField & wallShearStress ( ) const

Return wall shear stress.

Definition at line 191 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

References Foam::abort(), dimensionedInternalField(), Foam::FatalError, FatalErrorIn, and immersedBoundaryVelocityWallFunctionFvPatchVectorField::tauWall_.

Referenced by immersedBoundaryForces::calcForcesMoment().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tauWall()

Foam::vectorField & tauWall ( ) const

Access to wall shear stress in IB cell.

Note non-const access

Definition at line 233 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

References fvPatch::boundaryMesh(), fvBoundaryMesh::mesh(), polyMesh::moving(), immersedBoundaryFvPatch::movingIb(), immersedBoundaryVelocityWallFunctionFvPatchVectorField::tauWall_, and Vector< scalar >::zero.

Here is the call graph for this function:

◆ wallMask()

Foam::boolList & wallMask ( ) const

Access to indicator on fixed values. Note non-const access.

Definition at line 257 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.

References fvPatch::boundaryMesh(), fvBoundaryMesh::mesh(), polyMesh::moving(), immersedBoundaryFvPatch::movingIb(), List::setSize(), and immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallMask_.

Here is the call graph for this function:

Field Documentation

◆ wallTangentialValue_

scalarField wallTangentialValue_
mutableprivate

Tangential velocity value to fix in IB cell.

Definition at line 62 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.

Referenced by immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallTangentialValue().

◆ tauWall_

vectorField tauWall_
mutableprivate

◆ wallMask_

boolList wallMask_
mutableprivate

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