wallLayersHeatTransferCoefficient Class Reference

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

Inheritance diagram for wallLayersHeatTransferCoefficient:
Collaboration diagram for wallLayersHeatTransferCoefficient:

Public Member Functions

 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 autoPtr< DimensionedFieldFunction< DimensionedField< scalar, fvPatch > > > clone (DimensionedField< scalar, fvPatch > &field) const
 Construct and return a clone for the specified field. More...
 
virtual ~wallLayersHeatTransferCoefficient ()
 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 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 thermal resistance between regions with the Foam::coupledTemperatureFvPatchScalarField boundary condition.

Usage
Property Description Required Default value
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            coupledTemperature;

        h
        {
            type              wallLayersHeatTransferCoefficient;

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

        value           $internalField;
    }
Source files

Definition at line 95 of file wallLayersHeatTransferCoefficient_DimensionedFieldFunction.H.

Constructor & Destructor Documentation

◆ wallLayersHeatTransferCoefficient() [1/2]

wallLayersHeatTransferCoefficient ( const dictionary dict,
DimensionedField< scalar, fvPatch > &  field 
)

Construct with dictionary to initialise given field.

Definition at line 56 of file wallLayersHeatTransferCoefficient_DimensionedFieldFunction.C.

◆ wallLayersHeatTransferCoefficient() [2/2]

Construct a copy for the given field.

Definition at line 69 of file wallLayersHeatTransferCoefficient_DimensionedFieldFunction.C.

◆ ~wallLayersHeatTransferCoefficient()

virtual ~wallLayersHeatTransferCoefficient ( )
inlinevirtual

Destructor.

Definition at line 137 of file wallLayersHeatTransferCoefficient_DimensionedFieldFunction.H.

Member Function Documentation

◆ TypeName()

TypeName ( "wallLayersHeatTransferCoefficient"  )

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.

Implements DimensionedFieldFunction< DimensionedField< scalar, fvPatch > >.

Reimplemented in externalWallLayersHeatTransferCoefficient.

◆ evaluate()

void evaluate ( )
virtual

Evaluate the function and set the field.

Implements DimensionedFieldFunction< DimensionedField< scalar, fvPatch > >.

Reimplemented in externalWallLayersHeatTransferCoefficient.

Definition at line 107 of file wallLayersHeatTransferCoefficient_DimensionedFieldFunction.C.

References forAll, and Foam::constant::universal::h.

Referenced by externalWallLayersHeatTransferCoefficient::evaluate().

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write data to dictionary stream.

Implements DimensionedFieldFunction< DimensionedField< scalar, fvPatch > >.

Reimplemented in externalWallLayersHeatTransferCoefficient.

Definition at line 122 of file wallLayersHeatTransferCoefficient_DimensionedFieldFunction.C.

References Foam::writeEntry().

Referenced by externalWallLayersHeatTransferCoefficient::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: