# Level set and the boundary condation

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

 February 22, 2011, 21:25 Level set and the boundary condation #1 New Member   AlvinXu Join Date: Nov 2009 Posts: 15 Rep Power: 8 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 20:28.

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

 February 24, 2011, 05:53 #3 Member   Duong A. Hoang Join Date: Apr 2009 Location: Delft, Netherlands Posts: 92 Rep Power: 9 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, 06:55 #4 Senior Member   Nima Samkhaniani Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,195 Blog Entries: 1 Rep Power: 16 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, 17:16 #5 New Member   Join Date: Jul 2009 Posts: 3 Rep Power: 9 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, 04:37 #6 Senior Member   Matthias Voß Join Date: Mar 2009 Location: Berlin, Germany Posts: 446 Rep Power: 12 this has already been done. check out:http://www.uni-ulm.de/fileadmin/webs...les/CLSVOF.pdf neewbie

 February 28, 2011, 09:29 #7 Member   Javier Basurco Join Date: Jan 2010 Location: Rio de Janeiro, Brazil Posts: 33 Rep Power: 8 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, 10:16 #8 Senior Member   Kathrin Kissling Join Date: Mar 2009 Location: Besigheim, Germany Posts: 134 Rep Power: 9 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,910 Rep Power: 27 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. 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

All times are GMT -4. The time now is 12:42.