FEM: mesh: interested in STL volume mesh???

About the development of the FEM module/workbench.

Moderator: bernd

thorcaption5
Posts: 7
Joined: Tue Apr 14, 2020 5:35 pm

FEM: mesh: interested in STL volume mesh???

Postby thorcaption5 » Mon Apr 20, 2020 4:43 pm

Dear FEM people,

Is there any interest in meshing an STL mesh by gmsh within the FEM workbench? I already wrote a macro for that would provide this code. But I don't know whether this is appropriate for the FEM workbench and where to implement the actual command (perhaps within the mesh command group?). Opinions are appreciated :mrgreen: (Btw. the reverse operation from FEM mesh to STL mesh would also be nice.)https://19216811.cam/]https://19216811.cam https://xender.vip https://testmyspeed.onl

[/size]
Best wishes
Last edited by thorcaption5 on Thu Apr 23, 2020 9:44 am, edited 1 time in total.
fandaL
Posts: 370
Joined: Thu Jul 24, 2014 8:29 am

Re: FEM: mesh: interested in STL volume mesh???

Postby fandaL » Mon Apr 20, 2020 8:21 pm

It could be useful in some cases. Currently one needs to make solid from Mesh first (in Mesh wb) which is with many faces cumbersome to work with. Complication is that to prescribe boundary conditions and loads you need to select manually all faces, since FreeCAD FEM wb applies them to geometry. They are internally associated to mesh.

Converting FEM mesh to Mesh is possible already https://wiki.freecadweb.org/FEM_FemMesh2Mesh , so you can export it to stl after the conversion
johnwang
Posts: 347
Joined: Sun Jan 27, 2019 12:41 am

Re: FEM: mesh: interested in STL volume mesh???

Postby johnwang » Tue Apr 21, 2020 3:31 am

Need input a Stl model, put it into a flow field(a big box), then mesh the flow field(big box minus Stl body).This Stl body is in the middle of the big box.no touching.

Another one is chose a plain of the Stl model to be ground, let it sit on one plain of the big box.
User avatar
bernd
Posts: 10179
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: FEM: mesh: interested in STL volume mesh???

Postby bernd » Tue Apr 21, 2020 5:33 am

lately werner added gmsh to mesh wb, means it is possible already to use gmsh to mesh a soid directly without FEM.

Furthermore what would be possible too, is use FEM mesh object and make a 2D mesh. This could be converted with the existing tools to a mesh. (two are availsble for this)