This temperature boundary condition averages the temperature over the "outlet" patch specified by name "outletPatchName" and applies an extra heat source. This is set as a uniform temperature value on this patch. Additionally TMin/TMax limits can be applied. More...
#include <outletMappedUniformInletHeatAdditionFvPatchField.H>


Public Member Functions | |
| TypeName ("outletMappedUniformInletHeatAddition") | |
| Runtime type information. | |
| outletMappedUniformInletHeatAdditionFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| outletMappedUniformInletHeatAdditionFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| outletMappedUniformInletHeatAdditionFvPatchField (const outletMappedUniformInletHeatAdditionFvPatchField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping onto a new patch. | |
| outletMappedUniformInletHeatAdditionFvPatchField (const outletMappedUniformInletHeatAdditionFvPatchField &) | |
| Construct as copy. | |
| outletMappedUniformInletHeatAdditionFvPatchField (const outletMappedUniformInletHeatAdditionFvPatchField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< scalar > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an 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. | |
This temperature boundary condition averages the temperature over the "outlet" patch specified by name "outletPatchName" and applies an extra heat source. This is set as a uniform temperature value on this patch. Additionally TMin/TMax limits can be applied.
Patch usage
| Property | Description | Required | Default value |
|---|---|---|---|
outletPatch | name of outlet patch | yes | |
Q | Heat addition | yes | |
phi | flux field name | no | phi |
TMin | min temperature limit | no | 0.0 |
TMax | max temperature limit | no | 5000.0 |
Example of the boundary condition specification:
myPatch
{
type outletMappedUniformInletHeatAddition;
outletPatch aPatch;
Q 10; // Heat addition in W
phi phi;
value uniform 0;
}
Definition at line 110 of file outletMappedUniformInletHeatAdditionFvPatchField.H.
| outletMappedUniformInletHeatAdditionFvPatchField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 29 of file outletMappedUniformInletHeatAdditionFvPatchField.C.
References p.
Referenced by outletMappedUniformInletHeatAdditionFvPatchField(), outletMappedUniformInletHeatAdditionFvPatchField(), outletMappedUniformInletHeatAdditionFvPatchField(), and TypeName().

| outletMappedUniformInletHeatAdditionFvPatchField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 63 of file outletMappedUniformInletHeatAdditionFvPatchField.C.
References dict, Foam::New(), and p.

| outletMappedUniformInletHeatAdditionFvPatchField | ( | const outletMappedUniformInletHeatAdditionFvPatchField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping onto a new patch.
Definition at line 45 of file outletMappedUniformInletHeatAdditionFvPatchField.C.
References clone(), outletMappedUniformInletHeatAdditionFvPatchField(), and p.

| outletMappedUniformInletHeatAdditionFvPatchField | ( | const outletMappedUniformInletHeatAdditionFvPatchField & | ptf | ) |
Construct as copy.
Definition at line 81 of file outletMappedUniformInletHeatAdditionFvPatchField.C.
References clone(), and outletMappedUniformInletHeatAdditionFvPatchField().

| outletMappedUniformInletHeatAdditionFvPatchField | ( | const outletMappedUniformInletHeatAdditionFvPatchField & | ptf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 97 of file outletMappedUniformInletHeatAdditionFvPatchField.C.
References clone(), and outletMappedUniformInletHeatAdditionFvPatchField().

| TypeName | ( | "outletMappedUniformInletHeatAddition" | ) |
Runtime type information.
References outletMappedUniformInletHeatAdditionFvPatchField().

|
inlinevirtual |
Return a clone.
Definition at line 202 of file outletMappedUniformInletHeatAdditionFvPatchField.H.
References fvPatchField< Type >::Clone().
Referenced by outletMappedUniformInletHeatAdditionFvPatchField(), outletMappedUniformInletHeatAdditionFvPatchField(), and outletMappedUniformInletHeatAdditionFvPatchField().


|
inlinevirtual |
Clone with an internal field reference.
Definition at line 210 of file outletMappedUniformInletHeatAdditionFvPatchField.H.
References fvPatchField< Type >::Clone().

|
inline |
Name of the outlet patch to be mapped.
Definition at line 226 of file outletMappedUniformInletHeatAdditionFvPatchField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 116 of file outletMappedUniformInletHeatAdditionFvPatchField.C.
References Foam::abort(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatch::boundaryMesh(), polyPatch::boundaryMesh(), Foam::clamp(), basicThermo::dictName, Foam::FatalError, FatalErrorInFunction, polyBoundaryMesh::findPatchID(), Foam::gAverage(), Foam::gSum(), Foam::gWeightedAverage(), Foam::gWeightedSum(), fvPatch::magSf(), Foam::operator==(), fvPatch::patch(), phi, and pp().

|
virtual |
Write.
Definition at line 183 of file outletMappedUniformInletHeatAdditionFvPatchField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
