Hello all,
I encountered an error with a coupled model setup that I want to share. I briefly describe all the steps I took until I got to the source of the error:
Initial setup was:
-Global results file is a result from a Tomawac-Telemac2d coupled computation
-Next computation is a Tomawac-Telemac2d-Sisyphe coupled computation
-DISSIPATION BY STRONG CURRENT =2
I am getting a segmentation fault error.
Then I try to continue the computation with Tomawac only and I got an error in LECSUI:
LECSUI : BAD NUMBER OF FREQUENCIES
IN THE PREVIOUS
COMPUTATION FILE : 21 FOUND
20 EXPECTED
PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 2
The number of frequencies in both cas files (the one that created the global results file and in the next computation) is
20. The number of frequencies in the created global results file is 20, plus 2 more entries (DEPTH and CURRENT-WIND). I change the next computation cas file to 21 frequencies and then I get a segmentation fault error after SEMIMP is called, which is a hint to disable DISSIPATION BY STRONG CURRENT.
Success. I set DISSIPATION BY STRONG CURRENT =1, it works again. I set NUMBER OF FREQUENCIES back to 20, and I get the same BAD NUMBER OF FREQUENCIES error in LECSUI.
To sum it up, it seems that there is an issue with the way frequencies are read from the previous computation file and the Westhuysen formulation while continuing a coupled computation. The second is easily overcome by disabling DISSIPATION BY STRONG CURRENT, or setting it to 1. However, for the first one I don't believe that increasing the number of frequencies is appropriate because it could mean that it is reading values from the DEPTH or WIND-CURRENT entries (which by the way do not contain DEPTH of WIND-CURRENT values, only small negative values in the order of 10E-4).
Can anyone verify this?
Best Regards,
Costas