Welcome, Guest
Username: Password: Remember me

TOPIC: PCL file for drogues position.

PCL file for drogues position. 5 years 5 months ago #33837

  • nicolas
  • nicolas's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
Dear all,

I am trying to generate, using FORTRAN, a PCL file to display (at different time steps) the positions of drogues (resulted from Telemac2D) with BlueKenue. I have looked at BlueKenue's documentation that provides information about this format. It seems to be basically something like this (written in a binary file)
1st line = ':FileType pcl binary'
2nd line = ':EndHeader'
3rd line (at the different time steps) = frame,simstep,year,month,day,hour,minu,sec,mill,xcoord,ycoord
However, it seems that I have missed something about it (maybe associated with the possibility to create such file with FORTRAN).

Thank for your help,

With best regards,

Nicolas.
The administrator has disabled public write access.

PCL file for drogues position. 5 years 5 months ago #33843

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 683
  • Thank you received: 178
If you give me a small example *.pcl output file that you have created I can step through the debugger while loading it into Blue Kenue and let you know what's missing... if you want...

Kindly,
Alan
The administrator has disabled public write access.

PCL file for drogues position. 5 years 5 months ago #33850

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
Hello all,

In post #28093 I included source code that generates a valid PCL file

Hope this helps... Martin
The administrator has disabled public write access.

PCL file for drogues position. 5 years 5 months ago #33851

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
Hello all,

In post #28093 I included source code that generates a valid PCL file

Hope this helps... Martin
The administrator has disabled public write access.

PCL file for drogues position. 5 years 5 months ago #33856

  • nicolas
  • nicolas's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
Thank you for your quick answer.

Please find attached an example of the *.pcl output file that includes the position of drogues at one time step. However, this file is not read by BlueKenue.

I will also analyse the source code included in post #28093.

Nicolas.
Attachments:
The administrator has disabled public write access.

PCL file for drogues position. 5 years 5 months ago #33871

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 683
  • Thank you received: 178
I have removed garbage characters in the header portion. Blue Kenue can now read it. Your file header now looks like this:

#########################################################################
:FileType pcl binary EnSim 1.0
:WrittenBy Hailiang Shen
#
#
:EndHeader

The data portion of the file is not read properly by Blue Kenue. This is what Blue Kenue reads:

seqNum 805306368 long
simStep 16777216 long
yy 167772160 long
mm -536870912 long
dd 50331655 long
hh 16777216 long
mi 16777216 long
ss 167772160 long
ms 0 long

Kindly,
Alan
The administrator has disabled public write access.

PCL file for drogues position. 5 years 4 months ago #33910

  • nicolas
  • nicolas's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
Thank you Alan.

I will investigate these modifications.

With best regards,

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

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