How to calculate wave overtopping volume
Hello everyone,
As we already know we can use PartVTK and define xmin:ymin:zmin:xmax:ymax:zmax to calculate the particle number in a domain.Now I have a structure surrounded by water on both side, how to calculate the particle number and wave overtopping volume.Thank you.
Best regards.
As we already know we can use PartVTK and define xmin:ymin:zmin:xmax:ymax:zmax to calculate the particle number in a domain.Now I have a structure surrounded by water on both side, how to calculate the particle number and wave overtopping volume.Thank you.
Best regards.
Comments
Did you find how to calculate flow discharge?
Regards
Use -onlypos options of PartVTK
and then look at output file
you will find number of particles in xmin:ymin:zmin:xmax:ymax:zmax domain
Open up the full simulation output in Paraview and apply a Threshold filter using a position parameter (or 3 if it's a 3 dimensional domain). Use the histogram tool (with 1 bin) to count the total number of particles. Save data to CSV file (all timesteps).
Paraview is a great tool not only for visualization but also to do some basic analysis like this and is well worth the time it takes to learn it. There is probably an even easier way to do this.