Public Member Functions | List of all members
fixedMultiPhaseHeatFluxFvPatchScalarField Class Reference

Calculates a wall temperature that produces the specified overall wall heat flux across all the phases in an Eulerian multi-phase simulation. More...

Inheritance diagram for fixedMultiPhaseHeatFluxFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for fixedMultiPhaseHeatFluxFvPatchScalarField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("fixedMultiPhaseHeatFlux")
 
 fixedMultiPhaseHeatFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 fixedMultiPhaseHeatFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 fixedMultiPhaseHeatFluxFvPatchScalarField (const fixedMultiPhaseHeatFluxFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 fixedMultiPhaseHeatFluxFvPatchScalarField (const fixedMultiPhaseHeatFluxFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 fixedMultiPhaseHeatFluxFvPatchScalarField (const fixedMultiPhaseHeatFluxFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchScalarField &, const labelList &)
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

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:

Usage
Example of the boundary condition specification:
<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:

See also
Foam::fixedValueFvPatchField
Source files

Definition at line 117 of file fixedMultiPhaseHeatFluxFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ fixedMultiPhaseHeatFluxFvPatchScalarField() [1/5]

fixedMultiPhaseHeatFluxFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF 
)

Definition at line 35 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

Referenced by fixedMultiPhaseHeatFluxFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ fixedMultiPhaseHeatFluxFvPatchScalarField() [2/5]

fixedMultiPhaseHeatFluxFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Definition at line 49 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

◆ fixedMultiPhaseHeatFluxFvPatchScalarField() [3/5]

Definition at line 64 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

◆ fixedMultiPhaseHeatFluxFvPatchScalarField() [4/5]

Definition at line 80 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

◆ fixedMultiPhaseHeatFluxFvPatchScalarField() [5/5]

Definition at line 93 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedMultiPhaseHeatFlux"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Definition at line 165 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

◆ rmap()

void rmap ( const fvPatchScalarField ptf,
const labelList addr 
)
virtual

Definition at line 175 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 189 of file fixedMultiPhaseHeatFluxFvPatchScalarField.C.

References os(), fvPatchField::write(), and Ostream::writeEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: