This boundary condition maps the velocity and flux from a neighbour patch to this patch. More...
This boundary condition maps the velocity and flux from a neighbour patch to this patch.
Property | Description | Required | Default value |
---|---|---|---|
phi | flux field name | no | phi |
Example of the boundary condition specification:
<patchName> { type mappedVelocityFlux; phi phi; value uniform 0; // place holder }
The underlying sample mode should be set to nearestPatchFace
or nearestFace
mappedPolyPatch
type.Definition at line 90 of file mappedVelocityFluxFixedValueFvPatchField.H.
mappedVelocityFluxFixedValueFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 34 of file mappedVelocityFluxFixedValueFvPatchField.C.
mappedVelocityFluxFixedValueFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 71 of file mappedVelocityFluxFixedValueFvPatchField.C.
References dict, Foam::exit(), Foam::FatalError, FatalErrorInFunction, mappedPatchBase::mode(), p, and Foam::foamVersion::patch.
mappedVelocityFluxFixedValueFvPatchField | ( | const mappedVelocityFluxFixedValueFvPatchField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
mappedVelocityFluxFixedValueFvPatchField onto a new patch
Definition at line 46 of file mappedVelocityFluxFixedValueFvPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, p, and Foam::foamVersion::patch.
Construct as copy.
Definition at line 111 of file mappedVelocityFluxFixedValueFvPatchField.C.
mappedVelocityFluxFixedValueFvPatchField | ( | const mappedVelocityFluxFixedValueFvPatchField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 122 of file mappedVelocityFluxFixedValueFvPatchField.C.
TypeName | ( | "mappedVelocityFlux" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 164 of file mappedVelocityFluxFixedValueFvPatchField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 173 of file mappedVelocityFluxFixedValueFvPatchField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 134 of file mappedVelocityFluxFixedValueFvPatchField.C.
References Foam::abort(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), boundaryFieldRef(), mappedPatchBase::distribute(), Foam::FatalError, FatalErrorInFunction, forAll, UPstream::incrMsgType(), mappedPatchBase::mode(), UPstream::msgType(), mappedPatchBase::NEARESTFACE, mappedPatchBase::NEARESTPATCHFACE, mappedPatchBase::NEARESTPATCHFACEAMI, Foam::nl, Foam::operator==(), Foam::foamVersion::patch, fvPatchFieldBase::patch(), mappedPatchBase::sampleMesh(), mappedPatchBase::samplePatch(), fvPatch::start(), List< T >::transfer(), and Foam::Zero.
|
virtual |
Write.
Definition at line 226 of file mappedVelocityFluxFixedValueFvPatchField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntryIfDifferent(), and fvPatchField< Type >::writeValueEntry().