Welcome, Guest
Username: Password: Remember me

TOPIC: Running Telemac 2D with a new mesh

Running Telemac 2D with a new mesh 8 years 10 months ago #19301

  • y.kervella
  • y.kervella's Avatar
Hello,

I use regularly Telemac2D, but I recently decided to change my mesh generator.
I have generate an unstructured mesh with the software GMSH and I have transformed this mesh in a selafin format (GEOM.slf in the attached files).

I'm working in UTM coordinates over the Raz Blanchard area in France (EPSG: 32630).

The mesh seems ok when I open it in QGIS (with the Telemac QGIS plugin) as illustrated in the attached picture.
But when I try to run Telemac 2D, the program stop without any explanation (but when it reads the geom file I think).

I have attached my steering file and all the needed data.
Can someone have a look at this config ?

Thanks !
Best regards

Youen
Attachments:
The administrator has disabled public write access.

Running Telemac 2D with a new mesh 8 years 10 months ago #19304

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Too many errors in your fortran file with gfortran compiler...
But without fortran file, the model start running!

So the geometry file is not the problem.

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: y.kervella

Running Telemac 2D with a new mesh 8 years 10 months ago #19305

  • y.kervella
  • y.kervella's Avatar
Thanks Christophe !

It's strange..
When I try this config with an old mesh (OLD-GEOM.slf in the new attached zip file), it runs (with the fortran file) ! But not with my new mesh..

How do you run the model without fortran file ? Do you comment the input data files ?

Thanks
Youen
The administrator has disabled public write access.

Running Telemac 2D with a new mesh 8 years 10 months ago #19306

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
I just commented the line FORTRAN FILE in the steering file!
I used v7p0!
Christophe
The administrator has disabled public write access.

Running Telemac 2D with a new mesh 8 years 10 months ago #19307

  • y.kervella
  • y.kervella's Avatar
Ok, I'm trying to install the v7p1 (without success at the moment !).
The administrator has disabled public write access.

Running Telemac 2D with a new mesh 8 years 10 months ago #19342

  • y.kervella
  • y.kervella's Avatar
Hello,

With the v7p1 version, it seems ok !
I struggle to install the v7 version, due to the "plib" line (l. 570) in the runcode.py, where there is no os.path.join , and also due to the "svn info" messages.
But now, it works !
Thanks !

Another question: is it possible to modify the length of the line in the steering file (only 72 characters)? Maybe in damoc.f ?

Best,
The administrator has disabled public write access.

Running Telemac 2D with a new mesh 8 years 10 months ago #19344

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

This should be quite complex as the python script rewrite the steering file...
What will be the interest to have more than 72 characters as it's possible to have more than 1 line?

Regards
Christophe
The administrator has disabled public write access.

Running Telemac 2D with a new mesh 8 years 10 months ago #19345

  • y.kervella
  • y.kervella's Avatar
I automatically write my input files with their pathes; for example:
FICHIER DE DONNEES FORMATE 1 = 'my/path/is/too/long/to/be/written/here/tidal-input-file.dat'

How can I write this adress in 2 lines ?
The administrator has disabled public write access.

Running Telemac 2D with a new mesh 8 years 10 months ago #19356

  • y.kervella
  • y.kervella's Avatar
I have modified the damoc.f to be able to write lines until 143 characters, and it seems working.

But I have a problem with the selafin output:

I usually use either a home made Python script or the Qgis plugin to read the .slf files, but it does'nt work with the V7p1 outputs.

For example, in Qgis, I have the error:
"ValueError: year is out of range"
(the same with my script when Iread the header).

Does something change in the selafin way of writting in the new version of Telemac ?

Thanks,

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

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