Hello,
I'm trying to do a thermal analysis on my compound but for some reason that I didnt understand I have the error below when I'm doing my Gmsh. Its my first time using Freecad and I dont understand how to solve this probleme can you help me please ?
Kadim
my Error:
...Index out of range. This Solid does not exist in the Shape!
...Traceback (most recent call last):
File "C:/Users/", line 354, in <module>
gmsh_mesh.get_group_data()
File "C:\Program Files\FreeCAD 0.19\Mod\Fem\femmesh\gmshtools.py", line 336, in get_group_data
new_group_elements = meshtools.get_mesh_group_elements(mg, self.part_obj)
File "C:\Program Files\FreeCAD 0.19\Mod\Fem\femmesh\meshtools.py", line 1847, in get_mesh_group_elements
grp_ele = get_reference_group_elements(mesh_group_obj, aPart)
File "C:\Program Files\FreeCAD 0.19\Mod\Fem\femmesh\meshtools.py", line 1967, in get_reference_group_elements
elif stype != ref_shape.ShapeType:
<class 'AttributeError'>: 'NoneType' object has no attribute 'ShapeType'
gmsh analysis
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Posts: 3
- Joined: Fri Nov 04, 2022 9:39 am
gmsh analysis
Last edited by kadym30200 on Fri Nov 04, 2022 3:25 pm, edited 1 time in total.
Re: gmsh analysis
Can you share the script or .FCStd file ?
-
- Posts: 3
- Joined: Fri Nov 04, 2022 9:39 am
Re: gmsh analysis
hi,
My code is above I just forgot to precise that my compound is just composed by a fusion of several blocs:
Last edited by kadym30200 on Fri Nov 04, 2022 3:24 pm, edited 1 time in total.
Re: gmsh analysis
What I mean is a complete script so that I could open your geometry in FreeCAD and try to make it usable for Gmsh.kadym30200 wrote: ↑Fri Nov 04, 2022 1:58 pm My code is above I just forgot to precise that my compound is just composed by a fusion of several blocs:
-
- Posts: 3
- Joined: Fri Nov 04, 2022 9:39 am
Re: gmsh analysis
Sorry but I cant, its a file from my company and I cant share any part of it. Do you have any clues for me ?NewJoker wrote: ↑Fri Nov 04, 2022 2:04 pmWhat I mean is a complete script so that I could open your geometry in FreeCAD and try to make it usable for Gmsh.kadym30200 wrote: ↑Fri Nov 04, 2022 1:58 pm My code is above I just forgot to precise that my compound is just composed by a fusion of several blocs:
I guess my issue come from this part of Meshtool.py but I dont understand what should I do.
Last edited by kadym30200 on Fri Nov 04, 2022 3:24 pm, edited 1 time in total.
Re: gmsh analysis
Try without scripting for now - do it manually in GUI. If it still doesn't work, maybe you can create a simple test example (your case but with simplified geometry), with the same issue, to be shared here.