movingWallVelocityFvPatchVectorField Class Reference

This boundary condition provides a no-slip velocity condition for ridged moving walls or flexible moving walls on which the mesh vertices move with the surface. More...

Inheritance diagram for movingWallVelocityFvPatchVectorField:
Collaboration diagram for movingWallVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("movingWallVelocity")
 Runtime type information. More...
 
 movingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given movingWallVelocityFvPatchVectorField. More...
 
 movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, 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 no-slip velocity condition for ridged moving walls or flexible moving walls on which the mesh vertices move with the surface.

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

Definition at line 63 of file movingWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ movingWallVelocityFvPatchVectorField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 34 of file movingWallVelocityFvPatchVectorField.C.

Referenced by movingWallVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ movingWallVelocityFvPatchVectorField() [2/4]

Construct by mapping given movingWallVelocityFvPatchVectorField.

onto a new patch

Definition at line 46 of file movingWallVelocityFvPatchVectorField.C.

◆ movingWallVelocityFvPatchVectorField() [3/4]

Disallow copy without setting internal field reference.

◆ movingWallVelocityFvPatchVectorField() [4/4]

Copy constructor setting internal field reference.

Definition at line 59 of file movingWallVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "movingWallVelocity"  )

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 108 of file movingWallVelocityFvPatchVectorField.H.

References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 72 of file movingWallVelocityFvPatchVectorField.C.

References polyMesh::boundaryMesh(), TimeState::deltaTValue(), polyPatch::faceCentres(), forAll, polyBoundaryMesh::mesh(), Foam::fvc::meshPhi(), polyMesh::moving(), n, polyMesh::oldPoints(), Field< vector >::operator=(), p, fvMesh::time(), and U.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 114 of file movingWallVelocityFvPatchVectorField.C.

References 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: