Calculates a wall temperature that produces the specified overall wall heat flux across all the phases in an Eulerian multi-phase simulation. More...
Public Member Functions | |
TypeName ("fixedMultiPhaseHeatFlux") | |
Runtime type information. More... | |
fixedMultiPhaseHeatFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
fixedMultiPhaseHeatFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
fixedMultiPhaseHeatFluxFvPatchScalarField (const fixedMultiPhaseHeatFluxFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given fixedMultiPhaseHeatFluxFvPatchScalarField onto a new patch. More... | |
fixedMultiPhaseHeatFluxFvPatchScalarField (const fixedMultiPhaseHeatFluxFvPatchScalarField &) | |
Construct as copy. More... | |
fixedMultiPhaseHeatFluxFvPatchScalarField (const fixedMultiPhaseHeatFluxFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchField< scalar > > | clone () const |
Return a clone. More... | |
virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Clone with an internal field reference. More... | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvPatchScalarField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Calculates a wall temperature that produces the specified overall wall heat flux across all the phases in an Eulerian multi-phase simulation.
Intended to be used with copiedFixedValue
to ensure that phase wall temperature are consistent:
fixedMultiPhaseHeatFlux
boundary for one of the phasescopiedFixedValue
for all the other phases.<patchName> { // Mandatory entries type fixedMultiPhaseHeatFlux; q <scalarField>; // Optional entries relax <scalar>; Tmin <scalar>; // Inherited entries ... }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
type | Type name: fixedMultiPhaseHeatFlux | word | yes | - |
q | Heat power [W] or flux [W/m2] | scalarField | yes | - |
relax | Relaxation factor | scalar | no | 1.0 |
Tmin | Minimum temperature limit [K] | scalar | no | 273.0 |
The inherited entries are elaborated in:
Definition at line 117 of file fixedMultiPhaseHeatFluxFvPatchScalarField.H.
fixedMultiPhaseHeatFluxFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
fixedMultiPhaseHeatFluxFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 49 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
fixedMultiPhaseHeatFluxFvPatchScalarField | ( | const fixedMultiPhaseHeatFluxFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given fixedMultiPhaseHeatFluxFvPatchScalarField onto a new patch.
Definition at line 64 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
Construct as copy.
Definition at line 80 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
fixedMultiPhaseHeatFluxFvPatchScalarField | ( | const fixedMultiPhaseHeatFluxFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 93 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
TypeName | ( | "fixedMultiPhaseHeatFlux" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 201 of file fixedMultiPhaseHeatFluxFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 210 of file fixedMultiPhaseHeatFluxFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Definition at line 165 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Definition at line 175 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
References fixedMultiPhaseHeatFluxFvPatchScalarField::rmap().
Referenced by fixedMultiPhaseHeatFluxFvPatchScalarField::rmap().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 108 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
References A, Foam::constant::atomic::alpha, B, GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::ensightOutput::debug, Foam::endl(), fluid, forAll, Foam::gMax(), Foam::gMin(), Foam::gSum(), Foam::Info, kappaEff, Foam::max(), phase::name(), Foam::operator==(), Foam::foamVersion::patch, phasei, Foam::T(), and Foam::Zero.
|
virtual |
Write.
Definition at line 189 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntry(), and fvPatchField< Type >::writeValueEntry().