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")
 Runtime type information. More...
 
 SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given SRFWallVelocityFvPatchVectorField. More...
 
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, 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 void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object. More...
 
virtual void rmap (const fvPatchVectorField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

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 91 of file SRFWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 35 of file SRFWallVelocityFvPatchVectorField.C.

Referenced by SRFWallVelocityFvPatchVectorField::clone(), and SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().

Here is the caller graph for this function:

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

Construct from patch, internal field and dictionary.

Definition at line 57 of file SRFWallVelocityFvPatchVectorField.C.

References fvPatch::size(), SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField(), and vectorField().

Here is the call graph for this function:

Construct by mapping given SRFWallVelocityFvPatchVectorField.

onto a new patch

Definition at line 45 of file SRFWallVelocityFvPatchVectorField.C.

References SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Construct as copy.

Definition at line 70 of file SRFWallVelocityFvPatchVectorField.C.

References SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Construct as copy setting internal field reference.

Definition at line 79 of file SRFWallVelocityFvPatchVectorField.C.

References SRFWallVelocityFvPatchVectorField::autoMap().

Here is the call graph for this function:

Member Function Documentation

TypeName ( "SRFWallVelocity"  )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 136 of file SRFWallVelocityFvPatchVectorField.H.

References SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

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

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

Definition at line 91 of file SRFWallVelocityFvPatchVectorField.C.

References SRFWallVelocityFvPatchVectorField::rmap().

Referenced by SRFWallVelocityFvPatchVectorField::clone(), and SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 100 of file SRFWallVelocityFvPatchVectorField.C.

Referenced by SRFWallVelocityFvPatchVectorField::autoMap(), and SRFWallVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 109 of file SRFWallVelocityFvPatchVectorField.C.

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

Referenced by SRFWallVelocityFvPatchVectorField::clone().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream os) const
virtual

Write.

Definition at line 132 of file SRFWallVelocityFvPatchVectorField.C.

References Foam::makePatchTypeField(), and fvPatchField< Type >::write().

Referenced by SRFWallVelocityFvPatchVectorField::clone().

Here is the call graph for this function:

Here is the caller graph for this function:


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