Loading...
Searching...
No Matches
SRFWallVelocityFvPatchVectorField Class Reference

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

#include <SRFWallVelocityFvPatchVectorField.H>

Inheritance diagram for SRFWallVelocityFvPatchVectorField:
Collaboration diagram for SRFWallVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("SRFWallVelocity")
 Runtime type information.
 SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given SRFWallVelocityFvPatchVectorField.
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &)
 Construct as copy.
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< vector > > clone () const
 Return a clone.
virtual tmp< fvPatchField< vector > > clone (const DimensionedField< vector, volMesh > &iF) const
 Clone with an internal field reference.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchVectorField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

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]

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

Construct from patch and internal field.

Definition at line 29 of file SRFWallVelocityFvPatchVectorField.C.

References p.

Referenced by SRFWallVelocityFvPatchVectorField(), SRFWallVelocityFvPatchVectorField(), SRFWallVelocityFvPatchVectorField(), and TypeName().

Here is the caller graph for this function:

◆ SRFWallVelocityFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 51 of file SRFWallVelocityFvPatchVectorField.C.

References dict, and p.

◆ SRFWallVelocityFvPatchVectorField() [3/5]

SRFWallVelocityFvPatchVectorField ( const SRFWallVelocityFvPatchVectorField & ptf,
const fvPatch & p,
const DimensionedField< vector, volMesh > & iF,
const fvPatchFieldMapper & mapper )

Construct by mapping given SRFWallVelocityFvPatchVectorField.

onto a new patch

Definition at line 39 of file SRFWallVelocityFvPatchVectorField.C.

References p, and SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ SRFWallVelocityFvPatchVectorField() [4/5]

SRFWallVelocityFvPatchVectorField ( const SRFWallVelocityFvPatchVectorField & srfvpvf)

Construct as copy.

Definition at line 62 of file SRFWallVelocityFvPatchVectorField.C.

References SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ SRFWallVelocityFvPatchVectorField() [5/5]

SRFWallVelocityFvPatchVectorField ( const SRFWallVelocityFvPatchVectorField & srfvpvf,
const DimensionedField< vector, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 71 of file SRFWallVelocityFvPatchVectorField.C.

References SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "SRFWallVelocity" )

Runtime type information.

References SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< vector > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 156 of file SRFWallVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 164 of file SRFWallVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const fvPatchFieldMapper & m)
virtual

Map (and resize as needed) from self given a mapping object.

Definition at line 83 of file SRFWallVelocityFvPatchVectorField.C.

References Field< vector >::autoMap().

Here is the call graph for this function:

◆ rmap()

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

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 92 of file SRFWallVelocityFvPatchVectorField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 102 of file SRFWallVelocityFvPatchVectorField.C.

References n, Field< vector >::operator=(), and SRFModel::velocity().

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 125 of file SRFWallVelocityFvPatchVectorField.C.

References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

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