[Gmsh] python API save geo file
juan.e.sanchez at gmail.com
Thu Sep 26 18:05:20 CEST 2019
I do not know the current status of such a feature in pygmsh, or if it is
possible with their approach.
For such an application, I have written scripts to:
read the generated mesh script (mesh format 2)
find surface triangles between volumes
add the triangles and Physical names to a new mesh file
It is available here:
On Thu, Sep 26, 2019 at 10:26 AM Miroslav Kuchta <miroslav.kuchta at gmail.com>
> Hi Juan,
> thanks for pointing out pygmsh. However, I'd like to do some computations
> in the process of defining the model, e.g. compute the labels of the
> and this functionality is missing in pygmsh as far as I can tell.
> Of course with the saved geo file I can extend the script with gmsh
> So that's a plan B :)
> On Thu, Sep 26, 2019 at 5:06 PM Juan Sanchez <juan.e.sanchez at gmail.com>
>> This project offers a Python interface.
>> It is able to dump a geo file that can be processed through Gmsh. I have
>> successfully used it to handle more complex geometries processed through
>> On Wed, Sep 25, 2019 at 3:20 PM Miroslav Kuchta <
>> miroslav.kuchta at gmail.com> wrote:
>>> is there a way to write as geo file the model constructed using python
>>> Thanks, Miro
>>> gmsh mailing list
>>> gmsh at onelab.info
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gmsh