CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   twophaseEulerFoam in porous medium (https://www.cfd-online.com/Forums/openfoam-programming-development/223648-twophaseeulerfoam-porous-medium.html)

Milaad January 21, 2020 04:23

twophaseEulerFoam in porous medium
 
Hi
i am new at working with OpenFOAM, and i want to Simulate a 2D two phase flow in a porous medium.
I designed and meshed a rectangle in ansys end i exported it in order to use in Openfoam. The mesh is triangular and unstructured.
In order to Simulating two phase field i want to use one of these solvers : '' twophaseEulerFoam'' or "interFoam" but i do not know how can i add porosity and permeability into the problem?
Can anyone help me?

roshanak.rabiee878 March 9, 2020 08:13

porous in two -phase flow
 
Hi
interFoam is using VOF method and for adding porous media source terms, OF generated some solvers based on VOF to consider the effects of porous media on both phases. I think it is better to start with VOF, you can visit this link for more info
https://github.com/phorgue/porousMul...oam-v7/solvers

but, twoPhaseEulerFoam is based on Euler-Eulerian model and does not have porous media, you have to add a dictionary of porous media in this solver which is also possible and not difficult as long as you do not have a rotation


Quote:

Originally Posted by Milaad (Post 755137)
Hi
i am new at working with OpenFOAM, and i want to Simulate a 2D two phase flow in a porous medium.
I designed and meshed a rectangle in ansys end i exported it in order to use in Openfoam. The mesh is triangular and unstructured.
In order to Simulating two phase field i want to use one of these solvers : '' twophaseEulerFoam'' or "interFoam" but i do not know how can i add porosity and permeability into the problem?
Can anyone help me?



All times are GMT -4. The time now is 21:41.