Welcome, Guest
Username: Password: Remember me

TOPIC: Drogues with geographic system using TPXO

Drogues with geographic system using TPXO 3 months 4 weeks ago #45260

  • KRobert2
  • KRobert2's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi,

I'm working with a large model in lat-lon coordinates using TPXO. From my understanding, TELEMAC projects the mesh in Mercator with default origin at (0, 48).

I want to add drogues in my simulation using user_flot.f to specify the releasing location. Known location is in Lat-Lon. I usually use BlueKenue to project in UTM but since my domain is large and covering multiple zones, I choose to work in lat-lon. I therefore use a GIS software to convert my releasing location in mercator (it's not available in bluekenue). It requires false easthing and northing which I kept to 0,0. So I modified LATITUDE OF ORIGIN POINT = 0, LONGITUDE OF ORIGIN POINT = 0 in the .cas file.

My model is running, but the drogues are not moving where they should (I also ran a PSED simulation to have an idea of the displacement). How can I be sure Telemac projected my geometry file in the same way as the GIS software projected my releasing location? Is there a way to save the results files in mercator or to save the drogues results file in lat-lon so I can overlap my velocity with the drogue displacement and be sure they are release a the right location?

Also, I added the lines

ASCII DROGUES FILE = t2d_particles.dat
BINARY DROGUES FILE = t2d_particles.pcl
DROGUES FILE FORMAT = BKBINPCL

But only .pcl is saved. The .dat file is created, but is empty.

Thank you,

Karine
The administrator has disabled public write access.

Drogues with geographic system using TPXO 2 months 4 weeks ago #45449

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

Can you upload the steering file please?
Is there a way to save the results files in mercator
: RESULT FILE IN LONGITUDE-LATITUDE = NO
to save the drogues results file in lat-lon
: in standard TELEMAC, it seems to be no, but you can implement the transformation by implementing Fortran if you want.
Also, I added the lines

ASCII DROGUES FILE = t2d_particles.dat
BINARY DROGUES FILE = t2d_particles.pcl
DROGUES FILE FORMAT = BKBINPCL

But only .pcl is saved. The .dat file is created, but is empty.

By reading $HOMETEL/sources/utils/bief/utimp_drogues.f subroutine, the writing in one of the 2 drogues file is determined by the format given by DROGUES FILE FORMAT. If it is BKBINPCL, only BINARY DROGUES FILE is filled. If it is TECPLOT, only ASCII DROGUES FILE is filled.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

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