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

Solving two fluids

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 26, 2014, 08:06
Default Solving two fluids
  #1
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 5
Dadou is on a distinguished road
Dear OF community,

I will soon start a project on OpenFOAM for my company. What they want me to model is a kind of dam fill with water and passing through a small channel ( I know it's not clear) and they want to put oil on top of this water to see if this oil pushes the water through this small channel.

My questions are :

- Does any one of you has any idea if there's a similar tutorial on the OpenFOAM folder or anywhere else ?
- How much do you think these kind of models take time (roughly speaking) ?

Hope I'll get a quick answer

Thank you

Regards
Dadou is offline   Reply With Quote

Old   January 26, 2014, 08:29
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 318
Rep Power: 7
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Hi Mehdi,

I think you can use the interFoam solver. interFoam is a solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach.
it's not an intricate project and depend on your parameters that would be changed, it take time.
adambarfi is offline   Reply With Quote

Old   January 26, 2014, 09:12
Default
  #3
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 5
Dadou is on a distinguished road
Hi Adam,

Thank you a lot!!

Do you have any tutorial ? I know there's the dambreak but as far as I knoz it doesn't use two fluids

Thanks

regards
Dadou is offline   Reply With Quote

Old   January 26, 2014, 10:20
Default
  #4
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 318
Rep Power: 7
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
hi again,

the below link contains a comprehensive tutorial file of using interFoam in openFoam which is prepared by Mr. Hemida of Chalmer's Uni. I think it has what you need for your project.

about damBreak case, if you look at transportPeroperies file you see it uses two fluids which the secondary phase will be patched to geometry using setFieldsDict.

read the below tutorial, it has very tips you need:

http://www.tfd.chalmers.se/~hani/kur...Hemida_VOF.pdf
adambarfi is offline   Reply With Quote

Old   January 27, 2014, 01:30
Default
  #5
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 5
Dadou is on a distinguished road
Hi again,

Thank you so much for your help.

Dadou
Dadou is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 14:12
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 05:36.