Welcome, Guest
Username: Password: Remember me

TOPIC: Including wind using a selafin file: timestep issue

Including wind using a selafin file: timestep issue 11 years 9 months ago #7376

  • fay
  • fay's Avatar
Hi

I have been including a wind in my TOMAWAC runs using a selafin file of temporally and spatially varying wind values, but I am not sure if TOMAWACs temporal interpolation is giving me the correct answer because lecdoi.f is multiplying the time it reads from my wind file by 100. Does anyone know why and more importantly if this is corrected somewhere else in the code?

Thanks

Fay
The administrator has disabled public write access.

Including wind using a selafin file: timestep issue 11 years 9 months ago #7379

  • jmhervouet
  • jmhervouet's Avatar
Hello Fay,

Yes I have discovered this also (moreover in the case of wind a date is removed, this is also done in subroutine noudon.f which also reads wind when called by semimp.f), it is seemingly due to an adaptation to an old study and I removed it in the trunk version. We have also added keywords for setting a time unit, so in next version the unit will be seconds for all files unless specified by a keyword. For version 6.2 it is better to have in your Fortran lecdoi and noudon and correct them.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Including wind using a selafin file: timestep issue 11 years 9 months ago #7380

  • fay
  • fay's Avatar
Thanks Jean-Michel
The administrator has disabled public write access.

Including wind using a selafin file: timestep issue 11 years 9 months ago #7425

  • Elodie
  • Elodie's Avatar
Hello,

indeed this multiplication by 100 doesn't seem to be useful anymore.

In Tomawac, the keyword DATE OF COMPUTATION BEGINNING is used to give the date of the beginning od the computation in the WINDS FILE. This date gives a reference for the reading of the wind file. The convention adopted for writing the DATE OF COMPUTATION BEGINNING is yymmddhhmm. Then the subroutine temp.f calculates the difference between the current date of your wind file and the date of the computation beginning to give you the simulation time (in second).
If your wind file has the WAM format, the date in this file are also in yymmddhhmm, so it should work well. But for the Selafin format, this is not the case. I think the multiplication by 100 must come from a former version of the TELEMAC format, in which date was probably given in yymmddhh.

Regards,

Elodie
The administrator has disabled public write access.
Moderators: tfouquet

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