movingWallSlipVelocityFvPatchVectorField Class Reference

This boundary condition provides a slip velocity condition for cases with moving walls. More...

Inheritance diagram for movingWallSlipVelocityFvPatchVectorField:
Collaboration diagram for movingWallSlipVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("movingWallSlipVelocity")
 Runtime type information. More...
 
 movingWallSlipVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 movingWallSlipVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 movingWallSlipVelocityFvPatchVectorField (const movingWallSlipVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given movingWallSlipVelocityFvPatchVectorField. More...
 
 movingWallSlipVelocityFvPatchVectorField (const movingWallSlipVelocityFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 movingWallSlipVelocityFvPatchVectorField (const movingWallSlipVelocityFvPatchVectorField &, 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...
 

Detailed Description

This boundary condition provides a slip velocity condition for cases with moving walls.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            movingWallSlipVelocity;
    value           uniform (0 0 0);    // Initial value
}
Source files

Definition at line 59 of file movingWallSlipVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ movingWallSlipVelocityFvPatchVectorField() [1/5]

Construct from patch and internal field.

Definition at line 36 of file movingWallSlipVelocityFvPatchVectorField.C.

References n, fvPatch::nf(), Foam::sqr(), and Foam::Zero.

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

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

◆ movingWallSlipVelocityFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 53 of file movingWallSlipVelocityFvPatchVectorField.C.

References movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField(), n, fvPatch::nf(), fvPatch::size(), Foam::sqr(), vectorField(), and Foam::Zero.

Here is the call graph for this function:

◆ movingWallSlipVelocityFvPatchVectorField() [3/5]

Construct by mapping given movingWallSlipVelocityFvPatchVectorField.

onto a new patch

Definition at line 73 of file movingWallSlipVelocityFvPatchVectorField.C.

References movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ movingWallSlipVelocityFvPatchVectorField() [4/5]

Disallow copy without setting internal field reference.

◆ movingWallSlipVelocityFvPatchVectorField() [5/5]

Copy constructor setting internal field reference.

Definition at line 86 of file movingWallSlipVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "movingWallSlipVelocity"  )

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 112 of file movingWallSlipVelocityFvPatchVectorField.H.

References movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField(), movingWallSlipVelocityFvPatchVectorField::updateCoeffs(), and movingWallSlipVelocityFvPatchVectorField::write().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 97 of file movingWallSlipVelocityFvPatchVectorField.C.

References Foam::evaluate(), fvPatch::index(), fvPatch::magSf(), mesh, Foam::fvc::meshPhi(), polyMesh::moving(), n, fvPatch::nf(), Foam::sqr(), U, and Foam::Zero.

Referenced by movingWallSlipVelocityFvPatchVectorField::clone().

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

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 130 of file movingWallSlipVelocityFvPatchVectorField.C.

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

Referenced by movingWallSlipVelocityFvPatchVectorField::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: