Hello Bjorn,
Have a look at example t2d_wind_txy. It has a modified fortran file has this functionality. Read Pat's suggestion in this post:
Common wind definition in Tomawac-Telemac2D coupling?
I quote the post, but read through the topic for more details.
This will work if you have an enclosed domain (i.e., a lake)
1. Run TELEMAC-2D with meteo.f from wind_txy example. Make sure you save in the SELAFIN output file WINDX and WINDY variables.
2. Set up TOMAWAC to use the winds from an external file (the one you generated in step 1). Activate TOMAWAC key words: BINARY WINDS FILE and make sure WINDS FILE FORMAT = 3 (SELAFIN). This will make TOMAWAC use the spacio-temporal winds.
If you have the domain with an open boundary (where waves can enter), this will have to be specified separately as a boundary condition.
You are on the right track in figuring out the format of the wind_txy input file. After coordinates of each station, there is a column for time, the wind speed and direction for each station. Look in meteo.f for what gets read and where.
I hope this helps,
Pat
Regards,
Costas