CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > CFD Freelancers

Problem in oil/water phase segregation in Openfoam/Interfoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 29, 2024, 05:36
Default Problem in oil/water phase segregation in Openfoam/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,
This is for a short term project for which I am willing to pay.
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 the negative Z direction.

I also tried another simple case of a still-settling tank, but this tank had an altered initial condition: lighter oil was at the bottom and heavier water was at the top. The simulation ran for some time, showing oil moving to the top and water to the bottom, but it became slow after 14 seconds of physical time while working on an adjustable time step as it struggled to maintain a courant number.

I seek insights or suggestions that might help diagnose and resolve this issue. My next goal is to add inlet/outlet nozzles and a weir plate for a realistic storage tank, which I will model after fixing such a simple scheme. The paid project would involve estimating effective settling periods and attainable oil water separation efficiencies in some typical configurations.

Could there be an issue with my solver settings and BCs, or how 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! I can discuss further payment terms and conditions with those willing to mentor on such problems using opensource tools like OpenFoam/Gmsh and Salome.

regards
Attached Files
File Type: zip case.zip (6.5 KB, 2 views)
sraheja is offline   Reply With Quote

 

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
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 16:12
[swak4Foam] mass conservation of solid phase violated when using groovyBC with twoPhaseEulerFoam xpqiu OpenFOAM Community Contributions 8 June 17, 2015 02:08
Problem with Schnerr-Sauer cavitation model combining air phase??? dinhanh FLUENT 2 June 1, 2015 16:38
Three phase problem in Trickle bed omar.rahul Main CFD Forum 0 April 6, 2015 00:23
Problem with phase separation in t-junction estenmark FLUENT 2 June 3, 2014 20:18


All times are GMT -4. The time now is 01:31.