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 34 of file movingWallSlipVelocityFvPatchVectorField.C.

References n, p, Foam::sqr(), and Foam::Zero.

Referenced by movingWallSlipVelocityFvPatchVectorField::clone().

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 51 of file movingWallSlipVelocityFvPatchVectorField.C.

References dict, n, fvPatchField< Type >::operator=(), p, Foam::sqr(), 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 71 of file movingWallSlipVelocityFvPatchVectorField.C.

◆ movingWallSlipVelocityFvPatchVectorField() [4/5]

Disallow copy without setting internal field reference.

◆ movingWallSlipVelocityFvPatchVectorField() [5/5]

Copy constructor setting internal field reference.

Definition at line 84 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 111 of file movingWallSlipVelocityFvPatchVectorField.H.

References movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField().

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(), Foam::fvc::meshPhi(), polyMesh::moving(), n, p, Foam::sqr(), U, and Foam::Zero.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 130 of file movingWallSlipVelocityFvPatchVectorField.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: