Welcome, Guest
Username: Password: Remember me

TOPIC: Wind depending on time and space

Wind depending on time and space 2 years 1 week ago #41558

Hello,

I am simulating a hydrodynamic example. I have 2 questions:

1) For wind simulation, should two files (meteo.f and idwm_t2d.f) be changed?
And program them based on my own file?

2) If yes. How do I do this?

Thank you in advance for your reply.
Sina
The administrator has disabled public write access.

Wind depending on time and space 2 years 1 week ago #41560

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

I am assuming you're looking for considering wind input that is variable in space & time. In order to do this you can either provide the wind data as a formatted winds file (text file) or a binary file (Selafin). Either way I would keep in my fortran folder the following subroutines unmodified-if you stick to the original format of winds file provided in the example:

-meteo.f: Computes atmospheric pressure and wind velocity fields from
input data files.
-idwm_t2d.f: Uses inverse distance weighting method to compute a wind
field/atmospheric pressure that varies in time and space.
-corfon.f: Modifies the bottom topography.


Hope this helps,

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

Wind depending on time and space 2 years 1 week ago #41562

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

To complete Nayef's anwer, if you follow the format used in the $HOMETEL/examples/telemac2d/wind_txy example, you do not need to change meteo.f and idwm_t2d.f subroutines available in the user_fortran folders.

You can also have a look at what is available in $HOMETEL/sources/utils/bief/meteo_telemac.f module.
If you follow the expected format (only described in this module written in Fortran), you can have wind depending on time and space:
- for ASCII format depending on 1, 2 or 3 locations,
- for binary format depending on every node of the mesh (it is a Serafin file based on the mesh of the geometry file).

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: sina_gharavi_
Moderators: pham

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