Welcome, Guest
Username: Password: Remember me

TOPIC: Time Averaged Outputs

Time Averaged Outputs 12 years 3 days ago #6416

  • duttas
  • duttas's Avatar
In general the output printed by TELEMAC (3D) in the result files is values at different points (nodes)at different time. Is there a way we can get time averaged output, instead of instantaneous values.

For example, the 3D result file has X,Y,Z,U,V and W (instantaneous values) at time (say I print data every 10 mins) 00:10, 00:20, 00:30 ... (if I start the simulation at 00:00).

Now can I get the same results printed at 10 min interval but Z,U,V and W being average over the last 10 mins, averaged using instantaneous values every 2 mins.
That is, result at 00:10 = (00:02 + 00:04 + 00:06 + 00:08 + 00:10)/5 , at 00:20 = (00:12 + 00:14 + 00:16 + 00:18 + 00:20)/5 ......


One way I tried was, I printed the results at every 2 mins and then tried using TECPLOT to process the data and average it the way I wanted, but the result files are very big (> 5GB) and TECPLOT couldn't handle it. :(
The administrator has disabled public write access.

Time Averaged Outputs 12 years 2 days ago #6424

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

I have two ideas to suggest you:
- if you only these results at a few locations, you can read the post www.opentelemac.org/index.php?option=com...1&id=5506&Itemid=177 that may enable you to save memory, and then, you may use TECPLOT to do what you want,
- if not and if you are keen on implementing Fortran, I think the "easiest" way to manage what you want is to implement your treatment directly in Telemac. You have to save some intermediate values then average them and write them. bief_desimp and preres_telemac3d subroutines called in telemac3d subroutine may give you some ideas how to implement this.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

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