This boundary condition provides a velocity condition for cases with moving walls. More...
Public Member Functions | |
TypeName ("movingWallVelocity") | |
Runtime type information. More... | |
movingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
movingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given movingWallVelocityFvPatchVectorField. More... | |
movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, 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 cases with moving walls.
<patchName> { type movingWallVelocity; value uniform (0 0 0); // Initial value }
Definition at line 66 of file movingWallVelocityFvPatchVectorField.H.
movingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file movingWallVelocityFvPatchVectorField.C.
Referenced by movingWallVelocityFvPatchVectorField::clone(), and movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField().
movingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 47 of file movingWallVelocityFvPatchVectorField.C.
References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField(), fvPatch::size(), and vectorField().
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 61 of file movingWallVelocityFvPatchVectorField.C.
References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField().
movingWallVelocityFvPatchVectorField | ( | const movingWallVelocityFvPatchVectorField & | mwvpvf | ) |
Construct as copy.
Definition at line 74 of file movingWallVelocityFvPatchVectorField.C.
References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField().
movingWallVelocityFvPatchVectorField | ( | const movingWallVelocityFvPatchVectorField & | mwvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 84 of file movingWallVelocityFvPatchVectorField.C.
TypeName | ( | "movingWallVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 111 of file movingWallVelocityFvPatchVectorField.H.
References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 128 of file movingWallVelocityFvPatchVectorField.H.
References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField(), movingWallVelocityFvPatchVectorField::updateCoeffs(), and movingWallVelocityFvPatchVectorField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 95 of file movingWallVelocityFvPatchVectorField.C.
References TimeState::deltaTValue(), polyPatch::faceCentres(), forAll, fvPatch::magSf(), mesh, Foam::fvc::meshPhi(), polyMesh::moving(), n, fvPatch::nf(), polyMesh::oldPoints(), Field< vector >::operator=(), fvPatch::patch(), fvPatch::patchField(), fvMesh::time(), and U.
Referenced by movingWallVelocityFvPatchVectorField::clone().
|
virtual |
Write.
Definition at line 141 of file movingWallVelocityFvPatchVectorField.C.
References Foam::makePatchTypeField(), and fvPatchField< Type >::write().
Referenced by movingWallVelocityFvPatchVectorField::clone().