59 if (&phase != &thisPhase)
68 sumKappa += alphaKappaEff;
69 sumKappaT += alphaKappaEff*
T.patchInternalField();
70 sumKappaTw += alphaKappaEff*
T;
78 kappa = alphaKappaEff;
79 qByKappa = sumq/(
max(
alpha, rootSmall)*kappaEff);
83 Tw = (sumKappaTw + alphaKappaEff*
T)/(sumKappa + alphaKappaEff);
86 (sumKappaT + rootSmall*kappaEff*patchInternalField())
87 /(sumKappa + rootSmall*kappaEff);
89 sumKappaByDelta = sumKappa*patch().deltaCoeffs();
90 sumKappaTByDelta = sumKappaT*patch().deltaCoeffs();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
virtual const volScalarField & T() const =0
Temperature [K].
A list of keyword definitions, which are a keyword followed by any number of values (e....
This boundary condition applies a heat flux condition to temperature on an external wall....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Mixed boundary condition for the phase temperature of a phase in an Euler-Euler multiphase simulation...
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.
multiphaseExternalTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual tmp< scalarField > kappaEff(const label patchi) const =0
Effective thermal turbulent conductivity.
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
Class to represent a system of phases and model interfacial transfers between them.
static const word propertiesName
Default name of the phase properties dictionary.
const phaseModelList & phases() const
Return the phase models.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)