Post-processing through non-usual planes
Hi,
I have two questions about post-processing tools included in DualSPHysics :
I want to capture the positions of somes fixed and moving (not fluid) particles in a plane which is not aligned with (x,y), (y,z) or (x,z) planes. The "-onlypos:xmin:ymin:zmin:xmax:ymax:zmax" option of the "PartVTK" code seems not sufficient to perform this operation....is it possible to rotate the frame x,y,z in a specified direction after the processing ? is there existing solution ?
In the same way, I want to capture the heigh of the free surface in a plane which is not aligned with (x,y), (y,z) or (x,z) planes. The "-points " or "-pointspos " options of the "MeasureTool" code seem not sufficient to perform this operation... is there existing solution ?
Thank you in advance for your help.
Best Regards,
Perconoux
I have two questions about post-processing tools included in DualSPHysics :
I want to capture the positions of somes fixed and moving (not fluid) particles in a plane which is not aligned with (x,y), (y,z) or (x,z) planes. The "-onlypos:xmin:ymin:zmin:xmax:ymax:zmax" option of the "PartVTK" code seems not sufficient to perform this operation....is it possible to rotate the frame x,y,z in a specified direction after the processing ? is there existing solution ?
In the same way, I want to capture the heigh of the free surface in a plane which is not aligned with (x,y), (y,z) or (x,z) planes. The "-points " or "-pointspos " options of the "MeasureTool" code seem not sufficient to perform this operation... is there existing solution ?
Thank you in advance for your help.
Best Regards,
Perconoux
Comments
And you will define gravity in the direction you want.
Hence your -onlypos:xmin:ymin:zmin:xmax:ymax:zmax will be in the positions you want while the whole system is aligned with gravity direction
Regards
Alex
However this solution is only valid before the processing, isn't it ?
Is there a solution feasible after the calculus ?
Best Regards,
Perconoux
The modified gravity is valid for the whole simulation!!!!!!!!!!
The solution I gave you is easy. You will simulate a rotated case (everything was rotated) with a modified gravity. In that way you can use -onlypos:xmin:ymin:zmin:xmax:ymax:zmax as it is.
If you do not like this option, you can just keep your system as it is, define -onlypos:xmin:ymin:zmin:xmax:ymax:zmax to include your are or volume and then treat the output data selecting only particles with the positions you desire
Regards
Alex