How to define the expansion coefficient in code saturne?

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
MartianDuan
Posts: 74
Joined: Fri Aug 02, 2013 4:26 pm

How to define the expansion coefficient in code saturne?

Post 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.
Erwan Le Coupanec
Posts: 45
Joined: Sun Sep 08, 2013 8:50 pm

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

Post 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
Post Reply