Welcome, Guest
Username: Password: Remember me

TOPIC: Common wind definition in Tomawac-Telemac2D coupling?

Common wind definition in Tomawac-Telemac2D coupling? 11 years 2 months ago #10437

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Hum, I'm disappointed, maybe it depends on what you do in venuti. Anyway you can proceed with your version and I'll think it over.

Regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Common wind definition in Tomawac-Telemac2D coupling? 11 years 2 months ago #10445

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello JM,

I have run some more simulations and I have verified that it does not interpolate for the time between the first and second timestep in the winds file.

Here is my fortran file (modified NOUDON and VENUTI):

File Attachment:

File Name: h4ca1b36.f
File Size: 17 KB

The modification I have made is a workaround for this particular case. I do not know if it can cause trouble if conditions change. I will use it carefully for now and wait for your solution.

Regards,
Costas
The administrator has disabled public write access.

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20484

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi everyone,

I found this topic that has been discussed almost 2 years ago regarding to wind input in TOMAWAC. So, with TOMAWAC V7.0, which subroutine can I use to read a wind file (e.g. text file)? I have a look in examples, but I cannot find any cases like my situation. Could someone please share with me your files?

Thanks & Best Regards

Huy
The administrator has disabled public write access.

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20486

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Huy,

The file that reads wind from a formatted winds file has always been venuti.f. If you post an example of the wind file you wish to read, then I could see if I have something to get you started.

Best Regards,
Costas
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20489

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Dear Costas,

Here is an example of my wind file. Actually I get this from ECMWF website by converting netCDF into text files.

Please help me out with this.

Thanks a lot and Best Regards

Huy

File Attachment:

File Name: Winfile_example.txt
File Size: 2 KB
The administrator has disabled public write access.

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20490

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Dear Huy,

Unfortunately, the venuti file I have written for a previous case is only for temporally varying winds, but constant in space. Your case is a lot more complicated. There is a Telemac2d example, called wind_txy that does what you need. The wind routine meteo.f for telemac2d is quite similar to venuti.f and you can adapt it.

Study the example and use it as a starting point.

Best Regards,
Costas
The administrator has disabled public write access.

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20492

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Thanks Costas.

I am also thinking of using METEO subroutine in T2D to read my wind file. Could I use wind results from TELEMAC2D then put it into TOMAWAC model? so that my wind file in TOWAMAC is a formatted file!? (This was inspired by PAT in previous posts, long time ago, now I can't find that post)

By the way, I copy here a wind data in text file in examples\telemac2d\wind_txy:

Could you explain the meaning of 11 columns below the station names? I am just wondering if the first column is a series of time? (0,10,20,30...)? and from the 2nd column are speed, and direction of each station?

NUMSTA NUMPOINTS
5,11
0,0, STATION1
500,0, STATION2
500,100, STATION3
0,100, STATION4
250,50, STATION5
0, 9.17, 160, 1.94, 240, 8.3, 190, 6.3, 174, 4, 186
10, 9.17, 160, 3.06, 250, 8.3, 190, 6.6, 174, 3.2, 178
20, 7.78, 150, 1.94, 240, 7.8, 190, 8.2, 176, 4.1, 174
30, 8.33, 160, 3.61, 200, 7.2, 200, 8.2, 176, 4.4, 180
40, 6.67, 150, 7.22, 210, 7.8, 200, 6.9, 173, 5.1, 180
50, 8.89, 160, 6.11, 200, 7.8, 190, 8, 176, 5, 178
60, 10.28, 160, 6.11, 200, -999, -999, 6.8, 172, 5.1, 176
70, 10.28, 160, 6.67, 200, 8.3, 190, 7.3, 174, 4.8, 187
80, 10.83, 160, 7.78, 200, 8.3, 200, 9.2, 185, 2.4, 194
90, 10.28, 160, 7.78, 210, 7.8, 190, 7.1, 175, 3.6, 199
100, 9.17, 160, 5.28, 200, 7.8, 200, 5.3, 172, 3.6, 194


Best Regards

Huy
The administrator has disabled public write access.

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20510

  • pprodano
  • pprodano's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 55
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
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20514

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Thanks Pat for your valuable suggestion!

My domain has an open boundary where wave can enter from the ocean :( . So what do you mean "to be specified separately as a boundary condition"?

I suppose to run TELEMAC2D coupled with TOMAWAC. In my situation, I think it is not easy to do because of spatial and temporal waves, and wind data unless I have correct subroutines to read them.

Has anyone done successfully the same as my model? Could you share with me your subroutines?

Many thanks and Best Regards

Huy
The administrator has disabled public write access.

Common wind definition in Tomawac-Telemac2D coupling? 8 years 7 months ago #20701

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi everyone,

I just want to come back this topic, and really want you to help me with 2 questions. Make sure that I am on the right track:

1. When I run 2D TELEMAC model (taking Wind data into account) coupling with TOMAWAC, is it compulsory to include/specify winds in TOMAWAC?

2. Regarding temporal/spatial wind data (e.g. text file), I have successfully run my T2D model with temporal winds, reading by ( same as wind_txy in example directory) and it can also read by the so-called "BELUGA" module (by Ehsan - #20695. So in TOMAWAC, could someone help me with modifying Fortran file to read such wind data? my key problem right now is to read this kind of winds in TOMAWAC. I am stuck with this.

Thanks a lot for your help!

Best Regards

Huy
The administrator has disabled public write access.
Moderators: tfouquet

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