I’ve been trying to find a way to do the following, I’ve not found anything online, nor had much success myself and was wondering if anyone had done anything similar, seen a similar problem or knows a good way to approach this.
I’ve got a .vti file containing a solved velocity field for laminar flow in porous media. it’s fairly chunky (for me) approximately 5gb in size. What I’ve done so far is:
- Adjust the velocity by a scale factor (using calculator)
- Take a slice at the entrance using slice and then mask points to select 3000 points from the slice
- stream trace with custom source (using the slice) to get streamlines running through my porous media.
My plan is to export these streamlines to perform various statistical analysis techniques on them (my first issue is how can I export the positions and velocity points of these streamlines).
My main issue however is that the domain is periodic and therefore streamlines are disappearing off the side of my domain. I was wondering if there was an easy way to implement a ‘border’ taking a slab from one side and copying it to the other? I managed to make a slab separately, but I can’t merge the two data sets.
I have access to a HPC if I need to run the calculations in a python script (my computer is struggling with 16gb ram).