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

Issue with Phase Segregation in Oil-Water Multiphase Simulation using interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2024, 08:49
Default Issue with Phase Segregation in Oil-Water Multiphase Simulation using interFoam
  #1
New Member
 
Sandeep Raheja
Join Date: Apr 2024
Location: Abu Dhabi
Posts: 3
Rep Power: 2
sraheja is on a distinguished road
Hello everyone,

I am a newbie to CFD and Openfoam. I am currently working on a multiphase simulation in OpenFOAM using the `interFoam` solver to model the segregation of oil and water in a still atmospheric tank without any inlet/outlet flows. The tank dimensions are 4m x 2m with a height of 1m, and it is initially filled with an oil-water mixture where oil comprises 50% of the total volume. Despite setting up the simulation to observe the phases separating over time, I have not seen any segregation between oil and water, as the oil should float to the top due to its lower density.

Here are some details of my setup:
- Solver: interFoam
- Initial Condition: Uniform distribution of alpha.oil = 0.5 across the domain.
- Boundary Conditions: Walls are set to noSlip, and the top is a free-slip boundary at atmospheric pressure.
- Mesh: Structured mesh with 20 cells/m resolution.

I have tried to check the physical properties, boundary conditions, and numerical schemes, but the phases remain mixed without clear separation. Gravity is also applied in the constant/g file in negative Z direction.

I am looking for insights or suggestions that might help in diagnosing and resolving this issue. My next goal is to also add inlet/outlet nozzles and a weir plate also which I will model after I fix such a simple scheme

Could there be an issue with my solver settings, BCs or the way the initial conditions are applied?



I am attaching the complete case setup files along with the blockmesh dictionary.
Any advice on adjustments to the setup or further diagnostic steps would be greatly appreciated!
Attached Files
File Type: zip case.zip (6.5 KB, 3 views)
sraheja is offline   Reply With Quote

Old   May 14, 2024, 10:32
Default
  #2
New Member
 
Duve Ribberink
Join Date: Mar 2024
Location: Netherlands
Posts: 5
Rep Power: 2
Raduviant is on a distinguished road
Hi,

Also a fairly new OpenFOAM/CFD user here, but I think I have a possible explanation.

I took your case and used setFieldsDict (look at e.g. multiphase/RAS/weirOverflow tutorial case) to set alpha.oil to 1 in the lower half of your domain and to 0 in the upper half. The subsequent behaviour seemed realistic. I think the lack of phase separation in your case might be due to a lack of gradients between cells.

Hope this helps
Raduviant is offline   Reply With Quote

Reply

Tags
interfoam solver, multi phase, openfoam v2312


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
What are the best settings for a channel flow simulation? Ashkan Kashani CFX 3 October 13, 2022 22:36
Weird appearance of water phase in cells when using InterFoam madfan123 OpenFOAM Running, Solving & CFD 1 January 24, 2021 10:51
Oil and water separation multiphase Shahla Fluent Multiphase 0 May 22, 2018 12:45
Simulation of dispersion of oil droplets in water -two issues milan.2012 CFX 8 April 12, 2018 19:38
Simulation Water and Oil URGENT problem alexandrelp CFX 3 May 5, 2014 22:20


All times are GMT -4. The time now is 11:29.