Hello,
we are make a wave model and in the model we want to use non-stationary wind and read the wind velocities from BINARY WINDS FILE. But we had problems when we were trying to do this.
The problem is that the subroutine CONDIW doesn´t read the wind velocities because in the code the mode is 2 instead of 1
CALL LECDOI(SUV%R,NAMEWX,
& 'WIND ALONG X M/S ',2,
& SVV%R,NAMEWY,
& 'WIND ALONG Y M/S ',2,
& SVV%R,'????????????????????????????????',
& '????????????????????????????????',0,
& MESH%X%R,MESH%Y%R,
& NPOIN2,UL,BINVEN,NBOR,NPTFR,
& AT,DDC,TV1,TV2,SUV1%R,SUV2%R,SVV1%R,SVV2%R,
& SVV1%R,SVV2%R,INDIV,'VENT ',NVWIN,TEXVEB,
& TROUVE,UNITVEB,PHASVEB)
we changed the mode from 2 to 1 and the error was gone. We did the same in the subroutine SEMIMP to update the wind field. The model can run but the results are not correct. The wind velocities in the result file are infinite and doesn't make sense. So there is still problem for reading wind file.
What is the right way to impose wind filed in the wave model? The steering file is attached.