Welcome, Guest
Username: Password: Remember me

TOPIC: Floats binary file

Floats binary file 11 years 7 months ago #8210

  • julien
  • julien's Avatar
Hello,

I have issues exploiting telemac binary files result for floats in 3D.
I dont understand how the file is organise compared to 2D results.
I usually trasform my selaphin file into basic Ascii file with XY coordinates.
When I work in 3D, I include my Z coordinnates into the subroutine FLOT3D.
ex :

XFLOT(1,1)=-166000.D0
YFLOT(1,1)=-318000.D0
ZFLOT(1,1)=-10.D0

If I load the file into bluekenue and a new parameter appear compared to 2D results : 'cote relative'.
There are no explaination about the binary selaphin file structure with the Z coordinates in the 3D manual. I can read/write the XY coordinates as usual but not the Z. Can you please help me.

With Best Regards,

Julien
The administrator has disabled public write access.

Floats binary file 11 years 7 months ago #8211

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Actually the output for floats in Telemac-3D gives the z coordinates in the tranformed mesh, i.e. between 0 and 1., this is probably what is called "cote relative".

This will be all changed in the next version 6.3 and the file format will be in ascii mode, giving more clearly the X, Y and Z, and moreover compatible with TecPlot (and it will work in parallel).

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Floats binary file 11 years 7 months ago #8212

  • julien
  • julien's Avatar
thanks Jean-Michel.
Sadly i'm not familliar with telplot.
Is it a way you could help me to read the selaphin file with my fortran routine ?
I use it to transform the Seraphin into Ascii with XY coordinates.
But I dont know how to read the Z value of the tranformed mesh into it.

PS : I cant wait the new 6.3 version, a lot will be done for floats calculation !
Attachments:
The administrator has disabled public write access.

Floats binary file 11 years 7 months ago #8213

  • jmhervouet
  • jmhervouet's Avatar
Hello,

The way the Selafin file is built up to version 6.2 is way too complicated, actually the trajectories of all the floats are given as a mesh with flattened elements. The variable "cote relative" is as I said the z-coordinate in the transformed mesh. What you can do is provisionnally build your own results file in the subroutine sflo3d.f, instead of writing the selafin file and transforming it, this would be much simpler.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.
Moderators: pham

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