|
[Sponsors] |
February 11, 2014, 12:54 |
CLSVOF in InterFoam
|
#1 |
New Member
Deepak Kalaikadal
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Hi,
I am trying to implement the CLSVOF scheme in interFoam. as given to Albadawi et al, International Journal of Multiphase Flow, 2013. In his paper, it is given that the redistancing of the level set function is solved by using the equation d(phi)/dt' = sign(phi)*(1-|grad(phi)|) where t' is an artificial time step chosen as delta t' = 0.1*delta x when I tried it on interFoam as solve ( fvm::ddt(lsPhi) +(sign(lsPhi) * mag(fvc::grad(lsPhi))) -sign(lsPhi) ); Foam compiles, but crashes on running due to dimension mismatch. Any idea how to set it right? Does t' have the units of distance, as it is based on the mesh size? Also, how do I solve this in a loop of artificial time until it converges to the steady state solution? |
|
Tags |
clsvof, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam stops after deltaT goes to 1e14 | francesco_b | OpenFOAM Running, Solving & CFD | 9 | July 25, 2020 06:36 |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 15:26 |
interFoam in parallel | gooya_kabir | OpenFOAM Running, Solving & CFD | 0 | December 9, 2013 05:09 |
Problem of InterFoam with LES SpalartAllmarasIDDES | keepfit | OpenFOAM | 3 | August 29, 2013 11:21 |
Open Channel Flow using InterFoam type solver | sxhdhi | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 21:58 |