je-santos / MPLBM-UT

Library for performing multiphase simulations (based on the Shan-Chen model) in complicated geometries (i.e. porous media 3D images)
GNU General Public License v3.0
153 stars 59 forks source link

new capillary pressure implementation #53

Closed mms74 closed 2 years ago

mms74 commented 2 years ago

Dear,

Thank you very much for the amazing code and model for 1- and 2-phase fluid flow in LBM. My inquiry is related to the new ShanChen.cpp file with the 'new capillary pressure implementation'. Could you kindly provide us with the input .XML file regarding the unsteady state simulation for the spherepack? In the updated ShanChenn file, new input parameters such as the minimum radius and number of steps need to be input.

Best regards, mms74

je-santos commented 2 years ago

Hi,

I believe that the min radius is the smallest throat that you would like to percolate, the number of steps is how many pressure increments (points in your Pc curve) you would like.

Alex @alexgigliotti is working on a full example, but hope this helps in the meantime :)

mms74 commented 2 years ago

Thanks a lot for your reply. It sure helps :) 👍

alexgigliotti commented 2 years ago

Hi @mms74,

I wrote up some docs about your question to go along with our new and nearly completed python implementation!