|
[Sponsors] |
January 1, 2020, 13:09 |
Two phase flow in porous medium
|
#1 |
New Member
Milad Alborzi
Join Date: Dec 2019
Posts: 7
Rep Power: 6 |
Hi
i am new at working with OpenFOAM, and i want to Simulate a 2D two phase flow in a porous medium. I can't find a solver for this case.Which solver should I use? I'm using a windows version of OpenFOAM. Can anyone help me? |
|
January 2, 2020, 04:25 |
|
#2 |
Senior Member
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13 |
||
January 7, 2020, 03:12 |
|
#3 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
Use porousMultiphaseFoam https://github.com/phorgue/porousMultiphaseFoam
It solves multiphase Darcy's law with relative permeability and capillary pressure. Cheers, Cyprien
__________________
www.cypriensoulaine.com/openfoam |
|
January 18, 2020, 11:06 |
|
#4 |
New Member
Milad Alborzi
Join Date: Dec 2019
Posts: 7
Rep Power: 6 |
||
January 18, 2020, 11:16 |
|
#5 | |
New Member
Milad Alborzi
Join Date: Dec 2019
Posts: 7
Rep Power: 6 |
Quote:
i downloaded and extracted the file. i followed the README and i used "./Allwmake" in order to install the solver but i faced this: ------------------------------------------------------------------------------------------------------------- + wmake libraries/numericalMethods wmake libraries/numericalMethods /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/libraries/numericalMethods + wmake libraries/porousModels wmake libraries/porousModels /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/libraries/porousModels + wmake libraries/toolsGIS wmake libraries/toolsGIS /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/libraries/toolsGIS + wmake libraries/porousBoundaryConditions wmake libraries/porousBoundaryConditions /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/libraries/porousBoundaryConditions + wmake solvers/impesFoam wmake solvers/impesFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/impesFoam + wmake solvers/anisoImpesFoam wmake solvers/anisoImpesFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/anisoImpesFoam + wmake solvers/groundwaterFoam wmake solvers/groundwaterFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/groundwaterFoam + wmake solvers/porousScalarTransportFoam wmake solvers/porousScalarTransportFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/porousScalarTransportFoam + wmake solvers/porousScalarTransport2DFoam wmake solvers/porousScalarTransport2DFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/porousScalarTransport2DFoam + wmake solvers/groundwater2DFoam wmake solvers/groundwater2DFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/groundwater2DFoam + wmake solvers/groundwaterTransport2DFoam wmake solvers/groundwaterTransport2DFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/groundwaterTransport2DFoam + wmake solvers/groundwaterTransportFoam wmake solvers/groundwaterTransportFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/groundwaterTransportFoam + wmake solvers/stationaryGroundwater2DFoam wmake solvers/stationaryGroundwater2DFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/stationaryGroundwater2DFoam + wmake solvers/stationaryGroundwaterFoam wmake solvers/stationaryGroundwaterFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/solvers/stationaryGroundwaterFoam + wmake utilities/darcyFoam wmake utilities/darcyFoam /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/utilities/darcyFoam + wmake utilities/setBoundaryHeadPressure wmake utilities/setBoundaryHeadPressure /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/utilities/setBoundaryHeadPressure + wmake utilities/setFieldsFromXY wmake utilities/setFieldsFromXY /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoam-openFoam-v7/utilities/setFieldsFromXY + wmake utilities/setFieldsFromMNT wmake utilities/setFieldsFromMNT /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /opt/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /mnt/c/users/M.Alborzi/tutorial/porousMultiphaseFoam-openFoam-v7/porousMultiphaseFoa ------------------------------------------------------------------------------------------------------------- there seems to be a problem. i am using a windows version of OpenFoam, is the error because of my OpenFoam? what should i do now? i will be gratefull if you help me again. |
||
May 18, 2020, 08:58 |
|
#6 | |
Senior Member
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 120
Rep Power: 15 |
Quote:
Thank you very much for sharing. It works well. I am using openFOAM 7 on Ubuntu 16.04.6 LTS. Cheers, Kerim |
||
December 15, 2020, 07:55 |
|
#7 |
Member
...
Join Date: May 2018
Posts: 37
Rep Power: 7 |
hi all
i want to simulate the boiling flow in porous media- and i need to add Capillary pressure and relative permeability, Is there anyone who has experience in modeling boiling in a porous medium? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rhoPorousSimpleFoam for modeling porous medium adiabatic flow | zhzhguo | OpenFOAM Programming & Development | 0 | August 17, 2014 22:34 |
How do model two phase granular flow in Porous media? | bahman | FLUENT | 1 | December 6, 2012 04:39 |
Porous Medium & Mass Flow Rate | NewMY | FLUENT | 4 | November 26, 2009 02:26 |
paralell flow to porous medium | alvio | CFX | 0 | November 13, 2008 09:21 |
Flow through porous medium | Kiran AS | Main CFD Forum | 1 | August 31, 2006 08:12 |