CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

A porous multiphase toolbox for OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree31Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2014, 06:15
Default A porous multiphase toolbox for OpenFOAM
  #1
Member
 
Pierre HORGUE
Join Date: May 2009
Posts: 33
Rep Power: 17
Pedro24 is on a distinguished road
Dear FOAMers,

I am pleased to inform you the release of a toolbox for OpenFOAM dedicated to the multiphase flow in porous media.

The source code is available at :
https://github.com/phorgue/porousMultiphaseFoam.git

Details about the method, validation, numerical tests can be found in the related publication "An open-source toolbox for multiphase flow in porous media" published in Computer Physics Communications :
http://www.sciencedirect.com/science...10465514003403
Please cite this paper in you use this toolbox in your future work.

Feel free to propose improvements, code corrections or any other possible development. Objective is to use this basis to implement later new physical features.
su_junwei, chegdan, elvis and 17 others like this.
Pedro24 is offline   Reply With Quote

Old   October 20, 2014, 19:45
Default
  #2
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
So maybe now we can post a bug report about this "porousInterFoam"....
Cyp is offline   Reply With Quote

Old   October 23, 2014, 05:20
Default
  #3
Member
 
Pierre HORGUE
Join Date: May 2009
Posts: 33
Rep Power: 17
Pedro24 is on a distinguished road
Quote:
Originally Posted by Cyp View Post
So maybe now we can post a bug report about this "porousInterFoam"....
We discussed a lot about that point but I'm not sure that "porousInterFoam" can be considered as bugged. From my point of view, porousInterFoam can be used in some specific cases, even if I'm not able to precisely define this conditions (First the capillary effects must be negligible, which reduces dramatically its field of application, but it is not sufficient).

But you are rigth, we should at least put a "warning" on that solver to explicitly explain limitations to users who start porous media simulations.

Pierre
Pedro24 is offline   Reply With Quote

Old   October 23, 2014, 06:37
Default
  #4
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Nice tool, Pierre!

Another condition in which porousInterFoam solver cannot be applied is when gradients of porosity exist. There was a bug report posted more than 2 years ago, still to be responded...

http://sourceforge.net/p/openfoam-ex...ndrelease/129/
Phicau is offline   Reply With Quote

Old   October 24, 2014, 05:05
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Yes, I agree. The bug report relates to the fact that the cells fill up completely with water, even though there is essential just room in the pores; essentially leading to a too slow flow through a porous structure.

Therefore, I agree that porousInterFoam should not be considered for anything. For cases where capillary effects are negligible, e.g. coastal structures, both IHFoam and waves2Foam seems to perform nicely (and the programming is similar); but the constraints of those implementations should clearly be kept in mind. I will have a look at your paper now, as it appears to be an important addition to the modelling of porosity.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   October 26, 2014, 13:01
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

I noticed that there is also a presentation for this toolbox available on the workshop at Zagreb of this year, namely "OFW09.0031 A porous multiphase flow toolbox for OpenFOAM": http://openfoam-extend.sourceforge.n.../download.html

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 19, 2015, 04:51
Default
  #7
Member
 
Pierre HORGUE
Join Date: May 2009
Posts: 33
Rep Power: 17
Pedro24 is on a distinguished road
Dear FOAMers,

The porous media toolbox is now available also for foam-extend 3.1. A dedicated branch "extend-version" has been created with minor changes in the github repository and you can download it with:

Code:
git clone -b extend-version https://github.com/phorgue/porousMultiphaseFoam.git
Regards,

Pierre
Ohbuchi and Cyp like this.
Pedro24 is offline   Reply With Quote

Old   March 21, 2015, 16:27
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Pierre: I've created a basic wiki page to help getting your toolbox known to the community that uses OpenFOAM technology: http://openfoamwiki.net/index.php/Co...MultiphaseFoam

May you or anyone else feel free to update that wiki page!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 23, 2015, 11:33
Default
  #9
Member
 
Pierre HORGUE
Join Date: May 2009
Posts: 33
Rep Power: 17
Pedro24 is on a distinguished road
Hi,

Thank you for the basic wiki page, I'll try to find some time to update it

I have also created a dedicated branch of foam-extend nextRelease to implement the porous media toolbox directly inside foam-extend 3.1. I asked for merging this branch in order to make solvers and the porousMedia library natively available for the next release. Let's see if the extend community is interested.

Regards,

Pierre
Pedro24 is offline   Reply With Quote

Old   June 15, 2015, 04:45
Default
  #10
New Member
 
Join Date: Jun 2015
Posts: 2
Rep Power: 0
jdrgmr is on a distinguished road
Hey,

I had problems compiling the toolbox, the make commands could not find some of the .H files.
Fixed it by adding " -I$(LIB_SRC)/meshTools/lnInclude \" to the /make option files.

Regards,

Julian
Pedro24 likes this.
jdrgmr is offline   Reply With Quote

Old   June 15, 2015, 15:30
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Julian and welcome to the forum!

Can you please let us know which OpenFOAM version are you using?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 15, 2015, 16:09
Default
  #12
New Member
 
Join Date: Jun 2015
Posts: 2
Rep Power: 0
jdrgmr is on a distinguished road
I'm using OpenFoam 2.4.0. Just started using OpenFOAM last week.

Regards,

Julian
wyldckat likes this.
jdrgmr is offline   Reply With Quote

Old   June 19, 2015, 06:57
Default
  #13
Member
 
Pierre HORGUE
Join Date: May 2009
Posts: 33
Rep Power: 17
Pedro24 is on a distinguished road
Hi,

Thank you a lot for your bug fix Julian.

I updated the github version to be compatible with OpenFOAM 2.4.0 (and corrected a bug of field name from the last update, making tutorials not working).

Regards,

Pierre
Pedro24 is offline   Reply With Quote

Old   October 1, 2015, 05:14
Default
  #14
Member
 
Pierre HORGUE
Join Date: May 2009
Posts: 33
Rep Power: 17
Pedro24 is on a distinguished road
Dear FOAMers,

The porousMultiphaseFoam toolbox has been extended to the groundwater flows with a new solver : groundwaterFoam and updated libraries.

The toolbox is still available at : https://github.com/phorgue/porousMultiphaseFoam.git

and the technical report on the new solver (model and validation) : https://hal.archives-ouvertes.fr/hal-01206922v1

Regards,

Pierre
wyldckat, phsieh2005, Cyp and 1 others like this.
Pedro24 is offline   Reply With Quote

Old   December 23, 2015, 16:02
Default add porousMultiphaseFoam toolbox to openFoam
  #15
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 162
Rep Power: 14
jamalf64 is on a distinguished road
Hi dear friends
How I can add porousMultiphaseFoam toolbox to my openFoam?
My linux distribution is ubuntu 15.04.
openFoam version: 2.4.0
jamalf64 is offline   Reply With Quote

Old   December 29, 2015, 10:03
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by jamalf64 View Post
How I can add porousMultiphaseFoam toolbox to my openFoam?
Quick answer: I've added detailed installation instructions here: https://openfoamwiki.net/index.php/C...MultiphaseFoam
jamalf64 likes this.
wyldckat is offline   Reply With Quote

Old   December 29, 2015, 10:19
Default
  #17
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 162
Rep Power: 14
jamalf64 is on a distinguished road
Thanks in advance
jamalf64 is offline   Reply With Quote

Old   December 29, 2015, 17:50
Default
  #18
Senior Member
 
Jamal Foroozesh
Join Date: Oct 2012
Location: Iran
Posts: 162
Rep Power: 14
jamalf64 is on a distinguished road
Hi dear friends
Unfortunately I got error during installation.
Please help me to fix that.

Best Regards
Jamal
Attached Images
File Type: png error.png (146.5 KB, 50 views)
jamalf64 is offline   Reply With Quote

Old   December 30, 2015, 07:03
Default
  #19
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Jamal,

You need to activate the OpenFOAM environment. It depends on how exactly you installed OpenFOAM. Detailed instructions on this topic are available here: http://openfoamwiki.net/index.php/In...with_the_Shell

Best regards,
Bruno
jamalf64 likes this.
__________________
wyldckat is offline   Reply With Quote

Old   January 14, 2016, 10:04
Default question
  #20
New Member
 
史小康
Join Date: Jan 2016
Posts: 2
Rep Power: 0
ksfbangbangda is on a distinguished road
Now, there are 2 porosity zones with different parameters in my case, how can I define porosityProperties/constant ?
ksfbangbangda is offline   Reply With Quote

Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiphase Porous Media Flow - Convergence Issues VT_Bromley FLUENT 8 May 30, 2024 03:59
Multiphase flow in porous media and relative permeabilities sirpolar Fluent Multiphase 1 July 24, 2016 06:41
Multiphase porous media model:inertial and viscous resistance button doesn't show up Tanjina Fluent Multiphase 3 July 21, 2013 13:08
multiphase flow in porous media zhou FLUENT 2 August 9, 2012 08:10
Multiphase flow & porous media Hisham OpenFOAM 3 April 10, 2011 08:04


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