Welcome, Guest
Username: Password: Remember me

TOPIC: Standalone TOMAWAC model

Standalone TOMAWAC model 1 year 5 months ago #41614

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hello,

I'm working on a wave model for a lake and would like to know if it is possible to run TOMAWAC as a standalone model, since I want to compare the results with a SWAN model.
If this is possible how does one setup the model, e.g. initial water level?

Thanks for the help.
The administrator has disabled public write access.

Standalone TOMAWAC model 1 year 5 months ago #41616

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3632
  • Thank you received: 1010
Look at the tomawac example as there is necessarily some case with a standalone Tomawac run.
As I remember, there is a keyword for the initial water level...
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Mustermann

Standalone TOMAWAC model 1 year 5 months ago #41622

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 287
  • Thank you received: 105
an example can be found in
calais_test/tom_calais.cas:INITIAL STILL WATER LEVEL = 5.1
The administrator has disabled public write access.

Standalone TOMAWAC model 1 year 5 months ago #41632

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Thanks for the help.

I could run a model without coupling and this went well. However, what I can not get hold of is how to give the wind information to TOMAWAC.

I used to give them as an ASCII file to Telemac (Timestep, Direction, Windspeed). From reading the manual I could not figure out if this is possible for TOMAWAC as well, since the manual and the reference manual only mentions the formats 3 and 4, which seem not to be what I am searching for. I used v8p2r1 manual.
I looked at the example `turning_wind` which uses a .slf file as wind input, which is not really what I am searching for.
The administrator has disabled public write access.

Standalone TOMAWAC model 1 year 5 months ago #41633

  • NZrigat
  • NZrigat's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 15
Hi,

Introducing your wind input in ASCII format is principally possible via selecting option-4 (user format), but it still requires programming Fortran subroutines. I recommend running a TELEMAC2D simulation with ASCII wind input (see wind_txy in telemac2d examples), then use the results file as your TOMAWAC's winds file (option-3). Alternatively, I would write a Python/MATLAB script to write wind data directly into a selafin format, which is far way more efficient.

Hope this helps,
Nayef
The administrator has disabled public write access.
The following user(s) said Thank You: Mustermann

Standalone TOMAWAC model 1 year 5 months ago #41635

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi Nayef,
Thanks for the help. I kind of assumed that I need to run the Telemac model first.
Writing a Python script which writes wind data into a selafin format sound much more efficient to me, however I have no clue how the selafin file is structured and may need to run a Telemac model anyway to get this structure. If you already have such a script I would be happy if you could share it.

Best,
Clemens
The administrator has disabled public write access.

Standalone TOMAWAC model 1 year 5 months ago #41636

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3632
  • Thank you received: 1010
Hi
You don't need to know exactly how a selafin file is structured as there is python script already dedicated to such tasks...
Try to have a look at the existing scripts dealing with meteo data could give you some ideas to create your own script (for example those which convert ECMWF data to telemac atmospheric data file)

Hope this helps
Christophe
The administrator has disabled public write access.

Standalone TOMAWAC model 1 year 4 months ago #41816

  • toby.jhnsn
  • toby.jhnsn's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 151
  • Thank you received: 7
Agreed - I've also found writing a simple script to interpolate wind data onto the computational mesh in SERAFIN format is the most straight forward and effective way of implementing non-stationary winds. Personally I do this with the Telemac matlab toolbox tools.

I create a dummy SERAFIN file in BK with the wind variables to be read. Then use the telemac matlab functions to write the interpolated wind data onto the grid for each timestep.
The administrator has disabled public write access.
Moderators: tfouquet

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