This boundary condition fixes the velocity to zero at walls and assumes the walls are stationary. More...
Public Member Functions | |
TypeName ("noSlip") | |
Runtime type information. More... | |
noSlipFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
noSlipFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
noSlipFvPatchVectorField (const noSlipFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given noSlipFvPatchVectorField. More... | |
noSlipFvPatchVectorField (const noSlipFvPatchVectorField &)=delete | |
Disallow copy without setting internal field reference. More... | |
noSlipFvPatchVectorField (const noSlipFvPatchVectorField &, 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 fixes the velocity to zero at walls and assumes the walls are stationary.
For stationary walls with sliding vertices, e.g. engine liners, the normal component of the velocity is set from the wall face-flux to ensure continuity.
<patchName> { type noSlip; }
Definition at line 65 of file noSlipFvPatchVectorField.H.
noSlipFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 32 of file noSlipFvPatchVectorField.C.
References Foam::operator==(), and Foam::Zero.
Referenced by noSlipFvPatchVectorField::clone().
noSlipFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 44 of file noSlipFvPatchVectorField.C.
References Foam::operator==(), and Foam::Zero.
noSlipFvPatchVectorField | ( | const noSlipFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given noSlipFvPatchVectorField.
onto a new patch
Definition at line 57 of file noSlipFvPatchVectorField.C.
References Foam::operator==(), and Foam::Zero.
|
delete |
Disallow copy without setting internal field reference.
noSlipFvPatchVectorField | ( | const noSlipFvPatchVectorField & | mwvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 71 of file noSlipFvPatchVectorField.C.
TypeName | ( | "noSlip" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 117 of file noSlipFvPatchVectorField.H.
References noSlipFvPatchVectorField::noSlipFvPatchVectorField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 83 of file noSlipFvPatchVectorField.C.
References polyMesh::boundaryMesh(), polyBoundaryMesh::mesh(), Foam::fvc::meshPhi(), polyMesh::moving(), n, Field< vector >::operator=(), p, and U.
|
virtual |
Write.
Definition at line 109 of file noSlipFvPatchVectorField.C.
References fvPatchField< Type >::write().