Welcome, Guest
Username: Password: Remember me

TOPIC: interpolate wind field raster

interpolate wind field raster 7 years 11 months ago #24521

  • SEBJAM
  • SEBJAM's Avatar
hi,
I wonder if there is any script that can create a slf-raster of a spatial and time varying wind field to use in TOMAWAC. My input is x,y coordinates of wind stations and wind stations have time, direction and speed.

Best regards,
Björn
The administrator has disabled public write access.

interpolate wind field raster 7 years 11 months ago #24527

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
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
The administrator has disabled public write access.
Moderators: borisb

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