[Gmsh] Integrate GMSH with FreeCAD
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Mon Aug 17 16:08:34 CEST 2009
Joachim Zettler wrote:
> Dear all,
>
> I am one of the developers in the OpenSource Project FreeCAD (see
> https://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page).
>
> One of the workbenches I currently work on is the FE-Workbench. In
> this workbench the user should be able to select CAD-Surfaces or Edges
> to apply boundary conditions or Loads for further FE-Calculations with
> Code-Aster or Calculix. Until now we miss a good meshing library which
> covers the task of high quality surface or volume meshing. After the
> meshing is done we apply our preset boundary conditions and loads and
> generate an Input-Deck for the solvers of interest.
>
> Would it be possible to use GMSH for the whole meshing task? It would
> also be very helpful if we can preserve TopoDS_Face or Edge
> information during the meshing to map the loads and boundary
> conditions to the right Triangles and Nodes afterwards.
Hello Joachim - Yes, definitely. Compile Gmsh as a library and you can
directly mesh the opencascade objects through the Gmsh API.
A simple example on how to pass a TopoDS_Shape to Gmsh through the API
is available in the contrib/api_demos directory.
Cheers,
Christophe
>
> Thank you in advance for your feedback.
>
> With best regards,
>
> Joachim
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine