|
[Sponsors] |
February 22, 2019, 04:21 |
Multiregion and multiphase solver
|
#1 |
New Member
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 7 |
Hi!
I'm trying to solve a multiregion case, where in one of the regions, I need to have gas and liquid. I can do that using other solvers which implements multiphase functions, but I don't know how to do it in a multiregion enviroment. My idea was to use thermophysicalProperties to define each of the phases, but something is not well defined since I've got always negative temperature error. My actual thermophysicalProperties file is: thermoType { type heRhoThermo; mixture multiComponentMixture; transport const; thermo hConst; equationOfState rhoConst; specie specie; energy sensibleEnthalpy; } species ( water air air2 ); water { specie { molWeight 18; } equationOfState { rho 500; } thermodynamics { Cp 4195; Hf 0; } transport { mu 3.645e-4; Pr 2.289; } } air { specie { molWeight 28.9; } equationOfState { rho 100; } thermodynamics { Cp 1007; Hf 0; } transport { mu 1.84e-05; Pr 0.7; } } air2 { specie { molWeight 28.9; } equationOfState { rho 100; } thermodynamics { Cp 1007; Hf 0; } transport { mu 1.84e-05; Pr 0.7; } } Anyone knows how to do it properly? Thanks |
|
|
|