multiphaseExternalTemperatureFvPatchScalarField 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 multiphaseExternalTemperatureFvPatchScalarField:
Collaboration diagram for multiphaseExternalTemperatureFvPatchScalarField:

Public Member Functions

 TypeName ("multiphaseExternalTemperature")
 Runtime type information. More...
 
 multiphaseExternalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 multiphaseExternalTemperatureFvPatchScalarField (const multiphaseExternalTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &)
 Construct by mapping given. More...
 
 multiphaseExternalTemperatureFvPatchScalarField (const multiphaseExternalTemperatureFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 multiphaseExternalTemperatureFvPatchScalarField (const multiphaseExternalTemperatureFvPatchScalarField &, 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 externalTemperatureFvPatchScalarField
 TypeName ("externalTemperature")
 Runtime type information. More...
 
 externalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 externalTemperatureFvPatchScalarField (const externalTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &)
 Construct by mapping given. More...
 
 externalTemperatureFvPatchScalarField (const externalTemperatureFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 externalTemperatureFvPatchScalarField (const externalTemperatureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual bool fixesValue () const
 Disallow manipulation of the boundary values. More...
 
virtual void map (const fvPatchScalarField &, const fieldMapper &)
 Map the given fvPatchField onto this fvPatchField. More...
 
virtual void reset (const fvPatchScalarField &)
 Reset the fvPatchField to the given fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
void write (Ostream &) const
 Write. More...
 

Protected Member Functions

virtual void getKappa (scalarField &kappa, scalarField &sumKappaTByDelta, scalarField &sumKappaByDelta, scalarField &Tref, scalarField &Tw, scalarField &sumq, scalarField &qByKappa) const
 Get the patch kappa, sum kappa*Tc/delta, kappa/delta and. 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::externalTemperatureFvPatchScalarField
Source files

Definition at line 54 of file multiphaseExternalTemperatureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ multiphaseExternalTemperatureFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 96 of file multiphaseExternalTemperatureFvPatchScalarField.C.

Referenced by multiphaseExternalTemperatureFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ multiphaseExternalTemperatureFvPatchScalarField() [2/4]

Construct by mapping given.

multiphaseExternalTemperatureFvPatchScalarField onto a new patch

Definition at line 108 of file multiphaseExternalTemperatureFvPatchScalarField.C.

◆ multiphaseExternalTemperatureFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ multiphaseExternalTemperatureFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 121 of file multiphaseExternalTemperatureFvPatchScalarField.C.

Member Function Documentation

◆ getKappa()

void getKappa ( scalarField kappa,
scalarField sumKappaTByDelta,
scalarField sumKappaByDelta,
scalarField Tref,
scalarField Tw,
scalarField sumq,
scalarField qByKappa 
) const
protectedvirtual

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

reference temperature for all phases except the phase being solved and also the current phase-average wall T and phase heat-flux obtained by partitioning the sum heat-flux provided

Reimplemented from externalTemperatureFvPatchScalarField.

Definition at line 32 of file multiphaseExternalTemperatureFvPatchScalarField.C.

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

Here is the call graph for this function:

◆ TypeName()

TypeName ( "multiphaseExternalTemperature"  )

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 externalTemperatureFvPatchScalarField.

Definition at line 118 of file multiphaseExternalTemperatureFvPatchScalarField.H.

References multiphaseExternalTemperatureFvPatchScalarField::multiphaseExternalTemperatureFvPatchScalarField().

Here is the call graph for this function:

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