GithubHelp home page GithubHelp logo

Comments (2)

je-santos avatar je-santos commented on August 20, 2024

Hi @FloWsnr,

That is a great question and, unfortunately, I don;t have a good answer.
There is some sort of data type conversion whenever the c++ code reads in the python written geometry. I took me a little while to find those values, but you can see that if you run a simulation and open the geometry.vti file with paraview the numbers are right (0,1,2,etc).

It seems that I only have 1 of the boundaries there (=1). Feel free to add the rest of them and send me a PR. Here is where the dynamics are defined:

// NoDynamics (computational efficiency, label grains with 2)

Best,
Javier

from mplbm-ut.

abhayjc avatar abhayjc commented on August 20, 2024

Hii....
This is great work... I want to work with code but am facing issues with it. I learned installation process on youtube and followed same process but facing error.
File "2_phase_sim.py", line 215, in
image_pc, image_satn, pc, snwp = mplbm.run_porespy_drainage(inputs, wetting_angle, voxel_size)
File "/home/ssahoo/mambaforge/envs/lbm/lib/python3.7/site-packages/mplbm_utils/pore_utils.py", line 152, in run_porespy_drainage
drn = ps.simulations.drainage(pc=pc, im=image, inlets=inlets, voxel_size=voxel_size, g=0)
AttributeError: module 'porespy' has no attribute 'simulations'

Screenshot from 2024-01-04 19-30-41

from mplbm-ut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.