Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac2d BINARY DATA FILE 1 FORMAT issue [trunk]

Telemac2d BINARY DATA FILE 1 FORMAT issue [trunk] 5 years 2 months ago #34447

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello all,
I have noticed that in telemac2d, I still need to define BINARY DATA FILE 1 FORMAT otherwise the computation halts with an error. This is no more required with e.g. geometry file where precision is automatically detected.
Moreover, if I have a double precision BINARY DATA FILE 1, setting 'SERAFIN' or 'SERAFIND' doesn't make any difference. It just needs be there.
Having a closer look at the dictionary, 'SERAFIN' is everywhere replaced by 'SERAFIN?, except BINARY DATA FILE 1 FORMAT.
Best Regards,
Costas
The administrator has disabled public write access.

Telemac2d BINARY DATA FILE 1 FORMAT issue [trunk] 5 years 2 months ago #34453

  • flanagan
  • flanagan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 8
Hi,
SERAFIND => the "D" means double precision.
The administrator has disabled public write access.

Telemac2d BINARY DATA FILE 1 FORMAT issue [trunk] 5 years 2 months ago #34459

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello flanagan,
I am aware of this convention. I am just reporting a potential inconsistent treatment of BINARY DATA FILE 1 compared to the other input files.
Regards,
Costas
The administrator has disabled public write access.

Telemac2d BINARY DATA FILE 1 FORMAT issue [trunk] 5 years 2 months ago #34561

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
HI,

This is normal because by default the file format is BIN.
Hence the need to specify the format is it is a serafin file.
However if you specify SERAFIN or SERAFIND it should correct automatically if you made a mistake.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: cyamin
Moderators: pham

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