|April 6, 2009, 05:25||
Open Channel Flow using InterFoam type solver
Please allow me to create this thread for those of who are interesting in Open Channel Flow simulation by using InterFoam type solvers such as InterFoam, rasInterFOam, and so on.
I have spend over one month on trying to run open channel flow case using InterFOAM, but result is very disappointed. After that, I gave up for testing various BCs and instead it I start to look into the source code of interFoam.
From now on, I will write down and share my doubt, ideas and I hope Foamers who are interesting in this part can join me to fight the problems together in order to solve it.
today, I would like to write down the Governing equations used in InterFoam
(1) continuity Eq
(2) momentum Eq
(3) free surface capturing Eq
where p=pd+rho*gh (4)
laplacian Eq for pd
now I have two questions during looking into the source code:
(1) in UEqu.C where is the source term rho*g, this term should be in R.H.S.
(2) In PEqu.C still miss source term rho*g and I cannot understand the laplacian equation for pd
in my view, phi is already the term after intergretion. why still have to do divergent process.
find problem---> solve it --> new problem -->solve again!!!!!
|April 21, 2009, 02:47||
It is so regret that no one is interested in this thread.
I am still focusing on this problem.
What I found now is p=pd+rho*gh, where rho*gh is not particularly pointed to hydrostatic pressure because in code, gh=g& mesh.C(), the real hydrostatic presure shoul be the expression rho*g*(free surface -mesh.C()).
I also found out that in Ueqn and Peqn, source term (gravity term) may not be used.
please comments if anyone is interested in this.
|May 5, 2009, 21:58||
Join Date: Mar 2009
Location: Jinan , China
Posts: 64Rep Power: 10
I am interested in multiphase flow too.I have modified the interFoam solver to simulate three dimensional,non-newtonian,nonisothermal,incompressible,laminar flow.The result seems good.
My problem is that when I use the added Cross-WLF viscosity model,the Courant Number increase enormously after a few steps.Then the calculation stopped.
I'll pay more attention to it.
Thanks for your thread.
|Thread||Thread Starter||Forum||Replies||Last Post|
|InterFoam and Channel Flow||chegdan||OpenFOAM Running, Solving & CFD||1||September 9, 2008 01:13|
|Open channel flow||Mehdi Moayeri||FLUENT||0||August 26, 2008 10:55|
|pressure outlet (open channel flow)||Willem Brantegem||FLUENT||2||April 4, 2007 02:40|
|pressure outlet (open channel flow)||Willem Brantegem||Main CFD Forum||0||April 3, 2007 09:39|
|open channel flow boundary conditions||yan||FLUENT||0||July 4, 2005 23:36|