Welcome, Guest
Username: Password: Remember me

TOPIC: Unsteady user-defined wind

Unsteady user-defined wind 7 years 3 months ago #27435

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hello,

It seems that when I try to use unsteady user-defined wind fields (STATIONARY WIND=FALSE and WINDS FILE FORMAT=4), the variable NVWIN (number of wind variables to be read) is not defined during the initial stage of Tomawac (wac-->condiw-->lecdoi). The subroutine lecdoi.f does not assign any value to NVWIN (NVAR) in the case of INDIC=4.
With Tomawac alone, the model runs normally, but I'm afraid that print statements of NVWIN differs in function of the different places they are written in the code... (3,4,8...)
With a Tomawac-Telemac-Sisyphe configuration, I clearly have a segmentation fault during time loop of tomawac in wac-->semimp-->noudon (loop over NVAR at the end of the subroutine)

Can somebody help to find a patch (maybe in the initial call to lecdoi), so as to assign the right value to NVWIN ?

Sincerely,
Laurent Leballeur
The administrator has disabled public write access.

Unsteady user-defined wind 6 years 10 months ago #28534

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
It seems that a hard-coded value of NVWIN=2 in wac.F solves the problem in this case.

Regards,
Laurent Leballeur
The administrator has disabled public write access.
Moderators: tfouquet

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