[Gmsh] Is there an "Open" script function similar to "Merge"?

John Moore johnpmooreiv at gmail.com
Thu Jan 8 19:35:16 CET 2015


I am trying to post-process large data sets stored in MESH2 ascii text
format. I loop over the views, and load them with the script function:

Merge "myfile";

I then do the visuilization on the file, and then call:

Delete View[0] so that there is only one view stored at a time.

However, I find that calling Delete View does not actually get rid of the
data that was merged, it only gets rid of the view.

So my question is: is there a way to load mesh files in a script without
merging them? If not, this functionality could be really useful.

I've included a simple script that does the above for reference.

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150108/9f74ea1e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script_unsteady.geo
Type: application/octet-stream
Size: 777 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150108/9f74ea1e/attachment.geo>


More information about the gmsh mailing list