Loading...
Searching...
No Matches
movingWallVelocityFvPatchVectorField Class Reference

This boundary condition provides a velocity condition for cases with moving walls. More...

#include <movingWallVelocityFvPatchVectorField.H>

Inheritance diagram for movingWallVelocityFvPatchVectorField:
Collaboration diagram for movingWallVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("movingWallVelocity")
 Runtime type information.
 movingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 movingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given movingWallVelocityFvPatchVectorField.
 movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &)
 Construct as copy.
 movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, 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.
tmp< vectorFieldUwall () const
 Return wall velocity field.
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 cases with moving walls.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            movingWallVelocity;
    value           uniform (0 0 0);    // Initial value
}
See also
Foam::fixedValueFvPatchVectorField Foam::MRFZone
Source files

Definition at line 65 of file movingWallVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ movingWallVelocityFvPatchVectorField() [1/5]

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

Construct from patch and internal field.

Definition at line 30 of file movingWallVelocityFvPatchVectorField.C.

References p.

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

Here is the caller graph for this function:

◆ movingWallVelocityFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 41 of file movingWallVelocityFvPatchVectorField.C.

References dict, and p.

◆ movingWallVelocityFvPatchVectorField() [3/5]

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

Construct by mapping given movingWallVelocityFvPatchVectorField.

onto a new patch

Definition at line 53 of file movingWallVelocityFvPatchVectorField.C.

References movingWallVelocityFvPatchVectorField(), and p.

Here is the call graph for this function:

◆ movingWallVelocityFvPatchVectorField() [4/5]

movingWallVelocityFvPatchVectorField ( const movingWallVelocityFvPatchVectorField & mwvpvf)

Construct as copy.

Definition at line 66 of file movingWallVelocityFvPatchVectorField.C.

References movingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ movingWallVelocityFvPatchVectorField() [5/5]

movingWallVelocityFvPatchVectorField ( const movingWallVelocityFvPatchVectorField & mwvpvf,
const DimensionedField< vector, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 76 of file movingWallVelocityFvPatchVectorField.C.

References movingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "movingWallVelocity" )

Runtime type information.

References movingWallVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [1/2]

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

Return a clone.

Definition at line 131 of file movingWallVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call 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 139 of file movingWallVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ Uwall()

Foam::tmp< Foam::vectorField > Uwall ( ) const

Return wall velocity field.

Definition at line 90 of file movingWallVelocityFvPatchVectorField.C.

References forAll, mesh, Foam::fvc::meshPhi(), n, p, pp(), and U.

Referenced by updateCoeffs().

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 124 of file movingWallVelocityFvPatchVectorField.C.

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

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 143 of file movingWallVelocityFvPatchVectorField.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: