Public Member Functions | List of all members
turbulentTemperatureRadCoupledMixedFvPatchScalarField Class Reference

Mixed boundary condition for temperature and radiation heat transfer to be used for in multiregion cases. Optional thin thermal layer resistances can be specified through thicknessLayers and kappaLayers entries. More...

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

Public Member Functions

 TypeName ("compressible::turbulentTemperatureRadCoupledMixed")
 
 turbulentTemperatureRadCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 turbulentTemperatureRadCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 turbulentTemperatureRadCoupledMixedFvPatchScalarField (const turbulentTemperatureRadCoupledMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 turbulentTemperatureRadCoupledMixedFvPatchScalarField (const turbulentTemperatureRadCoupledMixedFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 turbulentTemperatureRadCoupledMixedFvPatchScalarField (const turbulentTemperatureRadCoupledMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchField< scalar > &, const labelList &)
 
virtual tmp< scalarFieldkappa (const scalarField &Tp) const
 
virtual void updateCoeffs ()
 
virtual void manipulateMatrix (fvMatrix< scalar > &m, const label iMatrix, const direction cmpt)
 
virtual void write (Ostream &os) const
 
- Public Member Functions inherited from temperatureCoupledBase
 temperatureCoupledBase (const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName, const word &alphaName)
 
 temperatureCoupledBase (const fvPatch &patch, const dictionary &dict)
 
 temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base)
 
 temperatureCoupledBase (const temperatureCoupledBase &)
 
virtual ~temperatureCoupledBase ()=default
 
word KMethod () const
 
const wordkappaName () const
 
const wordalphaName () const
 
virtual tmp< scalarFieldalpha (const scalarField &Tp) const
 
void write (Ostream &os) const
 
- Public Member Functions inherited from mappedPatchFieldBase< scalar >
 mappedPatchFieldBase (const mappedPatchBase &mapper, const fvPatchField< scalar > &patchField, const word &fieldName, const bool setAverage, const scalar average, const word &interpolationScheme)
 
 mappedPatchFieldBase (const mappedPatchBase &mapper, const fvPatchField< scalar > &patchField, const dictionary &dict)
 
 mappedPatchFieldBase (const mappedPatchBase &mapper, const fvPatchField< scalar > &patchField, const dictionary &dict, const Field< scalar > &fld)
 
 mappedPatchFieldBase (const mappedPatchBase &mapper, const fvPatchField< scalar > &patchField)
 
 mappedPatchFieldBase (const mappedPatchFieldBase< scalar > &mapper)
 
 mappedPatchFieldBase (const mappedPatchBase &mapper, const fvPatchField< scalar > &patchField, const mappedPatchFieldBase< scalar > &base)
 
virtual ~mappedPatchFieldBase ()=default
 
const GeometricField< T, fvPatchField, volMesh > & sampleField (const word &fieldName) const
 
const GeometricField< scalar, fvPatchField, volMesh > & sampleField () const
 
const Foam::GeometricField< Type2, Foam::fvPatchField, Foam::volMesh > & sampleField (const word &fieldName) const
 
virtual tmp< Field< scalar > > mappedField () const
 
virtual tmp< Field< scalar > > mappedInternalField () const
 
virtual tmp< scalarFieldmappedWeightField () const
 
virtual void mappedWeightField (const word &weightFieldName, tmp< scalarField > &thisWeights, tmp< scalarField > &nbrWeights) const
 
void distribute (const word &fieldName, Field< T > &newValues) const
 

Additional Inherited Members

- Public Types inherited from temperatureCoupledBase
enum  KMethodType {
  mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup,
  mtFunction
}
 
- Static Public Member Functions inherited from mappedPatchFieldBase< scalar >
static const mappedPatchBasemapper (const fvPatch &p, const DimensionedField< scalar, volMesh > &iF)
 
- Protected Member Functions inherited from mappedPatchFieldBase< scalar >
void initRetrieveField (const objectRegistry &obr, const word &region, const word &patch, const labelListList &map, const word &fieldName, const Field< T > &fld) const
 
void initRetrieveField (const word &fieldName, const Field< T > &fld) const
 
bool storeAndRetrieveField (const word &fieldName, const label myComm, const labelListList &subMap, const label constructSize, const labelListList &constructMap, const labelListList &address, const scalarListList &weights, Field< T > &fld) const
 
void storeField (const objectRegistry &obr, const word &region, const word &patch, const label myComm, const labelListList &procToMap, const word &fieldName, const Field< T > &fld) const
 
bool retrieveField (const bool allowUnset, const objectRegistry &obr, const word &region, const word &patch, const label myComm, const labelListList &procToMap, const word &fieldName, Field< T > &fld) const
 
- Protected Attributes inherited from temperatureCoupledBase
const fvPatchpatch_
 
const KMethodType method_
 
const word kappaName_
 
const word alphaAniName_
 
const word alphaName_
 
autoPtr< PatchFunction1< scalar > > kappaFunction1_
 
autoPtr< PatchFunction1< scalar > > alphaFunction1_
 
- Protected Attributes inherited from mappedPatchFieldBase< scalar >
const mappedPatchBasemapper_
 
const fvPatchField< scalar > & patchField_
 
word fieldName_
 
const bool setAverage_
 
const scalar average_
 
word interpolationScheme_
 
- Static Protected Attributes inherited from temperatureCoupledBase
static const Enum< KMethodTypeKMethodTypeNames_
 

Detailed Description

Mixed boundary condition for temperature and radiation heat transfer to be used for in multiregion cases. Optional thin thermal layer resistances can be specified through thicknessLayers and kappaLayers entries.

The thermal conductivity kappa can either be retrieved from various possible sources, as detailed in the class temperatureCoupledBase.

Usage
Property Description Required Default value
Tnbr name of the field no T
qrNbr name of the radiative flux in the nbr region no none
qr name of the radiative flux in this region no none
thicknessLayers list of thicknesses per layer [m] no
kappaLayers list of thermal conductivites per layer [W/m/K] no
thicknessLayer single thickness of layer [m] no
kappaLayer corresponding thermal conductivity [W/m/K] no
kappaMethod inherited from temperatureCoupledBase inherited
kappa inherited from temperatureCoupledBase inherited
thermalInertia Add thermal inertia to wall node no false

Example of the boundary condition specification:

    <patchName>
    {
        type            compressible::turbulentTemperatureRadCoupledMixed;
        Tnbr            T;
        qrNbr           qr; // or none. Name of qr field on neighbour region
        qr              qr; // or none. Name of qr field on local region
        thicknessLayers (0.1 0.2 0.3 0.4);
        kappaLayers     (1 2 3 4);
        thermalInertia  false/true;
        kappaMethod     lookup;
        kappa           kappa;
        value           uniform 300;
    }

Needs to be on underlying mapped(Wall)FvPatch.

See also
Foam::temperatureCoupledBase
Source files

Definition at line 150 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ turbulentTemperatureRadCoupledMixedFvPatchScalarField() [1/5]

◆ turbulentTemperatureRadCoupledMixedFvPatchScalarField() [2/5]

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

◆ turbulentTemperatureRadCoupledMixedFvPatchScalarField() [3/5]

◆ turbulentTemperatureRadCoupledMixedFvPatchScalarField() [4/5]

◆ turbulentTemperatureRadCoupledMixedFvPatchScalarField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::turbulentTemperatureRadCoupledMixed"  )

◆ 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 mapper)
virtual

Implements temperatureCoupledBase.

Definition at line 278 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.

References temperatureCoupledBase::autoMap().

Here is the call graph for this function:

◆ rmap()

void rmap ( const fvPatchField< scalar > &  ptf,
const labelList addr 
)
virtual

Implements temperatureCoupledBase.

Definition at line 294 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.

References Foam::refCast(), and temperatureCoupledBase::rmap().

Here is the call graph for this function:

◆ kappa()

tmp< Foam::scalarField > kappa ( const scalarField Tp) const
virtual

Reimplemented from temperatureCoupledBase.

Definition at line 319 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.

References forAll, temperatureCoupledBase::kappa(), and Foam::foamVersion::patch.

Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ manipulateMatrix()

void manipulateMatrix ( fvMatrix< scalar > &  m,
const label  iMatrix,
const direction  cmpt 
)
virtual

Definition at line 574 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Reimplemented from mappedPatchFieldBase< scalar >.

Reimplemented in thermalBaffleFvPatchScalarField.

Definition at line 719 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.

References os(), Foam::vtk::write(), temperatureCoupledBase::write(), and mappedPatchFieldBase< Type >::write().

Referenced by thermalBaffleFvPatchScalarField::write().

Here is the call graph for this function:
Here is the caller graph for this function:

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