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

Multy flow and heat transfer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2020, 04:03
Default Multy flow and heat transfer
  #1
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
Hey,
I have to simulate the different fluids that flow in a pipe.
The problem is that they have also different temperature.


Which solver do you suggest?


theoretically, the interFoam should be the best, but it doesn't take into account the temperature.


What about buoyantSimpleFoam? Can it take in account two different fluids?


Thanks a lot,
carlo
Carlo_P is offline   Reply With Quote

Old   November 26, 2020, 06:08
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
Possibly rhoSimpleFoam.

See e.g.
rhoSimpleFoam Negative initial temperature T0 error
Why is it difficult to get rhoSimpleFoam solver running correctly ?
dlahaye is offline   Reply With Quote

Old   November 26, 2020, 06:18
Default
  #3
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
it depends on what insight you want to gain from the simulation!
if you want to resolve the interface between the two phases to examine the flow regime than Volume of Fluid is neccessary,
if it doesn't bother you and it is ok that both phases are interpenetrating continua and share the same pressure field you would need to use the Eulerian-Eulerian-Approach which are the multiphase family of solvers
for example reactingMultiphaseEulerFoam, which can handle energy equation as well.
geth03 is offline   Reply With Quote

Old   November 26, 2020, 06:20
Default
  #4
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
Hey dlahaye,
thanks..
For rhoSimpleFoam is only for one single fluid.
I need for two different fluids.
Thanks
Carlo_P is offline   Reply With Quote

Old   November 26, 2020, 06:29
Default
  #5
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
Agreed with geth03.

Pls. elaborate on the fluids you desire to simulate.
dlahaye is offline   Reply With Quote

Old   November 27, 2020, 06:08
Default
  #6
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
Quote:
Originally Posted by geth03 View Post
it depends on what insight you want to gain from the simulation!
if you want to resolve the interface between the two phases to examine the flow regime than Volume of Fluid is neccessary,
if it doesn't bother you and it is ok that both phases are interpenetrating continua and share the same pressure field you would need to use the Eulerian-Eulerian-Approach which are the multiphase family of solvers
for example reactingMultiphaseEulerFoam, which can handle energy equation as well.

Thanks, yes, I'm not interested in the interface, since one fluid should mix in the other one.


The simulation is quite simple. Two pipes that become one, with a t cross.
The problem is that the two fluids have different temperatures.
Carlo_P is offline   Reply With Quote

Old   November 27, 2020, 07:21
Default
  #7
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
rhoSimpleFoam is for you.

You can run simpleFoam on the incompressible and isothermal case first, then run rhoSimpleFoam with constant density settings to reproduce simpleFoam, then run rhoSimpleFoam with ideal gas thermodynamics to allow density of hot gas to decrease.

Ishan and Maaike are currently doing exactly the same.

We could form a little squad here.
dlahaye is offline   Reply With Quote

Old   November 27, 2020, 07:29
Default
  #8
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
The problem is that I have two different fluid.
Two different densities, two different viscosities, and so on.
So I can't use rhoSimpleFoam.
Carlo_P is offline   Reply With Quote

Old   November 30, 2020, 04:38
Default
  #9
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
i found the following solver in OF version 7:

Application
twoLiquidMixingFoam

Description
Solver for mixing 2 incompressible fluids.

Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.

unfortunately, the energy equation is not implemented.
if you have the skills to code it, it should serve your needs.
geth03 is offline   Reply With Quote

Reply

Tags
#heattrasfer, multiflow


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


All times are GMT -4. The time now is 15:57.