Page 1 of 1

How to define the expansion coefficient in code saturne?

Posted: Mon Aug 11, 2014 1:39 am
by MartianDuan
Hi developers and users,

According to the theory book, there is the expansion coeffiecient in the energy equation for the compressible flow.

Do you know where can I define it? And, can you please share some example with me?

Thanks in advance,

Yu.

Re: How to define the expansion coefficient in code saturne?

Posted: Mon Aug 18, 2014 10:08 am
by Erwan Le Coupanec
Hello,

If you refer to the term mentioned in the state law in the compressible doc (though I'm not sure you do), you can define its law in the file cfther.f90. There, you'll find a routine called

Code: Select all

cf_thermo_eps_sup
which is called in

Code: Select all

cfener
.

Regards,

Erwan