energy_fields_t Derived Type

type, public :: energy_fields_t

Cell-centered energy variables.


Components

Type Visibility Attributes Name Initial
real(kind=rk), public, allocatable :: T(:)
real(kind=rk), public, allocatable :: T_old(:)
real(kind=rk), public, allocatable :: cp(:)
real(kind=rk), public, allocatable :: h(:)
real(kind=rk), public, allocatable :: h_old(:)
logical, public :: initialized = .false.
real(kind=rk), public, allocatable :: lambda(:)
real(kind=rk), public, allocatable :: qrad(:)
real(kind=rk), public, allocatable :: rho_thermo(:)

Source Code

   type, public :: energy_fields_t
      real(rk), allocatable :: T(:)          !< Temperature [K].
      real(rk), allocatable :: T_old(:)      !< Previous temperature state [K].
      real(rk), allocatable :: h(:)          !< Transported mixture sensible enthalpy [J/kg].
      real(rk), allocatable :: h_old(:)      !< Previous enthalpy state [J/kg].
      real(rk), allocatable :: qrad(:)       !< Volumetric source term [W/m^3]; positive values heat the gas.
      real(rk), allocatable :: cp(:)         !< Mixture heat capacity at constant pressure [J/kg/K].
      real(rk), allocatable :: lambda(:)     !< Thermal conductivity [W/m/K].
      real(rk), allocatable :: rho_thermo(:) !< Cantera thermodynamic density [kg/m^3], diagnostic/future-use.
      logical :: initialized = .false.  !< True after allocation/initialization.
   end type energy_fields_t