CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Multiregion and multiphase solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2019, 04:21
Default Multiregion and multiphase solver
  #1
New Member
 
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 7
iconde is on a distinguished road
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
iconde is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:04.