How to calculate wave overtopping volume

edited August 2016 in DualSPHysics_v4.0
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.

Comments

  • Hi
    Did you find how to calculate flow discharge?

    Regards
  • Hello,
    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
  • I don't know how exactly is your workflow but how about using Paraview to do this?
    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.
Sign In or Register to comment.