This boundary condition provides a slip velocity condition for cases with moving walls. More...
Public Member Functions | |
TypeName ("movingWallSlipVelocity") | |
Runtime type information. More... | |
movingWallSlipVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
movingWallSlipVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
movingWallSlipVelocityFvPatchVectorField (const movingWallSlipVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given movingWallSlipVelocityFvPatchVectorField. More... | |
movingWallSlipVelocityFvPatchVectorField (const movingWallSlipVelocityFvPatchVectorField &)=delete | |
Disallow copy without setting internal field reference. More... | |
movingWallSlipVelocityFvPatchVectorField (const movingWallSlipVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Copy constructor 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 slip velocity condition for cases with moving walls.
<patchName> { type movingWallSlipVelocity; value uniform (0 0 0); // Initial value }
Definition at line 59 of file movingWallSlipVelocityFvPatchVectorField.H.
movingWallSlipVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file movingWallSlipVelocityFvPatchVectorField.C.
References n, fvPatch::nf(), Foam::sqr(), and Foam::Zero.
Referenced by movingWallSlipVelocityFvPatchVectorField::clone(), and movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField().
movingWallSlipVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 53 of file movingWallSlipVelocityFvPatchVectorField.C.
References movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField(), n, fvPatch::nf(), fvPatch::size(), Foam::sqr(), vectorField(), and Foam::Zero.
movingWallSlipVelocityFvPatchVectorField | ( | const movingWallSlipVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given movingWallSlipVelocityFvPatchVectorField.
onto a new patch
Definition at line 73 of file movingWallSlipVelocityFvPatchVectorField.C.
References movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField().
|
delete |
Disallow copy without setting internal field reference.
movingWallSlipVelocityFvPatchVectorField | ( | const movingWallSlipVelocityFvPatchVectorField & | mwvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 86 of file movingWallSlipVelocityFvPatchVectorField.C.
TypeName | ( | "movingWallSlipVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 112 of file movingWallSlipVelocityFvPatchVectorField.H.
References movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField(), movingWallSlipVelocityFvPatchVectorField::updateCoeffs(), and movingWallSlipVelocityFvPatchVectorField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 97 of file movingWallSlipVelocityFvPatchVectorField.C.
References Foam::evaluate(), fvPatch::index(), fvPatch::magSf(), mesh, Foam::fvc::meshPhi(), polyMesh::moving(), n, fvPatch::nf(), Foam::sqr(), U, and Foam::Zero.
Referenced by movingWallSlipVelocityFvPatchVectorField::clone().
|
virtual |
Write.
Definition at line 130 of file movingWallSlipVelocityFvPatchVectorField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by movingWallSlipVelocityFvPatchVectorField::clone().