Welcome, Guest
Username: Password: Remember me

TOPIC: Temporally Variable Winds

Temporally Variable Winds 3 years 1 month ago #39194

  • toby.jhnsn
  • toby.jhnsn's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 8
Hi,

Been struggling quite a lot trying to get spatially constant and temporal varying winds and wave boundary condition in v8p2r1, provided via ASCII - quite strange that this hasn't been implemented as default functionality.

My skills with FORTRAN are quite limited, so while I understand the concepts of the required source code edits (user_wind and user_limwac), I am unable to successfully execute them. My main issue is that there seems to have been a restructuring of the code in one of the recent versions, with the creation of the user_* subroutines. There was some nice examples on the forums of the required edits to 'LIMWAC' and 'NOUDON', however, the variables passed into the functions have now changed.

Has anybody tried to implement this functionality and if so could you please share with me your source code edits.

Regards,
Toby
The administrator has disabled public write access.

Temporally Variable Winds 2 years 11 months ago #39520

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

I suggest running a TELEMAC-2D simulation for wind first, then import results to TOMAWAC as a binary file. That saves you the trouble of Fortran editing if you are not familiar with editing subroutines.

You can follow the steps below:

1- In the TELEMAC-2D steering file set keywords WIND and OPTIONS FOR WIND to YES and 2, respectively.

2- Assign the keyword ASCII ATMOSPHERIC DATA FILE with the name of the wind data (Varying in time)

3- Your ASCII wind data file should have the following format:

TIME FUAIR FVAIR
s m/s m/s
0, 5, 6
100, 6, 7
200, 5, 8

4- Assign the keyword FORTRAN FILE to the name of the folder containing Fortran subroutines needed. (meteo.f only needed I think, but add idwm_t2d.f and corfon.f also just in case)

5- Make sure you give the keyword VARIABLES FOR GRAPHIC PRINTOUTS the following values: 'U,V' , then run the simulation.


In TOMAWAC's steering file add the following lines:

CONSIDERATION OF WIND = YES
STATIONARY WIND = NO
WIND FILE FORMAT= 3
BINARY WIND FILE = ' YOUR_TELEMAC_RESULTS_FILE.slf'



That's one way to do it of course, hope this helps.



Nayef
The administrator has disabled public write access.

Temporally Variable Winds 2 years 11 months ago #39521

  • NZrigat
  • NZrigat's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 16
Forgot to mention then define Type of boundary directional spectrum using the appropriate keyword (options 1 to 7), then if needed consider source terms and select wind generation and dissipation models.


cheers,

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

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