This boundary condition maps the velocity and flux from a neighbour patch to this patch. More...
Public Member Functions | |
TypeName ("mappedVelocityFlux") | |
mappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
mappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &) | |
virtual tmp< fvPatchVectorField > | clone () const |
mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &, const DimensionedField< vector, volMesh > &) | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
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 | ||
) |
Definition at line 34 of file mappedVelocityFluxFixedValueFvPatchField.C.
Referenced by mappedVelocityFluxFixedValueFvPatchField::clone().
mappedVelocityFluxFixedValueFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 71 of file mappedVelocityFluxFixedValueFvPatchField.C.
References 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 | ||
) |
Definition at line 46 of file mappedVelocityFluxFixedValueFvPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, p, and Foam::foamVersion::patch.
Definition at line 111 of file mappedVelocityFluxFixedValueFvPatchField.C.
mappedVelocityFluxFixedValueFvPatchField | ( | const mappedVelocityFluxFixedValueFvPatchField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 122 of file mappedVelocityFluxFixedValueFvPatchField.C.
TypeName | ( | "mappedVelocityFlux" | ) |
|
inlinevirtual |
Definition at line 140 of file mappedVelocityFluxFixedValueFvPatchField.H.
References mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField().
|
inlinevirtual |
Definition at line 157 of file mappedVelocityFluxFixedValueFvPatchField.H.
References mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField().
|
virtual |
Definition at line 134 of file mappedVelocityFluxFixedValueFvPatchField.C.
References Foam::abort(), GeometricField::boundaryField(), polyMesh::boundaryMesh(), mappedPatchBase::distribute(), Foam::FatalError, FatalErrorInFunction, polyBoundaryMesh::findPatchID(), forAll, objectRegistry::lookupObject(), mappedPatchBase::mode(), UPstream::msgType(), mappedPatchBase::NEARESTFACE, mappedPatchBase::NEARESTPATCHFACE, mappedPatchBase::NEARESTPATCHFACEAMI, primitiveMesh::nFaces(), Foam::nl, Foam::operator==(), Foam::foamVersion::patch, fvPatchField::patch(), mappedPatchBase::sampleMesh(), mappedPatchBase::samplePatch(), fvPatch::start(), and Foam::Zero.
|
virtual |
Definition at line 228 of file mappedVelocityFluxFixedValueFvPatchField.C.
References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.