|
[Sponsors] |
January 10, 2018, 11:09 |
implement level set to compressibleInterFoam
|
#1 |
Member
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 9 |
Dear Foamers,
Does anybody implement level set method into compressibleInterFoam? Could you please tell me some theory guide? Best Regards CYW |
|
January 10, 2018, 14:29 |
|
#2 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13 |
I have been working on it in my free time so I haven't had a significant progress yet.
Here is a good starting point. Look for "Coupled Level-Set with VOF interFoam, Sankar Menon (2014)" in the link and you can find the report as well as the files. |
|
January 11, 2018, 10:50 |
level set in compressibleInterFoam
|
#3 | |
Member
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 9 |
Quote:
|
||
January 11, 2018, 11:23 |
|
#4 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13 |
I will resume the work next month, will let you know if I have any achievement in this regard and if interested we can work together.
|
|
January 11, 2018, 12:17 |
|
#5 |
Member
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 9 |
||
January 11, 2018, 15:52 |
|
#6 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13 |
Sorry, I've got my hands full this month. If you have any success please let me know. If you have any specific errors regarding implementation also maybe I can help.
|
|
January 12, 2018, 12:28 |
|
#7 |
Member
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 9 |
No problem. I am simulating a bubble in still water without gravity. For interFoam and sclsVOFFoam, the result is OK and the parasitic current can be controlled. But for the compressibleInterFoam and sclsVOF_compressible, the result is not OK. The parasitic currents exist. Coupled level set method can not solve this problem. I am not sure if the method or my programming is wrong.
|
|
January 12, 2018, 13:54 |
|
#8 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13 |
Parasitic currents are a result of the way surface tension is implemented in OF so you have pay extra attention to the way compressibleInterFoam deals with surface tension modeling as it is different than interFoam. So implementing LS is not as straight forward as interFoam.
|
|
January 12, 2018, 14:42 |
surface tension in compressibleInterFoam
|
#9 | |
Member
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 9 |
Quote:
which is interface.surfaceTensionForce(). |
||
January 12, 2018, 15:56 |
|
#10 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13 |
In case of a quiescent flow without gravity, lack of balance in surface tension and pressure gradient forces, and errors in curvature calculations is the source of the currents.
So I would suggest to look into this case and see how compressibility makes a difference in this simple case. At least that's what I was trying to do and understand. Just put a square bubble in a domain where the boundaries are 4 times the radius away from the bubble, remove the gravity and try it with the models that you have and figure out what are the differences. |
|
January 13, 2018, 16:49 |
|
#11 | |
Member
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 9 |
Quote:
|
||
January 13, 2018, 17:03 |
|
#12 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13 |
I see.
In general I don't think coupling with LS provide a significant advantages in this case, otherwise they would have implemented it officially. The CIF solver is complex, adding more complexity wouldn't help I suppose. There are some alternatives though. If you need sharp interface you can try using isoAdvector solver. It's already a part of OF v1706, here. There are some nice comparison between interFoam and CLSVOF in this paper. interFoam performs very well. Also, you can try implementing a force balancing algorithm which are specifically for this purpose, for example this paper. |
|
January 18, 2018, 08:36 |
|
#13 |
Member
Yuanwei Cao
Join Date: Jun 2017
Location: Munich,Germany
Posts: 54
Rep Power: 9 |
Have you simulated the dambreak case in the tutorial with sclsVOFFoam? What is the result?
In the report, the sclsVOFFoam can only handle zerogradient boundary condionts? What does that mean? How to handle other boundary conditions? |
|
January 18, 2021, 07:27 |
|
#14 | |
New Member
Armin Alavi
Join Date: May 2019
Location: Tehran
Posts: 22
Rep Power: 7 |
Quote:
Did you manage to find out how to handle other boundary conditions in the sclsVOFFoam solver? |
||
Tags |
compressibleinterfoam, level set, multiphase |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] ICEM Scripting Issues | tylerplowright | ANSYS Meshing & Geometry | 33 | September 27, 2021 17:35 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Problem on high density ratio in Level Set method | Kai Yan | Main CFD Forum | 10 | December 25, 2007 07:12 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
How to set environment variables | kanishka | OpenFOAM Installation | 1 | September 4, 2005 11:15 |