# Level set and the boundary condation

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

 February 22, 2011, 20:25 Level set and the boundary condation #1 New Member   AlvinXu Join Date: Nov 2009 Posts: 15 Rep Power: 16 I currently try to implement a level-set equation into OpenFOAM for a simulation of air-water effect on cable of cable stayed bridge, first I solve the transport equation and use the zeroGradient boundary condition solve ( fvm::ddt(G) +fvm::div(phi,G) ); but the magnitude of fvc::grad(G) is not equal to one in the boundary cells, how can I deal with problem? second , I solve the reinitialization equation whit steady state method and the Convergence condition is the average of mag(one-fvc::grad(G))=0,but as above, the boundary cell's gradient is not equal to 1, how can I deal with this problem Alvin Last edited by alvin11; February 23, 2011 at 19:28.

 February 24, 2011, 04:13 #2 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,266 Blog Entries: 1 Rep Power: 24 i suggest instead of implement levelset method!!!!!! use redistance function to smooth interface and couple it with VOF method in openFoam

 February 24, 2011, 04:53 #3 Member   Duong A. Hoang Join Date: Apr 2009 Location: Delft, Netherlands Posts: 93 Rep Power: 17 Hi Nima, I am using interFOAM to simulate capillary driven flow also. I found that the VOF method in OF produce quite bad curvature calculation. I am thinking of improving that by using couple level set and VOF or smoothed function. Could you please explain the term "redistance function to smooth interface" for me? Could you please also suggest any literatures for this "redistance function"? Regards, Duong

 February 24, 2011, 05:55 #4 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,266 Blog Entries: 1 Rep Power: 24 first of all!, if ur geometry is 3D use interDyMFoam and use dynamic refinement may be it cures ur problem. im also interested in coupling VOF and level set method in openFoam, i read some articles about but im some how busy to implement it my self now, so it would be great we both share our knowledge about it ,give me ur email i will send u those articles

 February 24, 2011, 16:16 #5 New Member   Join Date: Jul 2009 Posts: 3 Rep Power: 17 Alvin, I'm guessing that the outflow conditions on your redistancing method that are being applied at the boundaries are not consistent with the requirement that mag(Grad(G)) = 1.0

 February 28, 2011, 03:37 #6 Senior Member   Matthias Voß Join Date: Mar 2009 Location: Berlin, Germany Posts: 449 Rep Power: 20 this has already been done. check out:http://www.uni-ulm.de/fileadmin/webs...les/CLSVOF.pdf neewbie

 February 28, 2011, 08:29 #7 Member   Javier Basurco Join Date: Jan 2010 Location: Rio de Janeiro, Brazil Posts: 32 Rep Power: 16 Dear Newbie, May be you can send this article. I don't permission to access this server. Thanks in advance I look a forward to hearing from you Respectfully Ingenierias2003

 February 28, 2011, 09:16 #8 Senior Member   Kathrin Kissling Join Date: Mar 2009 Location: Besigheim, Germany Posts: 134 Rep Power: 17 Hey, pretty similar slides can be found here http://web.student.chalmers.se/group...SlidesOFW5.pdf Best Kathrin

 October 15, 2012, 19:31 #9 Senior Member   Alberto Passalacqua Join Date: Mar 2009 Location: Ames, Iowa, United States Posts: 1,912 Rep Power: 36 Is the code with CLSVOF (or similar approach coupling VOF and level-set) available? __________________ Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using.

 Tags level set