Recycles the velocity and flux at a patch to this patch. More...
#include <finiteVolume/directMappedVelocityFluxFixedValueFvPatchField.H>
Recycles the velocity and flux at a patch to this patch.
mode = NEARESTPATCHFACE : sample nearest face on selected patch mode = NEARESTFACE : sample nearest face on any patch. Note: does not warn if nearest actually is on internal face!
Definition at line 54 of file directMappedVelocityFluxFixedValueFvPatchField.H.
Public Member Functions | |
TypeName ("directMappedVelocityFlux") | |
Runtime type information.
| |
directMappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field.
| |
directMappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
directMappedVelocityFluxFixedValueFvPatchField (const directMappedVelocityFluxFixedValueFvPatchField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given.
| |
directMappedVelocityFluxFixedValueFvPatchField (const directMappedVelocityFluxFixedValueFvPatchField &) | |
Construct as copy.
| |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone.
| |
directMappedVelocityFluxFixedValueFvPatchField (const directMappedVelocityFluxFixedValueFvPatchField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference.
| |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting internal field reference.
| |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field.
| |
virtual void | write (Ostream &) const |
Write.
|
directMappedVelocityFluxFixedValueFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 43 of file directMappedVelocityFluxFixedValueFvPatchField.C.
Referenced by directMappedVelocityFluxFixedValueFvPatchField::clone().
directMappedVelocityFluxFixedValueFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 89 of file directMappedVelocityFluxFixedValueFvPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and fvPatch::name().
directMappedVelocityFluxFixedValueFvPatchField | ( | const directMappedVelocityFluxFixedValueFvPatchField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
directMappedVelocityFluxFixedValueFvPatchField onto a new patch
Definition at line 55 of file directMappedVelocityFluxFixedValueFvPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and fvPatch::name().
directMappedVelocityFluxFixedValueFvPatchField | ( | const directMappedVelocityFluxFixedValueFvPatchField & | ptf ) |
Construct as copy.
Definition at line 121 of file directMappedVelocityFluxFixedValueFvPatchField.C.
directMappedVelocityFluxFixedValueFvPatchField | ( | const directMappedVelocityFluxFixedValueFvPatchField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 132 of file directMappedVelocityFluxFixedValueFvPatchField.C.
TypeName | ( | "directMappedVelocityFlux" | ) |
Runtime type information.
virtual tmp<fvPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 104 of file directMappedVelocityFluxFixedValueFvPatchField.H.
References directMappedVelocityFluxFixedValueFvPatchField::directMappedVelocityFluxFixedValueFvPatchField().
virtual tmp<fvPatchVectorField> clone | ( | const DimensionedField< vector, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 121 of file directMappedVelocityFluxFixedValueFvPatchField.H.
References directMappedVelocityFluxFixedValueFvPatchField::directMappedVelocityFluxFixedValueFvPatchField().
void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Definition at line 144 of file directMappedVelocityFluxFixedValueFvPatchField.C.
References Foam::abort(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), polyMesh::boundaryMesh(), Pstream::defaultCommsType, mapDistribute::distribute(), Foam::FatalError, FatalErrorIn, polyBoundaryMesh::findPatchID(), forAll, objectRegistry::lookupObject(), directMappedPatchBase::map(), directMappedPatchBase::mode(), directMappedPatchBase::NEARESTFACE, directMappedPatchBase::NEARESTPATCHFACE, primitiveMesh::nFaces(), Foam::nl, Foam::operator==(), fvPatch::patch(), fvPatchField< Type >::patch(), directMappedPatchBase::sampleMesh(), directMappedPatchBase::samplePatch(), polyPatch::start(), List< T >::transfer(), and Vector< Cmpt >::zero.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 267 of file directMappedVelocityFluxFixedValueFvPatchField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().