translatingWallVelocityFvPatchVectorField Class Reference

This boundary condition provides a velocity condition for translational motion on walls. More...

Inheritance diagram for translatingWallVelocityFvPatchVectorField:
Collaboration diagram for translatingWallVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("translatingWallVelocity")
 Runtime type information. More...
 
 translatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given a. More...
 
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, 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 velocity condition for translational motion on walls.

Usage
Property Description Required Default value
U translational velocity yes

Example of the boundary condition specification:

    <patchName>
    {
        type            translatingWallVelocity;
        U               (100 0 0);
    }

The U entry is a Function1 of time, see Foam::Function1s.

See also
Foam::fixedValueFvPatchField Foam::Function1s
Source files

Definition at line 82 of file translatingWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ translatingWallVelocityFvPatchVectorField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 32 of file translatingWallVelocityFvPatchVectorField.C.

References translatingWallVelocityFvPatchVectorField::updateCoeffs().

Referenced by translatingWallVelocityFvPatchVectorField::clone().

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

◆ translatingWallVelocityFvPatchVectorField() [2/4]

Construct by mapping given a.

translatingWallVelocityFvPatchVectorField onto a new patch

Definition at line 48 of file translatingWallVelocityFvPatchVectorField.C.

◆ translatingWallVelocityFvPatchVectorField() [3/4]

Disallow copy without setting internal field reference.

◆ translatingWallVelocityFvPatchVectorField() [4/4]

Copy constructor setting internal field reference.

Definition at line 62 of file translatingWallVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "translatingWallVelocity"  )

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 132 of file translatingWallVelocityFvPatchVectorField.H.

References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 76 of file translatingWallVelocityFvPatchVectorField.C.

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

Referenced by translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().

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 94 of file translatingWallVelocityFvPatchVectorField.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: