/
GiD_fOpenPostResultFile

GiD - The personal pre and post processor

GiD_fOpenPostResultFile

GiD_FILE GiD_fOpenPostResultFile(const char * FileName, GiD_PostMode Mode);

GiD_FILE GiD_fOpenPostResultFile_utf8(const char * FileName, GiD_PostMode Mode);


Description: Open a new post result file and return its file handler, to allow subsequent call to
functions write the information into the desired file. If there is no mesh file opened then the output of the mesh is written into this file also.


Parameters:
char* FileName: name of the mesh file (*.post.res)

Note: the function _utf8 expects the name utf-8 encoded (more robust in different languages)
GiD_PostMode Mode
GiD_PostAscii=0 for ascii output
GiD_PostAsciiZipped=1 for compressed ascii output
GiD_PostBinary=2 for compressed binary output
GiD_PostHDF5=3 for HDF5 output (the library must be compiled with HDF5 support)
Note: In binary output, the mesh must be inside the same file as the results, you should not call GiD_fOpenPostMeshFile and GiD_fClosePostMeshFile in that case.


Example:
C/C++

fd=GiD_fOpenPostResultFile( "testpost.post.bin",GiD_PostBinary);

FORTRAN

fd=GID_OPENPOSTRESULTFILE('testfortran.post.res',2)

Related content

GiD_fOpenPostMeshFile
GiD_fOpenPostMeshFile
More like this
POSTPROCESS DATA FILES
POSTPROCESS DATA FILES
More like this
Binary format
More like this
Library use
Library use
More like this
GiD_fFlushPostFile
GiD_fFlushPostFile
More like this
How to read postprocess information using GiD
How to read postprocess information using GiD
More like this

COPYRIGHT © 2022 · GID · CIMNE