Welcome, Guest
Username: Password: Remember me

TOPIC: Calculating and Visualizing Effective Flow Duration in Flow Field

Calculating and Visualizing Effective Flow Duration in Flow Field 3 months 4 weeks ago #43954

  • mnxhu
  • mnxhu's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
Hello everyone,

I'm currently working on a project involving the analysis of a fluid flow field, and I need some help with a specific aspect of my analysis. I have simulation results from the TELEMAC modeling system, and my objective is to calculate the effective flow duration at each point in the flow field. The effective flow duration is defined as the cumulative time during which the flow speed is within a certain range (specifically, between 0.6 m/s and 3.5 m/s).

I'm looking for guidance or suggestions on the best approach to:

Calculate Effective Flow Duration: How can I efficiently process my flow field data to calculate the effective flow duration at each point? The data includes velocity components (u and v) at various spatial locations and times. I need to determine the total time each point spends within the specified speed range.

Data Visualization: Once I have calculated these durations, I would like to create a visual representation (such as a heatmap or contour map) to easily identify areas of high and low effective flow duration. I'm particularly interested in any recommendations on software or programming libraries that could be helpful for this kind of visualization.

Additional Details:

The flow field data is currently in slf.
I am open to using programming languages like Python or MATLAB for data processing and visualization.
Any advice, sample code snippets, or pointers to relevant resources would be immensely appreciated! I'm somewhat new to this kind of analysis, so detailed explanations would be particularly helpful.

Thank you in advance for your time and assistance!

Best regards,
mnxhu
The administrator has disabled public write access.

Calculating and Visualizing Effective Flow Duration in Flow Field 3 months 4 weeks ago #43959

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1460
  • Thank you received: 563
Hello mnxhu,

If I were you, I would compute your effective flow duration during the computation and not from results file which may be sampled at periods of writings and not accurate enough if too big.

To do this, you can have a look how the TMXZ variable in VARIABLES FOR GRAPHIC PRINTOUTS is computed in PRERES_TELEMAC2D subroutine (variable TMAXZ) or the malpasset example to compute the time when the wave reaches specific points.

Then, save it one of the additional variables available for user in VARIABLES FOR GRAPHIC PRINTOUTS (N, O, R or Z).

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: mnxhu
Moderators: pham

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