This boundary condition provides a no-slip velocity condition for mapped walls. The wall velocity is taken to be the mesh velocity of the neighbouring region. More...
Public Member Functions | |
TypeName ("movingMappedWallVelocity") | |
Runtime type information. More... | |
movingMappedWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
movingMappedWallVelocityFvPatchVectorField (const movingMappedWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fieldMapper &) | |
Construct by mapping given. More... | |
movingMappedWallVelocityFvPatchVectorField (const movingMappedWallVelocityFvPatchVectorField &)=delete | |
Disallow copy without setting internal field reference. More... | |
movingMappedWallVelocityFvPatchVectorField (const movingMappedWallVelocityFvPatchVectorField &, 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 | map (const fvPatchVectorField &, const fieldMapper &) |
Map the given fvPatchField onto this fvPatchField. 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 no-slip velocity condition for mapped walls. The wall velocity is taken to be the mesh velocity of the neighbouring region.
This will typically be used in CHT simulations in order to apply the mesh motion of a solid region to the boundary of the adjacent fluid region.
<patchName> { type movingMappedWallVelocity; value uniform (0 0 0); // Initial value }
Definition at line 67 of file movingMappedWallVelocityFvPatchVectorField.H.
movingMappedWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 35 of file movingMappedWallVelocityFvPatchVectorField.C.
Referenced by movingMappedWallVelocityFvPatchVectorField::clone().
movingMappedWallVelocityFvPatchVectorField | ( | const movingMappedWallVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given.
movingMappedWallVelocityFvPatchVectorField onto a new patch
Definition at line 47 of file movingMappedWallVelocityFvPatchVectorField.C.
References VectorSpace< Form, Cmpt, Ncmpts >::zero.
|
delete |
Disallow copy without setting internal field reference.
movingMappedWallVelocityFvPatchVectorField | ( | const movingMappedWallVelocityFvPatchVectorField & | mwvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 62 of file movingMappedWallVelocityFvPatchVectorField.C.
TypeName | ( | "movingMappedWallVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 112 of file movingMappedWallVelocityFvPatchVectorField.H.
References movingMappedWallVelocityFvPatchVectorField::movingMappedWallVelocityFvPatchVectorField().
|
virtual |
Map the given fvPatchField onto this fvPatchField.
Definition at line 75 of file movingMappedWallVelocityFvPatchVectorField.C.
References VectorSpace< Form, Cmpt, Ncmpts >::zero.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 85 of file movingMappedWallVelocityFvPatchVectorField.C.
References fvPatch::Cf(), polyMesh::faces(), forAll, mappedFvPatchBaseBase::getMap(), fvPatch::index(), fvPatch::magSf(), Foam::fvc::meshPhi(), polyMesh::moving(), n, mappedFvPatchBaseBase::nbrFvPatch(), mappedFvPatchBaseBase::nbrMesh(), fvPatch::nf(), polyMesh::oldPoints(), Field< vector >::operator=(), fvMesh::polyFacesBf(), fvPatch::size(), U, and Foam::Zero.
|
virtual |
Write.
Definition at line 139 of file movingMappedWallVelocityFvPatchVectorField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().