Averages the field over the "outlet" patch specified by name "outletPatchName" and applies this as the uniform value of the field over this patch. More...
#include <finiteVolume/outletMappedUniformInletFvPatchField.H>
Averages the field over the "outlet" patch specified by name "outletPatchName" and applies this as the uniform value of the field over this patch.
Definition at line 52 of file outletMappedUniformInletFvPatchField.H.
Public Member Functions | |
TypeName ("outletMappedUniformInlet") | |
Runtime type information.
| |
outletMappedUniformInletFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &) | |
Construct from patch and internal field.
| |
outletMappedUniformInletFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
outletMappedUniformInletFvPatchField (const outletMappedUniformInletFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given outletMappedUniformInletFvPatchField.
| |
outletMappedUniformInletFvPatchField (const outletMappedUniformInletFvPatchField< Type > &) | |
Construct as copy.
| |
virtual tmp< fvPatchField< Type > > | clone () const |
Construct and return a clone.
| |
outletMappedUniformInletFvPatchField (const outletMappedUniformInletFvPatchField< Type > &, const DimensionedField< Type, volMesh > &) | |
Construct as copy setting internal field reference.
| |
virtual tmp< fvPatchField< Type > > | clone (const DimensionedField< Type, volMesh > &iF) const |
Construct and return a clone setting internal field reference.
| |
const word & | outletPatchName () const |
Name of the outlet patch to be mapped.
| |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field.
| |
virtual void | write (Ostream &) const |
Write.
|
outletMappedUniformInletFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 40 of file outletMappedUniformInletFvPatchField.C.
outletMappedUniformInletFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 70 of file outletMappedUniformInletFvPatchField.C.
outletMappedUniformInletFvPatchField | ( | const outletMappedUniformInletFvPatchField< Type > & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< Type, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given outletMappedUniformInletFvPatchField.
onto a new patch
Definition at line 54 of file outletMappedUniformInletFvPatchField.C.
outletMappedUniformInletFvPatchField | ( | const outletMappedUniformInletFvPatchField< Type > & | ptf ) |
Construct as copy.
Definition at line 85 of file outletMappedUniformInletFvPatchField.C.
outletMappedUniformInletFvPatchField | ( | const outletMappedUniformInletFvPatchField< Type > & | ptf, |
const DimensionedField< Type, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 99 of file outletMappedUniformInletFvPatchField.C.
TypeName | ( | "outletMappedUniformInlet" | ) |
Runtime type information.
virtual tmp<fvPatchField<Type> > clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented from fixedValueFvPatchField< Type >.
Definition at line 105 of file outletMappedUniformInletFvPatchField.H.
virtual tmp<fvPatchField<Type> > clone | ( | const DimensionedField< Type, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Reimplemented from fixedValueFvPatchField< Type >.
Definition at line 122 of file outletMappedUniformInletFvPatchField.H.
const word& outletPatchName | ( | ) | const [inline]
|
Name of the outlet patch to be mapped.
Definition at line 138 of file outletMappedUniformInletFvPatchField.H.
void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Reimplemented from fvPatchField< Type >.
Definition at line 113 of file outletMappedUniformInletFvPatchField.C.
References Foam::abort(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatch::boundaryMesh(), polyPatch::boundaryMesh(), f(), Foam::FatalError, FatalErrorIn, polyBoundaryMesh::findPatchID(), Foam::gSum(), fvPatch::magSf(), Foam::operator==(), fvPatch::patch(), phi, and fvPatchField< Type >::updateCoeffs().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from fixedValueFvPatchField< Type >.
Definition at line 173 of file outletMappedUniformInletFvPatchField.C.
References token::END_STATEMENT, Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().