Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netgen algorithm #7

Open
ruchg opened this issue Jan 23, 2017 · 0 comments
Open

Netgen algorithm #7

ruchg opened this issue Jan 23, 2017 · 0 comments

Comments

@ruchg
Copy link

ruchg commented Jan 23, 2017

I get a:
Unexpected error in GMSHMesh macro: <class 'subprocess.CalledProcessError'>
when I use netgen algorithm when using this Macro in FreeCAD

I can copy the command from the FreeCAD report window and run in a terminal and get a core dump.
/usr/bin/gmsh /tmp/tmp6xMEDR.step -3 -format unv -o /tmp/Fusion_Mesh.unv -algo netgen -clmax 1000.00 -optimize -order 2
But if I were to change the -algo to iso, or tetgen (both not included in my version of gmsh per the man page) it runs to completion.
/usr/bin/gmsh /tmp/tmp6xMEDR.step -3 -format unv -o /tmp/Fusion_Mesh.unv -algo iso -clmax 1000.00 -optimize -order 2

I am at version 2.13 of gmsh, this is the last version available from my Fedora repository. The GMSH website announced the release of version 2.16 on 3Jan2017

If I look at the manpage for for my version of gmsh specifically the -algo options:
-algo string
select mesh algorithm (meshadapt, del2d, front2d, del3d, front3d).

Perhaps netgen is no longer available or as an alias pointing to another option.

It is interesting that iso and tetgen both are not listed, however neither throw the error.

I've edited my local copy of the macro to drop netgen algorithm choice.

If I look at the format strings available
-format string
set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf,
p3d, cgns, med, fea).

It would appear that more have been added since the Macro was written, or perhaps they were deemed unhelpful and were left off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant