externalWallLayersHeatTransferCoefficient Class Reference

Runtime selectable DimensionedFieldFunction providing the heat transfer coefficient for a number of layers of conductive materials. More...

Inheritance diagram for externalWallLayersHeatTransferCoefficient:
Collaboration diagram for externalWallLayersHeatTransferCoefficient:

Public Member Functions

 TypeName ("externalWallLayersHeatTransferCoefficient")
 Runtime type information. More...
 
 externalWallLayersHeatTransferCoefficient (const dictionary &dict, DimensionedField< scalar, fvPatch > &field)
 Construct with dictionary to initialise given field. More...
 
 externalWallLayersHeatTransferCoefficient (const externalWallLayersHeatTransferCoefficient &dff, DimensionedField< scalar, fvPatch > &field)
 Construct a copy for the given field. More...
 
virtual autoPtr< DimensionedFieldFunction< DimensionedField< scalar, fvPatch > > > clone (DimensionedField< scalar, fvPatch > &field) const
 Construct and return a clone for the specified field. More...
 
virtual ~externalWallLayersHeatTransferCoefficient ()
 Destructor. More...
 
virtual void evaluate ()
 Evaluate the function and set the field. More...
 
virtual void write (Ostream &os) const
 Write data to dictionary stream. More...
 
- Public Member Functions inherited from wallLayersHeatTransferCoefficient
 TypeName ("wallLayersHeatTransferCoefficient")
 Runtime type information. More...
 
 wallLayersHeatTransferCoefficient (const dictionary &dict, DimensionedField< scalar, fvPatch > &field)
 Construct with dictionary to initialise given field. More...
 
 wallLayersHeatTransferCoefficient (const wallLayersHeatTransferCoefficient &dff, DimensionedField< scalar, fvPatch > &field)
 Construct a copy for the given field. More...
 
virtual ~wallLayersHeatTransferCoefficient ()
 Destructor. More...
 
- Public Member Functions inherited from DimensionedFieldFunction< DimensionedField< scalar, fvPatch > >
 TypeName ("DimensionedFieldFunction")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, DimensionedFieldFunction, dictionary,(const dictionary &dict, DimensionedField< scalar, fvPatch > &field),(dict, field))
 
 DimensionedFieldFunction (const dictionary &dict, DimensionedField< scalar, fvPatch > &field)
 Construct with dictionary to initialise given field. More...
 
 DimensionedFieldFunction (const DimensionedFieldFunction &dff, DimensionedField< scalar, fvPatch > &field)
 Construct a copy for the given field. More...
 
 DimensionedFieldFunction (const DimensionedFieldFunction< DimensionedField< scalar, fvPatch > > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual autoPtr< DimensionedFieldFunction< DimensionedField< scalar, fvPatch > > > clone () const
 Construct and return a clone for the specified field. More...
 
virtual ~DimensionedFieldFunction ()
 Destructor. More...
 
virtual bool update ()
 Update the field if the function has changed and return true. More...
 
virtual void reset ()
 Reset the field size. More...
 
void operator= (const DimensionedFieldFunction< DimensionedField< scalar, fvPatch > > &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DimensionedFieldFunction< DimensionedField< scalar, fvPatch > >
static autoPtr< DimensionedFieldFunction< DimensionedField< scalar, fvPatch > > > New (const dictionary &dict, DimensionedField< scalar, fvPatch > &field)
 Select null constructed. More...
 
- Protected Attributes inherited from DimensionedFieldFunction< DimensionedField< scalar, fvPatch > >
DimensionedField< scalar, fvPatch > & field_
 Reference to the field the function applies to. More...
 

Detailed Description

Runtime selectable DimensionedFieldFunction providing the heat transfer coefficient for a number of layers of conductive materials.

Typically used to provide the thermal resistance or insulation layers with the Foam::externalTemperatureFvPatchScalarField boundary condition.

Usage
Property Description Required Default value
h Heat transfer coefficient [W/m^2/K] yes
thicknessLayers list of thicknesses per layer [m] yes
kappaLayers list of thermal conductivities per layer [W/m/K] yes

Example of the boundary condition specification:

    <patchName>
    {
        type            externalTemperature;

        Ta              constant 300.0;

        h
        {
            type              externalWallLayersHeatTransferCoefficient;

            h                 10.0;
            thicknessLayers   (0.1 0.2 0.3 0.4);
            kappaLayers       (1 2 3 4);
        }

        value           $internalField;
    }
Source files

Definition at line 103 of file externalWallLayersHeatTransferCoefficient_DimensionedFieldFunction.H.

Constructor & Destructor Documentation

◆ externalWallLayersHeatTransferCoefficient() [1/2]

Construct with dictionary to initialise given field.

Definition at line 56 of file externalWallLayersHeatTransferCoefficient_DimensionedFieldFunction.C.

◆ externalWallLayersHeatTransferCoefficient() [2/2]

◆ ~externalWallLayersHeatTransferCoefficient()

Member Function Documentation

◆ TypeName()

TypeName ( "externalWallLayersHeatTransferCoefficient"  )

Runtime type information.

◆ clone()

virtual autoPtr<DimensionedFieldFunction<DimensionedField<scalar, fvPatch> > > clone ( DimensionedField< scalar, fvPatch > &  field) const
virtual

Construct and return a clone for the specified field.

Reimplemented from wallLayersHeatTransferCoefficient.

◆ evaluate()

void evaluate ( )
virtual

Evaluate the function and set the field.

Reimplemented from wallLayersHeatTransferCoefficient.

Definition at line 108 of file externalWallLayersHeatTransferCoefficient_DimensionedFieldFunction.C.

References wallLayersHeatTransferCoefficient::evaluate().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write data to dictionary stream.

Reimplemented from wallLayersHeatTransferCoefficient.

Definition at line 117 of file externalWallLayersHeatTransferCoefficient_DimensionedFieldFunction.C.

References wallLayersHeatTransferCoefficient::write(), and Foam::writeEntry().

Here is the call graph for this function:

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