Public Member Functions | List of all members
SRFWallVelocityFvPatchVectorField Class Reference

Wall-velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: FOAM::SRFModel) More...

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

Public Member Functions

 TypeName ("SRFWallVelocity")
 
 SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchVectorField &, const labelList &)
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

Wall-velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: FOAM::SRFModel)

The condition applies the appropriate rotation transformation in time and space to determine the local SRF velocity of the wall.

\[ U_p = - U_{p,srf} \]

where

$ U_p = patch velocity [m/s]$ =
$ U_{p,srf} = SRF velocity$ =

The normal component of $ U_p $ is removed to ensure 0 wall-flux even if the wall patch faces are irregular.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            SRFWallVelocity;
    value           uniform (0 0 0);    // Initial value
}
See also
Foam::SRFModel Foam::SRFVelocityFvPatchVectorField Foam::fixedValueFvPatchField
Source files

Definition at line 89 of file SRFWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ SRFWallVelocityFvPatchVectorField() [1/5]

Definition at line 30 of file SRFWallVelocityFvPatchVectorField.C.

Referenced by SRFWallVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ SRFWallVelocityFvPatchVectorField() [2/5]

SRFWallVelocityFvPatchVectorField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const dictionary dict 
)

Definition at line 52 of file SRFWallVelocityFvPatchVectorField.C.

◆ SRFWallVelocityFvPatchVectorField() [3/5]

Definition at line 40 of file SRFWallVelocityFvPatchVectorField.C.

◆ SRFWallVelocityFvPatchVectorField() [4/5]

Definition at line 63 of file SRFWallVelocityFvPatchVectorField.C.

◆ SRFWallVelocityFvPatchVectorField() [5/5]

Definition at line 72 of file SRFWallVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "SRFWallVelocity"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Definition at line 134 of file SRFWallVelocityFvPatchVectorField.H.

References SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [2/2]

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

Definition at line 151 of file SRFWallVelocityFvPatchVectorField.H.

References SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Definition at line 84 of file SRFWallVelocityFvPatchVectorField.C.

◆ rmap()

void rmap ( const fvPatchVectorField ptf,
const labelList addr 
)
virtual

Definition at line 93 of file SRFWallVelocityFvPatchVectorField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Definition at line 102 of file SRFWallVelocityFvPatchVectorField.C.

References n, Field::operator=(), Foam::foamVersion::patch, and SRFModel::velocity().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Definition at line 125 of file SRFWallVelocityFvPatchVectorField.C.

References os(), and fvPatchField::write().

Here is the call graph for this function:

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