Loading...
Searching...
No Matches
translatingWallVelocityFvPatchVectorField Class Reference

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

#include <translatingWallVelocityFvPatchVectorField.H>

Inheritance diagram for translatingWallVelocityFvPatchVectorField:
Collaboration diagram for translatingWallVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("translatingWallVelocity")
 Runtime type information.
 translatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 translatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given a.
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &)
 Construct as copy.
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< vector > > clone () const
 Return a clone.
virtual tmp< fvPatchField< vector > > clone (const DimensionedField< vector, volMesh > &iF) const
 Clone with an internal field reference.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

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]

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

Construct from patch and internal field.

Definition at line 28 of file translatingWallVelocityFvPatchVectorField.C.

References p.

Referenced by translatingWallVelocityFvPatchVectorField(), translatingWallVelocityFvPatchVectorField(), translatingWallVelocityFvPatchVectorField(), and TypeName().

Here is the caller graph for this function:

◆ translatingWallVelocityFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 40 of file translatingWallVelocityFvPatchVectorField.C.

References dict, Foam::New(), p, and updateCoeffs().

Here is the call graph for this function:

◆ translatingWallVelocityFvPatchVectorField() [3/5]

translatingWallVelocityFvPatchVectorField ( const translatingWallVelocityFvPatchVectorField & ptf,
const fvPatch & p,
const DimensionedField< vector, volMesh > & iF,
const fvPatchFieldMapper & mapper )

Construct by mapping given a.

translatingWallVelocityFvPatchVectorField onto a new patch

Definition at line 56 of file translatingWallVelocityFvPatchVectorField.C.

References clone(), p, and translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ translatingWallVelocityFvPatchVectorField() [4/5]

translatingWallVelocityFvPatchVectorField ( const translatingWallVelocityFvPatchVectorField & twvpvf)

Construct as copy.

Definition at line 70 of file translatingWallVelocityFvPatchVectorField.C.

References clone(), and translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ translatingWallVelocityFvPatchVectorField() [5/5]

translatingWallVelocityFvPatchVectorField ( const translatingWallVelocityFvPatchVectorField & twvpvf,
const DimensionedField< vector, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 81 of file translatingWallVelocityFvPatchVectorField.C.

References clone(), and translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "translatingWallVelocity" )

Runtime type information.

References translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< vector > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 157 of file translatingWallVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Referenced by translatingWallVelocityFvPatchVectorField(), translatingWallVelocityFvPatchVectorField(), and translatingWallVelocityFvPatchVectorField().

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

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 165 of file translatingWallVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 95 of file translatingWallVelocityFvPatchVectorField.C.

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

Referenced by 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 113 of file translatingWallVelocityFvPatchVectorField.C.

References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

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