
[Sponsors] 
Looking for paper "Implementation of level set method ..." by Bitan Shu, et al 

LinkBack  Thread Tools  Search this Thread  Display Modes 
August 2, 2015, 02:39 

#41 
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Dear, Matteo
I also have the same questions as you. Have you solved your problem now? Could you give me some hints? Regards, Wen 

August 2, 2015, 11:33 

#42 
New Member
Mostafa Mobli
Join Date: Feb 2015
Posts: 8
Rep Power: 9 

August 2, 2015, 21:06 

#43 
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Dear Mostafa,
Thank you for your reply. I want to know how you implement this into OF. Do you solve Eq. (10) directly or to solve equation (13) which is the discrete form? If you iterate the discrete form, how do you implement the equation (11) and (12)? Could you speak more specifically? Thank you in advance! Best. Wen 

August 3, 2015, 08:42 

#44  
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Quote:


August 3, 2015, 11:35 

#45  
New Member
Mostafa Mobli
Join Date: Feb 2015
Posts: 8
Rep Power: 9 
Quote:
Dear Wen Actually I have used equation 13 for the reinitialization. To calculate the Goundav coefficient you can refer to this repository: https://github.com/suhasjains/OpenFOAM I have followed the same procedure and my code is running but there is no reasonable result yet. Right now I am dealing with calculation of Psi fluxes. I don't know whether it should something calculation of phiAlpha in interFoam or not? Bests Mostafa 

August 3, 2015, 23:02 

#47  
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Dear Mostafa,
I have looked into the Goundav coefficient you can refer to. But there are some details I cannot understand. Quote:
regards, Wen 

August 7, 2015, 05:20 

#48 
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Dear everybody on this thread.
I do not know anyone has successfully implement level set into OF. But I found that the discrete form (Equation 11) of the reinitialization equation in Shu's paper is not correct!!! He just directly follows Sussman's paper of equation 29. Because the discrete form of the reinialization equation in the reference paper (Sussman et al 1994) is based on FDM with structured mesh. However, it is not the same thing in OF, since in OF every mesh can have many faces. That means the sign distance function can not be simply discritized like that. If I am wrong, please correct me! Regards, Wen 

August 7, 2015, 10:02 

#49  
New Member
Mostafa Mobli
Join Date: Feb 2015
Posts: 8
Rep Power: 9 
Quote:
Sorry for the late reply, As far as I understand this code is re meshing the domain and solve and reinitialize the level set in defined mesh of its own and I think as long as you use a uniform structured mesh this method should work, ( at leastworks for me). Also why should the deltax, deltay and deltaz values refer to whole domain instead of mesh step size? You can also solve the equation by writing these few lines of code: for (int corr=0; corr<nCorr; corr++) { psi = psi + sign(phi0)*(1)mag(fvc::grad(psi)*dimChange))*deltaTau; } this also worked for me, when using CLSVOF method. Bests Mostafa 

August 7, 2015, 10:20 

#50  
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Sorry, first I misunderstand the author's opinion. Now I almost understand it. But how to define the number of cells in three directions? That means how to set values to x, y and z? Also I do no fully understand six "if statements"....What the meaning of them?
Quote:
Thank you for your reply. Many thanks. Best, Wen 

August 7, 2015, 11:01 

#51 
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Also how to set the number of correction steps nCorr to ensure that the solution will be converged.


August 20, 2015, 17:31 
Open source of LS

#52  
New Member
Zhilong Liu
Join Date: Jul 2015
Posts: 1
Rep Power: 0 
Quote:
My name is Zhilong Liu, a doctoral student working on CFD with OpenFOAM. I would like to inquire that is there any open source code or OpenFOAM solver of Level set Method. Thank you very much. Regards. Zhilong 

September 2, 2015, 07:21 

#53 
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
In OF, the VOF solver is available. I do not know any other open source with the level set solver. But you will see that someone has implemented the level set into OF.
Best, Wen 

September 25, 2015, 04:55 

#54  
New Member
Join Date: Aug 2015
Posts: 8
Rep Power: 9 
Quote:
As far as I understood the LSmethod, the number of correction steps shouldn't mather that much. mag(Grad(psi)) should be 1 wether you have 10 or 1000 nCorr. Or am I missing something? 

September 25, 2015, 06:50 

#55 
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Only when the PDE get a converged solution, the distance function can be almost achieved.
I use the LS method to simulate the premixed flame based on flamelet model. It is very complicated, Now the code is going on validation. I follow this paper to achieve the reinitialization：Setting and Usage of OpenFOAM multiphase solver(S‐‐‒CLSVOF) Best regards, Wen 

September 25, 2015, 07:34 

#56 
New Member
Join Date: Aug 2015
Posts: 8
Rep Power: 9 
thanks for your answer.
I'm following the same paper and using it for simulation of coallescing drops. Wich criteria are you using for the nCorr? is it something like (as described in the paper): corr<int(interfacePsi.epsilon().value()/interfacePsi.deltaTau().value()) In my case, I actually get better results by dividing the the upper value by 3. (increasing nCorr causes me a weird solution near the contactAngle boundary). 

September 25, 2015, 21:14 

#57 
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
You can use that criteria in clsvofSolver, but to my knowledge, this value is not very large (2 to 3 is OK). So, I think you use 3 has no problem. (One of my college use 2 as nCorr).
Best regards, Wen 

October 28, 2015, 08:21 

#58  
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 11 
Quote:
Best 

November 2, 2015, 07:15 

#59 
New Member
Join Date: Aug 2015
Posts: 8
Rep Power: 9 
I had a formulation error (my fault). The nCorr condition from the paper works fine.
Im validating the solver with a droplet oscillation case. The oscillation frequency is nearly perfect but the pressure isn't. Still working on it. Edit: Im using a cAlpha of 1.5 (against 0.25 for VOF) Cheers 

January 14, 2016, 14:25 
paper

#60 
New Member
Join Date: Apr 2015
Posts: 2
Rep Power: 0 
Hi everyone!
Could you please email me this paper: Implementation of level set method based on OpenFOAM for Capturing the free interface in incompressible fluid flows my email: mashpot139@gmail.com thanks 

Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
setting of level set method as initial condition  sooroo3  FLUENT  4  July 31, 2018 04:20 
calculating Normal vector in level set method  amir2920  Main CFD Forum  1  July 21, 2009 07:25 
Level set vs VOF  steve  Main CFD Forum  11  September 16, 2008 00:22 
level set for multifluids system?  PeiYing Hsieh  Main CFD Forum  1  July 19, 2000 16:42 
level set method with TVD scheme?  zhanglei  Main CFD Forum  1  April 25, 2000 14:01 