Public Member Functions | List of all members
lumpedMassWallTemperatureFvPatchScalarField Class Reference

Employs a lumped mass model for temperature. More...

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

Public Member Functions

 TypeName ("lumpedMassWallTemperature")
 
 lumpedMassWallTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 lumpedMassWallTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 lumpedMassWallTemperatureFvPatchScalarField (const lumpedMassWallTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 lumpedMassWallTemperatureFvPatchScalarField (const lumpedMassWallTemperatureFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 lumpedMassWallTemperatureFvPatchScalarField (const lumpedMassWallTemperatureFvPatchScalarField &, 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 void updateCoeffs ()
 
void write (Ostream &) 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< scalarFieldkappa (const scalarField &Tp) const
 
virtual tmp< scalarFieldalpha (const scalarField &Tp) const
 
void write (Ostream &os) const
 

Additional Inherited Members

- Public Types inherited from temperatureCoupledBase
enum  KMethodType {
  mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup,
  mtFunction
}
 
- 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_
 
- Static Protected Attributes inherited from temperatureCoupledBase
static const Enum< KMethodTypeKMethodTypeNames_
 

Detailed Description

Employs a lumped mass model for temperature.

It considers a single temperature value for the whole patch and evaluates the temperature evolution using the net heat flux into the patch.

Usage
Property Description Required Default value
kappaMethod thermal conductivity option yes
Cp Heat capacity [J/kg.K] yes
mass Total mass [kg] yes

Example of the boundary condition specification:

    myPatch
    {
        type            lumpedMassWallTemperature;
        kappaMethod     fluidThermo;
        kappa           none;
        mass            1000;
        Cp              4100;
        value           uniform 300.0;
    }
Source files

Definition at line 94 of file lumpedMassWallTemperatureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ lumpedMassWallTemperatureFvPatchScalarField() [1/5]

Definition at line 31 of file lumpedMassWallTemperatureFvPatchScalarField.C.

Referenced by lumpedMassWallTemperatureFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ lumpedMassWallTemperatureFvPatchScalarField() [2/5]

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

Definition at line 74 of file lumpedMassWallTemperatureFvPatchScalarField.C.

References dict, and p.

◆ lumpedMassWallTemperatureFvPatchScalarField() [3/5]

◆ lumpedMassWallTemperatureFvPatchScalarField() [4/5]

◆ lumpedMassWallTemperatureFvPatchScalarField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "lumpedMassWallTemperature"  )

◆ 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

◆ rmap()

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

Implements temperatureCoupledBase.

Definition at line 136 of file lumpedMassWallTemperatureFvPatchScalarField.C.

References Foam::refCast().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const

Definition at line 216 of file lumpedMassWallTemperatureFvPatchScalarField.C.

References os(), Foam::vtk::write(), temperatureCoupledBase::write(), and Ostream::writeEntry().

Here is the call graph for this function:

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