Enthalpy properties on Joule study

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Christophe Rehmet

Enthalpy properties on Joule study

Post by Christophe Rehmet »

Hello everbody,
 
I have some problem to tabulate enthalpy properties in joule study. In the file usthht.f90 (from Reference elec), it is writing:

line 149

!   on interpole lineairement
      do it = 2, ntab
      if(temper.le.th(it)) then
        enthal = ht(it-1)                                         &
          +(temper-th(it-1))*(ht(it)-ht(it-1))/(th(it)-th(it-1))
      endif
    enddo

Were the programm take this data (ht and th) and how to enter new data file? I want to use Azote properties.

Thanks in advance for your help

Christophe
Yvan Fournier

Re: Enthalpy properties on Joule study

Post by Yvan Fournier »

Hello,
In this example, the tabulated values are defined in the beginning of the file (lines 86-92 for version 2.0.1).
You may replace this definition with your own.
Best regards,
  Yvan
Post Reply