This boundary condition provides a velocity condition for translational motion on walls. More...
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< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
translatingWallVelocityFvPatchVectorField (const translatingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (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... | |
This boundary condition provides a velocity condition for translational motion on walls.
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.
Definition at line 85 of file translatingWallVelocityFvPatchVectorField.H.
translatingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 34 of file translatingWallVelocityFvPatchVectorField.C.
Referenced by translatingWallVelocityFvPatchVectorField::clone(), and translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().
translatingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 46 of file translatingWallVelocityFvPatchVectorField.C.
References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().
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 62 of file translatingWallVelocityFvPatchVectorField.C.
References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().
translatingWallVelocityFvPatchVectorField | ( | const translatingWallVelocityFvPatchVectorField & | twvpvf | ) |
Construct as copy.
Definition at line 76 of file translatingWallVelocityFvPatchVectorField.C.
References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().
translatingWallVelocityFvPatchVectorField | ( | const translatingWallVelocityFvPatchVectorField & | twvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 87 of file translatingWallVelocityFvPatchVectorField.C.
TypeName | ( | "translatingWallVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 135 of file translatingWallVelocityFvPatchVectorField.H.
References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 152 of file translatingWallVelocityFvPatchVectorField.H.
References translatingWallVelocityFvPatchVectorField::translatingWallVelocityFvPatchVectorField(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), and translatingWallVelocityFvPatchVectorField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 99 of file translatingWallVelocityFvPatchVectorField.C.
References n, Field< vector >::operator=(), and U.
Referenced by translatingWallVelocityFvPatchVectorField::clone().
|
virtual |
Write.
Definition at line 117 of file translatingWallVelocityFvPatchVectorField.C.
References Foam::makePatchTypeField(), and fvPatchField< Type >::write().
Referenced by translatingWallVelocityFvPatchVectorField::clone().