From Solidworks to sfepy

Hi all,
I am new using Sfepy and I am trying to get a part from solidworks, mesh it (using whatever) and then do some FEA on Sfepy.
So right now, I exported the part in STEP and used GMSH to generate the mesh. But the VTK/MESH mesh file contain more dans 1 cell type.
So Sfepy pop this error : "meshes with several cell kinds are not supported!"
I am trying to figure how to have only one cell kind.
Is this seem right? Solidwork -> Step file -> Gmsh -> mesh/vtk file -> sfepy

Hi François,
Do you have several volume cell types (= cell types of the topological dimension equal to the space dimension)? That is really not supported, and will not be in near future.
If you have a single volume cell type, you can either manually remove the surfaces/edges from the mesh file, or try the current git master - I have just merged [1] by Vladimir Lukes, which might help you. In which gmah format do you save the mesh?
The mesh reading functions can be updated to ignore the lower-dimensional mesh entities - you can submit an issue (pull requests welcome!) if [1] does not work for the format you use.
r.
[1] https://github.com/sfepy/sfepy/pull/388
On 9.4.2017 07:53, François Gingras wrote:
Hi all,
I am new using Sfepy and I am trying to get a part from solidworks, mesh it (using whatever) and then do some FEA on Sfepy.
So right now, I exported the part in STEP and used GMSH to generate the mesh. But the VTK/MESH mesh file contain more dans 1 cell type.
So Sfepy pop this error : "meshes with several cell kinds are not supported!"
I am trying to figure how to have only one cell kind.
Is this seem right? Solidwork -> Step file -> Gmsh -> mesh/vtk file -> sfepy
participants (2)
-
François Gingras
-
Robert Cimrman