Geometrical Tortousity #2908
Unanswered
aayushi363
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Geometric tortuosity is not a very robust metric and I don't recommend using it, but if you must...then you'll want to use Djikstra's Algorithm, which is available in scipy.sparse.csgraph. This tells you the distance between all pairs of pores, so you can ask what is the distance between a pore on the left edge and the nearest pore on the right edge. You can tell the algorithm to use the throat lengths as the weights. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am trying to find out Geometrical Tortousity of a2d Micro ct image of Carbonate. For that I am trying to find the shortest distance between the Surface pores on left side and right side (similarly for y direction) using find_path.
I have written the following code to find the left and right surface pores of network that was calculated using SNOW2. When I am trying to vizualize it in paraview, I am not able to see the pore on the coordinates that the program returns.
Am I missing something?
This is the paraview visualization:
The left surface pores are: [[ 1. 10. 0. ]
[ 1. 46. 0. ]
[ 1. 95. 0. ]
[ 1. 137. 0. ]
[ 1. 182. 0. ]
[ 1. 216. 0. ]
[ 1. 250.5 0. ]
[ 1. 275.5 0. ]
[ 1. 298. 0. ]
[ 1. 314. 0. ]
[ 1. 327.5 0. ]
[ 1. 337.5 0. ]
[ 1. 365. 0. ]
[ 1. 405.5 0. ]
[ 1. 424.5 0. ]
[ 1. 453.5 0. ]
[ 1. 475.5 0. ]
[ 1. 492.5 0. ]]
The right surface pores are: [[504. 4. 0. ]
[504. 18. 0. ]
[504. 40. 0. ]
[504. 75. 0. ]
[504. 115.5 0. ]
[504. 138. 0. ]
[504. 166.5 0. ]
[504. 191.5 0. ]
[504. 208. 0. ]
[504. 242. 0. ]
[504. 269. 0. ]
[504. 287. 0. ]
[504. 296.5 0. ]
[504. 320.5 0. ]
[504. 349.5 0. ]
[504. 389.5 0. ]
[504. 422.5 0. ]
[504. 451.5 0. ]
[504. 474.5 0. ]
[504. 485.5 0. ]
[504. 498. 0. ]]
Beta Was this translation helpful? Give feedback.
All reactions