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")
 Runtime type information. More...
 
 translatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. 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 &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const vectorU () const
 Return the velocity. 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.


Patch usage

Property Description Required Default value
U translational velocity yes

Example of the boundary condition specification:

    myPatch
    {
        type            translatingWallVelocity;
        U               (100 0 0);
    }
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 82 of file translatingWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 35 of file translatingWallVelocityFvPatchVectorField.C.

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

Here is the caller graph for this function:

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

Construct from patch, internal field and dictionary.

Definition at line 61 of file translatingWallVelocityFvPatchVectorField.C.

References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Construct by mapping given a.

translatingWallVelocityFvPatchVectorField onto a new patch

Definition at line 47 of file translatingWallVelocityFvPatchVectorField.C.

References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Construct as copy.

Definition at line 77 of file translatingWallVelocityFvPatchVectorField.C.

References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Construct as copy setting internal field reference.

Definition at line 88 of file translatingWallVelocityFvPatchVectorField.C.

Member Function Documentation

TypeName ( "translatingWallVelocity"  )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 132 of file translatingWallVelocityFvPatchVectorField.H.

References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

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

Construct and return a clone setting internal field reference.

Definition at line 149 of file translatingWallVelocityFvPatchVectorField.H.

References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

const vector& U ( ) const
inline

Return the velocity.

Definition at line 165 of file translatingWallVelocityFvPatchVectorField.H.

References translatingWallVelocityFvPatchVectorField::updateCoeffs(), and translatingWallVelocityFvPatchVectorField::write().

Here is the call graph for this function:

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 100 of file translatingWallVelocityFvPatchVectorField.C.

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

Referenced by translatingWallVelocityFvPatchVectorField::U().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream os) const
virtual

Write.

Definition at line 115 of file translatingWallVelocityFvPatchVectorField.C.

References token::END_STATEMENT, Foam::makePatchTypeField(), Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().

Referenced by translatingWallVelocityFvPatchVectorField::U().

Here is the call graph for this function:

Here is the caller graph for this function:


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