code-saturne / code_saturne

code_saturne public mirror
https://www.code-saturne.org
GNU General Public License v2.0
223 stars 82 forks source link

Initialization for cases with variable density and idilat>1 #12

Closed mathrack closed 6 years ago

mathrack commented 6 years ago

Dear users, developers,

I had some issues to initialize a case with idilat=2, here is my workaround:

! Apply equation of state from user subroutine call usphyv(nvar, nscal, 0, dt)

! Put it into previous density call field_current_to_previous(icrom)



Best,
Cédric