My Project
programmer's documentation
Data Fields
cs_thermal_model_t Struct Reference

Thermal model descriptor. More...

#include <cs_thermal_model.h>

Collaboration diagram for cs_thermal_model_t:
Collaboration graph

Data Fields

int itherm
 
int itpscl
 
int iscalt
 

Detailed Description

Thermal model descriptor.

Members of this thermal model are publicly accessible, to allow for concise syntax, as it is expected to be used in many places.

Field Documentation

◆ iscalt

iscalt

Index of the thermal scalar (temperature, energy or enthalpy).
The index of the corresponding variable is isca(iscalt) If iscalt = -1, neither the temperature nor the enthalpy is represented by a scalar. When a specific physics module is activated (gas combustion, pulverised coal, electricity or compressible), the user must not modify iscalt (the choice is made automatically). In the case of the compressible module, iscalt does not correspond to the temperature nor enthalpy but to the total energy}.
Useful if and only if nscal $\geqslant$ 1.

◆ itherm

itherm

Thermal model

  • 0: no thermal model
  • 1: temperature
  • 2: enthalpy
  • 3: total energy (only for compressible module)
    When a particular physics module is activated (gas combustion, pulverised coal, electricity or compressible), the user must not modify itherm (the choice is made automatically: the solved variable is either the enthalpy or the total energy). The user is also reminded that, in the case of a coupling with SYRTHES, the solved thermal variable should be the temperature (itherm = 1). More precisely, everything is designed in the code to allow for the running of a calculation coupled with SYRTHES with the enthalpy as thermal variable (the correspondence and conversion is then specified by the user in the subroutine usthht). However this case has never been used in practice and has therefore not been tested. With the compressible model, it is possible to carry out calculations coupled with SYRTHES, although the thermal scalar represents the total energy and not the temperature.

◆ itpscl

itpscl

Temperature scale

  • 0: none
  • 1: Kelvin
  • 2: Celsius The distinction between itpscl = 1 or 2 is useful only in case of radiation modelling. For calculations without radiation modelling, use itpscl = 1 for the temperature.
    Useful if and only if nscal $\geqslant$ 1.

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