Welcome, Guest
Username: Password: Remember me

TOPIC: Wind File in Telemac3d

Wind File in Telemac3d 7 years 2 months ago #27700

This is possibly a simple question but I want to use OPTION FOR WIND = 2 or = 3. What Subroutine reads this wind file and what name / format is required. In Telemac2d this is done in Meteo subroutine but no such subroutine is present for Telemac3d.

regards
Tony C
The administrator has disabled public write access.

Wind File in Telemac3d 7 years 2 months ago #27703

  • Phelype
  • Phelype's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 64
Hello Tony,

Yes, TELEMAC3D does not, by itself, have a copy of the meteo subroutine. But as the 2D and 3D case share many similarities, it is possible to reuse many of TELEMAC2D's subroutines in TELEMAC3D.

There is a statement "USE INTERFACE_TELEMAC2D" that make all of TELEMAC2D's subroutines available in TELEMAC3D.

The meteo subroutine is natively called by TELEMAC3D during its initialization and during the time loop, so you can use you meteo.f from 2D in 3D. Just point to it with the FORTRAN FILE keyword.

Regards,

Phelype
The administrator has disabled public write access.
The following user(s) said Thank You: hydroenvironmental

Wind File in Telemac3d 7 years 2 months ago #27704

my confusion is that the recent version of the TELEMAC3D manual April 2017 mentions that the METEO subroutine is provided to define wind, which is not the case with TELEMAC3D suite provided.

I since got wind option 2 working by including the wind file under the following Key "ASCII ATMOSPHERIC DATA FILE" = <name of wind file >
and it appears to have worked

I will see if T2d Meteo wroks by including it as advised

regards
Tony C
The administrator has disabled public write access.

Wind File in Telemac3d 7 years 2 months ago #27705

  • Phelype
  • Phelype's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 64
Indeed, the manual says that meteo is included with TELEMAC3D.

But in a software-maintenance point of view it is much easier to update and maintain a single copy of a subroutine than to keep two parallel copies.

This is probably the reason why the meteo subroutine is imported from TELEMAC2D rather than copied to the telemac3d sources folder.

But since it is included in the declarations of the telemac3d subroutine, it should work exactly as if it were packaged with telemac3d.

Regards,

Phelype
The administrator has disabled public write access.
Moderators: pham

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