Comments (2)
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:
MPLBM-UT/src/2-phase_LBM/ShanChen.cpp
Line 291 in 3e45adc
Best,
Javier
from mplbm-ut.
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'
from mplbm-ut.
Related Issues (20)
- Nan-fluid result HOT 1
- Wettability on steady_state_relperm and setting the initial fluid (domain) HOT 1
- how to input fracture geometry file
- SyntaxError: invalid syntax HOT 1
- Can MPLBM-UT also be used for liquid & gas simulation? HOT 1
- Trying to get started HOT 1
- Possible to simulate two surfaces at the same time in one stone? HOT 2
- A question of understanding regarding the number of pressure steps HOT 3
- Some questions about simulation of dynamic displacement process HOT 1
- coming to error "list index out of range" HOT 1
- possible to run in colaboratory? HOT 1
- Found a possible bug HOT 1
- How can i solve 'signal9' ? HOT 1
- About the velocity vtks HOT 3
- 关于单相流动
- how to calculate the steady and unsteady RP in MPLBM-UT? HOT 1
- Regarding LBM and physics unit
- How to run 2_phase_sim with my own raw data
- How to select interface tension, wetting contact angle and curvature radius in Yang_laplace_equation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mplbm-ut.