This boundary condition maps the velocity and flux from a neighbouring patch to this patch. More...
Public Member Functions | |
TypeName ("mappedVelocityFlux") | |
Runtime type information. More... | |
mappedVelocityFluxFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
mappedVelocityFluxFvPatchField (const mappedVelocityFluxFvPatchField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fieldMapper &) | |
Construct by mapping given. More... | |
mappedVelocityFluxFvPatchField (const mappedVelocityFluxFvPatchField &)=delete | |
Disallow copy without setting internal field reference. More... | |
mappedVelocityFluxFvPatchField (const mappedVelocityFluxFvPatchField &, 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 maps the velocity and flux from a neighbouring patch to this patch.
Property | Description | Required | Default value |
---|---|---|---|
phi | flux field name | no | phi |
Example of the boundary condition specification:
<patchName> { type mappedVelocityFlux; value uniform (0 0 0); }
This boundary condition can only be applied to patches that are of mapped type.
Definition at line 83 of file mappedVelocityFluxFvPatchField.H.
mappedVelocityFluxFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 35 of file mappedVelocityFluxFvPatchField.C.
References dict, mappedPatchBaseBase::from::differentPatch, and mappedPatchBaseBase::validateMapForField().
Referenced by mappedVelocityFluxFvPatchField::clone().
mappedVelocityFluxFvPatchField | ( | const mappedVelocityFluxFvPatchField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given.
mappedVelocityFluxFvPatchField onto a new patch
Definition at line 55 of file mappedVelocityFluxFvPatchField.C.
|
delete |
Disallow copy without setting internal field reference.
mappedVelocityFluxFvPatchField | ( | const mappedVelocityFluxFvPatchField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 68 of file mappedVelocityFluxFvPatchField.C.
TypeName | ( | "mappedVelocityFlux" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 134 of file mappedVelocityFluxFvPatchField.H.
References mappedVelocityFluxFvPatchField::mappedVelocityFluxFvPatchField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 81 of file mappedVelocityFluxFvPatchField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), mappedFvPatchBaseBase::getMap(), fvPatch::index(), objectRegistry::lookupObjectRef(), UPstream::msgType(), mappedFvPatchBaseBase::nbrFvPatch(), mappedFvPatchBaseBase::nbrMesh(), and Foam::operator==().
|
virtual |
Write.
Definition at line 115 of file mappedVelocityFluxFvPatchField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().