How to visualize the concentration found in the tortuosity in a 3d medium? #596
-
Hello, I am an undergraduate student, I want to be able to visualize in 3d the concentration obtained by the tortuosity |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @eljosephavila123, the |
Beta Was this translation helpful? Give feedback.
Hi @eljosephavila123, the
tortuosity
function 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 thetortuosity
function is just to get the tortuosity value.