I would like to script a FE analysis and by using the python interface.
My model is very simple:
In the console I get the mesh and its part instance by the following commands:
Code: Select all
> analysis = App.ActiveDocument.Analysis > mesh = analysis.getObject("FEMMeshGmsh001") > part = mesh.Part
When I start Gmsh via the GUI, the shape2mesh.geo file is written and it contains the group data, so the boundary conditions/mesh groups are defined right. Has anyone an idea what I'm doing wrong?
Thanks in advance!