Public Member Functions | List of all members
translatingWallVelocityFvPatchVectorField Class Reference

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

Inheritance diagram for translatingWallVelocityFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for translatingWallVelocityFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("translatingWallVelocity")
 
 translatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 translatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

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::Function1Types.

See also
Foam::fixedValueFvPatchField Foam::Function1Types
Source files

Definition at line 83 of file translatingWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ translatingWallVelocityFvPatchVectorField() [1/5]

Definition at line 30 of file translatingWallVelocityFvPatchVectorField.C.

Referenced by translatingWallVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ translatingWallVelocityFvPatchVectorField() [2/5]

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

Definition at line 42 of file translatingWallVelocityFvPatchVectorField.C.

◆ translatingWallVelocityFvPatchVectorField() [3/5]

Definition at line 58 of file translatingWallVelocityFvPatchVectorField.C.

◆ translatingWallVelocityFvPatchVectorField() [4/5]

Definition at line 72 of file translatingWallVelocityFvPatchVectorField.C.

◆ translatingWallVelocityFvPatchVectorField() [5/5]

Definition at line 83 of file translatingWallVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "translatingWallVelocity"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Definition at line 95 of file translatingWallVelocityFvPatchVectorField.C.

References n, Field::operator=(), Foam::foamVersion::patch, and U.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Definition at line 113 of file translatingWallVelocityFvPatchVectorField.C.

References os(), and fvPatchField::write().

Here is the call graph for this function:

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