Exporting .pos result files from Gmsh.write issue - guess from extension ambiguity ?
Hi there,
I am using gmsh extensively as a post-processor for an in-house solver. I want to store my results file, which contains several views (e.g. ux, uy, uz, vonmises). When I do it through the GUI, by exporting my results to a post-processing file (.pos extension) it works like a charm. I am able to reopen the file and I see my results.
However, when I try to save the same file using the python API:
gmsh.write("temp_results.pos")
it does write a file, but the latter contains some "mesh statistics", not my post-processing views... My naive understanding is that it guesses the wrong file type from the extension .pos (which apparently is shared between two file types - hence the ambiguity). Am I missing something? Many thanks,
Hadrien