Hello,
So I am creating a region to measure the average velocity at a particular location. It is a block that uses the move and rotation arguments so I feel that it could be very easy to input a wrong value, especially if my input is a time function. I cannot seem to find a way to create a file with this region data so I can superimpose it in Paraview and visually confirm that it is at the right location.
I know I can create a .vtk file with my initial region with a create_box command. However, through my attempts it does not seem possible to use this command twice in a single input file.
When I use mesh/surface fix on an .stl plane, I know I have the capability of outputting a .stl file of this plane. However, I cannot figure out an equivalent way of doing this for regions.
So far the best thing I can think of is creating a second input file, remove all the geometry, change the insertion location, and switch out my simulation region with my region for checking velocity. This would create a .vtk file and then I could just superimpose the two simulations over top of each in Paraview to confirm that the data I am collecting is at the right location. However, this is extremely convoluted and if I am not careful I could forget to alter both files.
There has to be a way of outputting regions into a file format so it can be visible in Paraview. Without this sort of check , I could imagine it would be very easy to make a mistake and collect the wrong data without a clue that it is wrong.
Thanks,
Anthony
mschramm | Wed, 12/05/2018 - 15:05
A little hack
Hello,
Only thing coming to mind is creating a vtk file of your region, and importing that as a geometric wall, do all of your translations and rotations, print that to file and check if it is in the correct position.
If it is, simply take what you did for the geometric wall and use it in a region command.