Welcome, Guest
Username: Password: Remember me

TOPIC: ATM Pressure & Wind varying in time and space

ATM Pressure & Wind varying in time and space 3 years 3 weeks ago #39294

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

I am running a telemac2d simulation with time and space varying winds and atm pressure. I wrote the wind data into an ASCII atm file and got that running successfully. Now I need to add the atm pressure data, I know principally I should be using the same approach as wind's, but I have got few questions:

1- Do you I write a separate ASCII file for atm pressure or add the data to the already existing wind ASCII?

2- Any hints on editing meteo.f subroutine to read both atm pressure and wind-varyin in time and space ?


Cheers,

Nayef
The administrator has disabled public write access.

ATM Pressure & Wind varying in time and space 2 years 11 months ago #39412

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

As written in the TELEMAC-2D user manual, for OPTION FOR WIND = 3 (wind variable in time and space, but this can be generalised for other atmospheric variables), you have to implement yourself the treatment, e.g. in the METEO subroutine.

So, for your 1st question, you can do what you want, 1 or 2 files, but you have to manage how to read the values in 1 or 2 files.

You can have a look at the $HOMETEL/examples/telemac2d/wind_txy example which gives you an example to do with wind, but you may already have used it.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

ATM Pressure & Wind varying in time and space 2 years 11 months ago #39515

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

Thank you for your response, for reference I ended up adding atmospheric pressure data to the same formatted file as wind's, then edited meteo.f subroutine to read new data file (varying temporally & spatially) then called idwm_t2d.f for wind and pressure data interpolation.

Cheers,

Nayef
The administrator has disabled public write access.

ATM Pressure & Wind varying in time and space 2 years 3 months ago #40819

  • toby.jhnsn
  • toby.jhnsn's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 8
The easiest way I've found to do this is to create a binary atmospheric file with the following variables:

- WIND VELOCITY U
- WIND VELOCITY V
- SURFACE PRESSURE

Personally I use the MATLAB Telemac toolbox to do this - its just a matter of creating a new timestep in the binary file for each wind/pressure record and spatially interpolating the results onto the mesh.
The administrator has disabled public write access.
Moderators: pham

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