coupledMultiphaseTemperatureFvPatchScalarField Class Reference

Mixed boundary condition for the phase temperature of a phase in an Euler-Euler multiphase simulation, to be used for heat-transfer with another region in a CHT case. Optional thin wall material layer resistances can be specified through thicknessLayers and kappaLayers entries. More...

Inheritance diagram for coupledMultiphaseTemperatureFvPatchScalarField:
Collaboration diagram for coupledMultiphaseTemperatureFvPatchScalarField:

Public Member Functions

 TypeName ("coupledMultiphaseTemperature")
 Runtime type information. More...
 
 coupledMultiphaseTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 coupledMultiphaseTemperatureFvPatchScalarField (const coupledMultiphaseTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 coupledMultiphaseTemperatureFvPatchScalarField (const coupledMultiphaseTemperatureFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 coupledMultiphaseTemperatureFvPatchScalarField (const coupledMultiphaseTemperatureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
- Public Member Functions inherited from coupledTemperatureFvPatchScalarField
 TypeName ("coupledTemperature")
 Runtime type information. More...
 
 coupledTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 coupledTemperatureFvPatchScalarField (const coupledTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 coupledTemperatureFvPatchScalarField (const coupledTemperatureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Protected Member Functions

virtual void getThis (tmp< scalarField > &kappa, tmp< scalarField > &sumKappaTByDelta, tmp< scalarField > &sumKappaByDelta, scalarField &sumq, tmp< scalarField > &qByKappa) const
 Get the patch kappa, sum kappa*Tc/delta and kappa/delta for all phases. More...
 
virtual void getNbr (tmp< scalarField > &sumKappaTByDeltaNbr, tmp< scalarField > &sumKappaByDeltaNbr, tmp< scalarField > &qNbr) const
 Get the neighbour patch sum kappa*Tc/delta and kappa/delta. More...
 
virtual void getNbr (tmp< scalarField > &TwNbr, tmp< scalarField > &qNbr) const
 Get the neighbour patch wall temperature and heat-flux. More...
 
- Protected Member Functions inherited from coupledTemperatureFvPatchScalarField
void add (tmp< scalarField > &result, const tmp< scalarField > &field) const
 Add field to result which may have not been previously set. More...
 

Detailed Description

Mixed boundary condition for the phase temperature of a phase in an Euler-Euler multiphase simulation, to be used for heat-transfer with another region in a CHT case. Optional thin wall material layer resistances can be specified through thicknessLayers and kappaLayers entries.

See also
Foam::coupledTemperatureFvPatchScalarField
Source files

Definition at line 54 of file coupledMultiphaseTemperatureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ coupledMultiphaseTemperatureFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 175 of file coupledMultiphaseTemperatureFvPatchScalarField.C.

Referenced by coupledMultiphaseTemperatureFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ coupledMultiphaseTemperatureFvPatchScalarField() [2/4]

Construct by mapping given.

coupledMultiphaseTemperatureFvPatchScalarField onto a new patch

Definition at line 187 of file coupledMultiphaseTemperatureFvPatchScalarField.C.

◆ coupledMultiphaseTemperatureFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ coupledMultiphaseTemperatureFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 200 of file coupledMultiphaseTemperatureFvPatchScalarField.C.

Member Function Documentation

◆ getThis()

void getThis ( tmp< scalarField > &  kappa,
tmp< scalarField > &  sumKappaTByDelta,
tmp< scalarField > &  sumKappaByDelta,
scalarField sumq,
tmp< scalarField > &  qByKappa 
) const
protectedvirtual

Get the patch kappa, sum kappa*Tc/delta and kappa/delta for all phases.

except the phase being solved and also the phase heat-flux obtained by partitioning the sum heat-flux provided

Reimplemented from coupledTemperatureFvPatchScalarField.

Definition at line 35 of file coupledMultiphaseTemperatureFvPatchScalarField.C.

References alpha(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, Foam::constant::electromagnetic::kappa, phaseModel::kappaEff(), objectRegistry::lookupObject(), phaseSystem::mesh(), phaseSystem::phases(), phaseSystem::propertiesName, Foam::T(), phaseModel::thermo(), and thermo.

Here is the call graph for this function:

◆ getNbr() [1/2]

void getNbr ( tmp< scalarField > &  sumKappaTByDeltaNbr,
tmp< scalarField > &  sumKappaByDeltaNbr,
tmp< scalarField > &  qNbr 
) const
protectedvirtual

Get the neighbour patch sum kappa*Tc/delta and kappa/delta.

for all phases and the heat-flux correction

Reimplemented from coupledTemperatureFvPatchScalarField.

Definition at line 90 of file coupledMultiphaseTemperatureFvPatchScalarField.C.

References alpha(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, phaseModel::kappaEff(), objectRegistry::lookupObject(), phaseSystem::mesh(), phaseSystem::phases(), phaseSystem::propertiesName, basicThermo::T(), Foam::T(), phaseModel::thermo(), and thermo.

Here is the call graph for this function:

◆ getNbr() [2/2]

void getNbr ( tmp< scalarField > &  TwNbr,
tmp< scalarField > &  qNbr 
) const
protectedvirtual

Get the neighbour patch wall temperature and heat-flux.

when wall thermal resistance is specified

Reimplemented from coupledTemperatureFvPatchScalarField.

Definition at line 129 of file coupledMultiphaseTemperatureFvPatchScalarField.C.

References alpha(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, objectRegistry::lookupObject(), phaseSystem::mesh(), phaseSystem::phases(), phaseSystem::propertiesName, tmp< T >::ref(), basicThermo::T(), phaseModel::thermo(), and thermo.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "coupledMultiphaseTemperature"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Reimplemented from coupledTemperatureFvPatchScalarField.

Definition at line 132 of file coupledMultiphaseTemperatureFvPatchScalarField.H.

References coupledMultiphaseTemperatureFvPatchScalarField::coupledMultiphaseTemperatureFvPatchScalarField().

Here is the call graph for this function:

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