How to visualize the concentration found in the tortuosity in a 3d medium? #596
Answered
by
jgostick
josephinoo
asked this question in
Q&A
|
Hello, I am an undergraduate student, I want to be able to visualize in 3d the concentration obtained by the tortuosity |
Answered by
jgostick
Nov 4, 2021
Replies: 1 comment
|
Hi @eljosephavila123, the |
0 replies
Answer selected by
jgostick
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @eljosephavila123, the
tortuosityfunction returns the concentration field as an image, with each pixel/voxel containing its concentration. This will be in the form of a numpy array. You can save this array as a tiff image usingimageio. You can then open this up in paraview. The colors should follow the values in the original image, so you can see concentration profiles. However, this won't look very interesting since diffusion is just a smooth and steady gradient. The main point of thetortuosityfunction is just to get the tortuosity value.