|
[Sponsors] |
September 14, 2023, 17:45 |
Sharp interface modelling using openfoam
|
#1 |
New Member
Rahul Agarwal
Join Date: Sep 2023
Posts: 2
Rep Power: 0 |
Dear Foamers,
Greetings! Can anyone kindly let me know how I can construct a sharp interface while modelling a droplet using VOF interfoam (using MULES). Even after using compression schemes, when I initialize the volume fraction using setFields, I get a diffuse interface upon visualization. Many thanks. |
|
September 15, 2023, 04:14 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,222
Rep Power: 28 |
Hello,
After running setFields you should not have any diffusion of the interface. (setFields just sets alpha to 0 or 1) So I guess your issue might be related to visualization in paraView: uncheck the "Skip Zero Time" option when loading your case if you want to check the fields initialized with setFields on time 0. Then make sure you are plotting cell values rather than node values (see attached screenshot) I hope this helps, Yann |
|
September 15, 2023, 14:04 |
|
#3 |
New Member
Rahul Agarwal
Join Date: Sep 2023
Posts: 2
Rep Power: 0 |
Dear Yann,
Thank you for your response. For the initial time (t =0), the interface produced is sharp. I have one more issue concerning this - Using VOF with compression schemes and MULES, results in diffusive interface as the time progresses. However, if you see this paper - "Droplet impact on deep liquid pools: Rayleigh jet to formation of secondary droplets" (https://journals.aps.org/pre/pdf/10....RevE.92.053022), they have sharp interface obtained under similar schemes as the time progresses. Do you an idea concerning this? |
|
September 18, 2023, 05:24 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,222
Rep Power: 28 |
Hello Rahul,
My first idea would be the mesh: how fine is your mesh compared to the article your linked? AFAIK, you will not get a perfectly sharp interface, there will always have diffusion at the interface with VOF, even with compression schemes. At least with the default OpenFOAM implementation. I only had a quick look at the article you mentioned, so I don't know if the authors implemented other methods or tweaked the default parameters. Yann |
|
October 4, 2023, 05:14 |
|
#5 |
Member
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 85
Rep Power: 6 |
Diffusion is inherent in scalar transport eqs. If it is purely Hex cells, dynamicRefineFvMesh will refine the cells where isolines are at alpha1 = 0.5. But then, the mesh size matters. Hope this helps.
|
|
Tags |
openfoam, sharp interface, vof |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Combustion modelling in OpenFOAM - Difficulties | AleDR | OpenFOAM Running, Solving & CFD | 23 | January 31, 2021 00:40 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 14:14 |