The easiest way I can suggest is to just extract the position of a particle at the height of the surface, either using a provided post-processing tool or using something like ParaView, then just do a simple distance calculation between the point on the water surface and the point that you are interested in.
Finally I have got the solution. Very simple: - Include a PointsHeights.txt file with this. Please see the comments:
POINTSLIST # 7.5 3.5 0 0.0 0.0 0.01 1 1 500
#"POINTSLIST" #PosX PosY 0 -> Z has to be zero (0) #StepX StepY ResolutionZ -> ResolutionZ is the "resolution" of the measurement #CountX CountY CountZ -> CountZ*ResolutionZ is in any way the area to be measured (not sure)
Comments
Can you be slightly more specific about when you want the water height of an X,Y point?
Really, finding the height should just be a case of comparing the location of the particle of interest to an appropriate point of origin.
Perhaps if you could describe your situation in slightly more detail?
I meant, considering a tank test, to get the vertical distance from the water surface to a X, Y, Z point.
Regards
Iñaki
The easiest way I can suggest is to just extract the position of a particle at the height of the surface, either using a provided post-processing tool or using something like ParaView, then just do a simple distance calculation between the point on the water surface and the point that you are interested in.
Finally I have got the solution. Very simple:
- Include a PointsHeights.txt file with this. Please see the comments:
POINTSLIST #
7.5 3.5 0
0.0 0.0 0.01
1 1 500
#"POINTSLIST"
#PosX PosY 0 -> Z has to be zero (0)
#StepX StepY ResolutionZ -> ResolutionZ is the "resolution" of the measurement
#CountX CountY CountZ -> CountZ*ResolutionZ is in any way the area to be measured (not sure)
- Include a Measure.bat file with this:
...
%measuretool% -dirin %dirout% -points PointsHeights.txt -onlytype:-all,+fluid -height -savecsv PointsHeights
...
Hope this helps (^_^)
Glad you found a method that works well for you
Hi all how to determine numbers for StepsX, Y, Z and CountX, Y, Z positions?