Skip to content

How to visualize the concentration found in the tortuosity in a 3d medium? #596

Answered by jgostick
josephinoo asked this question in Q&A
Discussion options

You must be logged in to vote

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 using imageio. 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 the tortuosity function is just to get the tortuosity value.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jgostick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants