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
154 stars 59 forks source link

Trying to get started #83

Closed guilkey closed 1 year ago

guilkey commented 1 year ago

Hi,

I'm trying to get started with this code. I ran the Install.sh, seemed to finish with no errors. I'm trying to run the examples/single_phase_permeability model as prescribed ("python 1_phase_sim.py") and it seems to just hang (top says python is doing something, but there's no evidence of that). Looking at the .py file, I try to just run, from the python command line:

import mplbm_utils as mplbm

and that hangs. Or, at least takes a really long time.

Any suggestions? Am I just being impatient, I'm not used to python modules taking more than seconds to load.

Thanks!

James Guilkey University of Utah

je-santos commented 1 year ago

Hi James,

That is strange. We have not noticed that before and we run the code in a wide variety of systems. You can try importing the functions that you'll be using directly from python src files.