MRFslipFvPatchVectorField Class Reference

Rotating wall-velocity condition to be used for a slip-wall rotating with the moving frame in an MRF (multi-reference frame) or SRF (single reference frame) case. More...

Inheritance diagram for MRFslipFvPatchVectorField:
Collaboration diagram for MRFslipFvPatchVectorField:

Public Member Functions

 TypeName ("MRFslip")
 Runtime type information. More...
 
 MRFslipFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 MRFslipFvPatchVectorField (const MRFslipFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fieldMapper &)
 Construct by mapping given MRFslipFvPatchVectorField. More...
 
 MRFslipFvPatchVectorField (const MRFslipFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 MRFslipFvPatchVectorField (const MRFslipFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Copy constructor 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 updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from MRFPatchField
 MRFPatchField ()
 Construct null. More...
 
 MRFPatchField (const dictionary &)
 Construct from dictionary. More...
 
const MRFZoneMRFzone (const objectRegistry &obr) const
 
void makeAbsolute (fvPatchField< vector > &Up) const
 
void makeRelative (fvPatchField< vector > &Up) const
 
void write (Ostream &) const
 

Detailed Description

Rotating wall-velocity condition to be used for a slip-wall rotating with the moving frame in an MRF (multi-reference frame) or SRF (single reference frame) case.

SRF cases are simply MRF cases with a single MRF zone which covers the entire domain.

Usage
Example of the boundary condition specification for an SRF case or MRF case with a single zone:
<patchName>
{
    type            MRFslip;
}
or if the case has several MRF zones the particular zone this patch is in must be named explicitly, e.g.:
<patchName>
{
    type            MRFslip;
    MRFZoneName     rotor;
}
See also
Foam::MRFPatchField Foam::MRFZone
Source files

Definition at line 77 of file MRFslipFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ MRFslipFvPatchVectorField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 32 of file MRFslipFvPatchVectorField.C.

References dict, DimensionedField< Type, GeoMesh >::dimensions(), fvPatchField< Type >::operator=(), p, and Foam::Zero.

Referenced by MRFslipFvPatchVectorField::clone().

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

◆ MRFslipFvPatchVectorField() [2/4]

MRFslipFvPatchVectorField ( const MRFslipFvPatchVectorField pvf,
const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const fieldMapper mapper 
)

Construct by mapping given MRFslipFvPatchVectorField.

onto a new patch

Definition at line 56 of file MRFslipFvPatchVectorField.C.

◆ MRFslipFvPatchVectorField() [3/4]

Disallow copy without setting internal field reference.

◆ MRFslipFvPatchVectorField() [4/4]

Copy constructor setting internal field reference.

Definition at line 69 of file MRFslipFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "MRFslip"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 123 of file MRFslipFvPatchVectorField.H.

References MRFslipFvPatchVectorField::MRFslipFvPatchVectorField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 82 of file MRFslipFvPatchVectorField.C.

References Foam::I, Foam::fvc::makeAbsolute(), Foam::fvc::makeRelative(), Field< vector >::operator=(), Foam::sqr(), and Foam::transform().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 107 of file MRFslipFvPatchVectorField.C.

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

Here is the call graph for this function:

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