Welcome, Guest
Username: Password: Remember me

TOPIC: Common wind definition in Tomawac-Telemac2D coupling?

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

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Regarding question 1, wind in Telemac2d and Tomawac is completely independent and -unfortunately- you have to specify it to both models.

Regarding question 2, this code deals with reading the NetCDF format. Are your winds in NetCDF? If yes, you can start adapting it to venuti.f and post your difficulties in a new thread where everyone can help you out.

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 #20711

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

Thanks for replying!

My wind data are formatted in netCDF, but now It is easy to convert into text files. so, with text files, I can use an txy_wind example to appy in my T2D model, but it is hard for me to modify subroutine and to get TOMAWAC run with temporal/spatial wind data :(

I actually posted an new topic last two weeks, but no one replied. My new thread is #20398

Best Regards

Huy
The administrator has disabled public write access.

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

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

It is easier to get answers to smaller/specific problems rather than general ones. So far people have come out with two implementations for what you need, both of them for Telemac2d.
If I were you, I would convert my wind data to text and adapt the wind_txy example to venuti.
Else, you can do as Pat said, i.e. do an initial run with telemac2d using the meteo.f from wind_txy and write the wind vectors to the results file. Then you can use the wind vectors from the results file to drive Tomawac. Tomawac has an option to read wind data from Selafin files. Why don't you give it a go?

Regards,
Costas
The administrator has disabled public write access.

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

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

Now I have successfully run my Telemac 2d model using Meteo file, and I can get the wind results. Then I put it into Tomawac ( as a slf file), but it does not work because my model has an open boundary (with the ocean).

As Pat said before: "This will work if you have an enclosed domain (i.e., a lake)".

And he also suggested that: "If you have the domain with an open boundary (where waves can enter), this will have to be specified separately as a boundary condition"

So my question is How can I specify "separately as a boundary condition"?

Best Regards

Huy
The administrator has disabled public write access.

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

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

The open boundary is a wave issue. Leaving boundary waves aside, does Tomawac accept the wind definitions from the selafin file?

Costas
The administrator has disabled public write access.

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

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
What I did was:

I set up a 2D Telemac model, specify only

VARIABLES FOR GRAPHIC PRINTOUTS : 'X,Y'

in order to get WIND ALONG XY. After getting this slf file, I put into Tomawac model, and specify keywords:

WINDS FILE FORMAT = 3 (SERAFIN-formatted file)

WINDS FILE = *.slf

Also, I specify VX, VY in the keyword: VARIABLES FOR 2D GRAPHIC PRINTOUS in Tomawac, to see if the Tomawac model can generate wind data. However, the results did not include the wind output! So I guess my slf wind file from 2D model does not work with Tomawac.

Do you have any more suggestions about this?


Thanks and Best Regards

Huy
The administrator has disabled public write access.

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

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Can you post the TOMAWAC cas file? Maybe you left a keyword regarding wind forcing out.

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 #20719

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

Here is my steering file that I set up for Tomawac model.


Dear Christophe,

I am now aware of the importance of learning Fortran. Now I have a time constraint that I am not able to do that within several weeks. Please forgive me.

Thanks a lot for your great support!

Best Regards

Huy

File Attachment:

File Name: TOMAWAC.cas
File Size: 2 KB
The administrator has disabled public write access.

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

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

Do the following and try again:
  1. Put your wind file in BINARY WINDS FILE not WINDS FILE BINARY
  2. Set CONSIDERATION OF A WIND = true
  3. Set STATIONARY WIND = false
  4. Set WIND GENERATION = 1 (or any other available option)

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 #20716

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Wind in the model is use to generate waves inside.
Waves at the boundary represent the part of waves generated outside your domain by the wind. These are 2 different things!

For the first one, you have to add the wind to the tomawac computation for the source term
For the second one, you have to add the wave spectrum at the open boundary...

For the kind of use you have with the various modules, I would advise you to quickly learn fortran!

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran
Moderators: tfouquet

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