Phase transition

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

Phase transition

Post by Martin Isack »

Hello,

is Code_Saturne able to handle phase transitions? I would like to simulate condensation, vaporization, melting and freezing processes.

Kind regards,
Martin
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Phase transition

Post by Yvan Fournier »

Hello,

No, Code_Saturne is not able to handle phase transitions, at least not without added user modeling. The code can handle some gas-particle multiphase flows for specific physics, but not phase changes, or at least, not "out of the box".

The NEPTUNE_CFD code is based in part on Code_Saturne, and can handle 2-phase flows, but it is not free software (being co-property of EDF, CEA, Areva, and IRSN, whereas Code_Saturne is authored solely by EDF). If I am not mistaken, it is available to some reasearch partners, such as those in the European NURISP project. It is mainly oriented towards water/wapor flows, with a continuum representation of bubbly flows (i.e. not DNS).

If your phase transitions are not too rapid and do not require a specific time scheme, you could simulate phase changes in Code_Saturne by using additional scalars representing for example a liquid/gas ratio, and define variable physical properties based on that ratio.

But if different phases flow at different velocities for example, this will not be enough. You could then use Code_Saturne/Code_Saturne coupling to couple 2 or more instances of the code, one for each phase, and use source terms to go from one phase to the other, but this would probably only have a chance of providing correct results if the phase change is not too rapid (coupling is explicit, optionaly using sub-iterations).

So in any case, doing this with Code_Saturne requires rather extensive development, at least of a user model.

Other developpers/users may correct/complete me.

Best regards,

Yvan
Post Reply