Hi everybody ! To enable the visualization with Paraview of the results of my Fortran FE code, I developed in it the generation of a vtk file as output (legacy format, either ASCII or BINARY). The vtk legacy format is quite sufficient for the FE post-processing, thanks to POINTS, CELLS and associated DATA (scalars, vectors and tensors). However, to allow an easy filtering of data by “group names”, I define some appropriate FieldData of string type, wich are to be displayed in the Information tab of Paraview. My problem is that String Field Data work fine if the vtk file is in ASCII format, but unfortunately Paraview crashes when reading the field data in the BINARY format file. To open the vtk BINARY file, i use the following statement in IFX Fortran on Windows : “open(iufile,FILE=trim(ficname),FORM=“unformatted”,RECORDTYPE=‘stream_lf’,CONVERT=‘big_endian’,ERR=1,IOSTAT=io)”. Then, then, to create the FiedData, I use the unformatted write “write(iufile) chain_data”..
The crash of the Paraview reader comes from my binary FieldData because Paraview reads correctly my binary file if I remove all the FieldData, So, the issue probably is an incorrect string separator or end of record due to my binary write. It is very difficult to find detailed information on legacy vtk + FieldData + binary files…Has anybody experienced that kinf of issue in writing text in a binary file by a fortran code?