Welcome, Guest
Username: Password: Remember me

TOPIC: Calculate area above a givenn concentration/velocity value

Calculate area above a givenn concentration/velocity value 7 hours ago #46324

  • G_G_H
  • G_G_H's Avatar
  • NOW ONLINE
  • Fresh Boarder
  • Posts: 29
Hi All,

Has any one calculated the area based on velocity level or concentration level?
For example, the area covered by Salinity above 30 etc.


Regards
Gao
The administrator has disabled public write access.

Calculate area above a givenn concentration/velocity value 5 hours 30 minutes ago #46325

  • jurjendejong
  • jurjendejong's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 13
Hi Gao,
I have calculate this with python post-processingon the slf-files. You can read the tracer, calculate how many output timesteps are above the threshold, and multiply this with the time between output timesteps.

I don't have a clean example to share, but it should be rather straight forward following the scripting-examples in the notebooks.

You can probably also do similar steps in BlueKenue.
The administrator has disabled public write access.
The following user(s) said Thank You: G_G_H

Calculate area above a givenn concentration/velocity value 4 hours 33 minutes ago #46328

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 848
  • Thank you received: 196
Since Blue Kenue was mentioned...

There is "All Observations > Duration Above Threshold..." for a Time Series.

And there is also "Extract Duration Exceedance Mesh..." for a 2D T3 Scalar Mesh with multiple frames. This basically does "Duration Above Threshold" at each node location in the mesh and produces a mesh as output.

Hope this helps a little... Alan
The administrator has disabled public write access.

Calculate area above a givenn concentration/velocity value 4 hours 9 minutes ago #46329

  • G_G_H
  • G_G_H's Avatar
  • NOW ONLINE
  • Fresh Boarder
  • Posts: 29
Thank you Alan,

I mean the area covered by a certain value /or above, or the area covered or circled by the contour line.

Regards
Gao
The administrator has disabled public write access.

Calculate area above a givenn concentration/velocity value 2 hours 21 minutes ago #46330

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 848
  • Thank you received: 196
For a 2D triangular mesh... in Blue Kenue there is Tools > Compute Area... which is the whole mesh's area for the current frame. There is also Tools > T3 Mesh > Extract Subset... to give you a mesh that is only within a polygon.

But it seems, upon first blush, that Blue Kenue isn't quite there because you only want the area (for the current frame) when a triangle's values are greater than or equal to, say 30. Since each triangle has 3 values and each of those values may be above or below 30... what would you expect to happen?
  • Use the area of a triangle (in a mesh) if all 3 vertices have values exceeding 30 and do NOT use the area otherwise
  • Use the area of a triangle (in a mesh) if the mean of the 3 vertices has a value exceeding 30 and do NOT use the area otherwise
  • Something else?

Kindly... Alan
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.