I have an issue with meshing regions because some of them have jac < 0.
When i start meshing with regions, i get an error in the terminal, see:
Code: Select all
Active analysis found: Analysis
ElementDimension: 3
Group meshing for analysis is set to true in FEM General Preferences. Are you really sure about this? You could run into trouble!
Problem: For the geometry of the following shape was no Shape found: <Face object at 0x55ae99854ff0>
ConstraintFixed
[(<PartDesign::Fillet>, ('Face20',))]
Fillet
The reference Shape is not a child nor it is the shape the mesh is made of. : <Face object at 0x55ae99854ff0>
Body--> Name of the Feature we where searching in.
Fillet --> Name of the parent Feature of reference Shape (Use the same as in the line before and you will have less trouble :-) !!!!!!).
Problem: For the geometry of the following shape was no Shape found: <Face object at 0x55ae935f08b0>
ConstraintForce
[(<PartDesign::Fillet>, ('Face4',))]
Fillet
The reference Shape is not a child nor it is the shape the mesh is made of. : <Face object at 0x55ae935f08b0>
Body--> Name of the Feature we where searching in.
Fillet --> Name of the parent Feature of reference Shape (Use the same as in the line before and you will have less trouble :-) !!!!!!).
Solid <Solid object at 0x55ae9a77aa20> not found in: <Solid object at 0x55ae8aaa3b40>
We have been searching for a Solid in a Solid and we have not found it. In most cases this should be searching for a Solid inside a CompSolid. Check the ShapeType of your Part to mesh.
Problem: For the geometry of the following shape was no Shape found: <Solid object at 0x55ae9a77aa20>
MaterialSolid
[(<PartDesign::Fillet>, ('Solid1',))]
Fillet
The reference Shape is not a child nor it is the shape the mesh is made of. : <Solid object at 0x55ae9a77aa20>
Body--> Name of the Feature we where searching in.
Fillet --> Name of the parent Feature of reference Shape (Use the same as in the line before and you will have less trouble :-) !!!!!!).
Error: The shapes for the mesh group for the reference shapes of analysis member: ConstraintFixed could not be found!
Error: The shapes for the mesh group for the reference shapes of analysis member: ConstraintForce could not be found!
Error: The shapes for the mesh group for the reference shapes of analysis member: MaterialSolid could not be found!
{'ConstraintFixed': [], 'ConstraintForce': [], 'MaterialSolid': []}
Mesh regions, we need to get the elements.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion011 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion011 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion011 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion012 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion012 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion012 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion013 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion014 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion014 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion014 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion015 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion016 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion016 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion016 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion017 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion017 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion017 could not be found in the Part to mesh. It will be ignored.
{'Face10': 3.0, 'Face4': 3.0, 'Face7': 3.0, 'Face6': 3.0, 'Face5': 3.0, 'Face11': 1.5, 'Face8': 1.5, 'Face2': 1.5, 'Face13': 1.5, 'Face14': 1.5, 'Face15': 1.5, 'Face16': 12.5, 'Face17': 1.5, 'Face18': 1.5, 'Face19': 1.5, 'Face12': 5.0, 'Face1': 5.0, 'Face3': 5.0, 'Face9': 5.0, 'Face20': 5.0, 'Face21': 5.0, 'Face22': 5.0}
{'Face10': [9, 11, 10, 8], 'Face4': [2, 3, 8, 9], 'Face7': [3, 5, 11, 9], 'Face6': [4, 5, 10, 11], 'Face5': [4, 2, 8, 10], 'Face11': [12, 13], 'Face8': [6, 12], 'Face2': [0, 6], 'Face13': [14, 15], 'Face14': [15, 16], 'Face15': [16, 17], 'Face16': [17, 18], 'Face17': [18, 19], 'Face18': [20, 19], 'Face19': [20, 21], 'Face12': [14, 13], 'Face1': [0, 1, 2, 3, 4, 5], 'Face3': [7, 1], 'Face9': [7], 'Face20': [21, 22], 'Face21': [22, 23], 'Face22': [23]}
/tmp/fcfem_n_g_3lcx/Body_Geometry.brep
/tmp/fcfem_n_g_3lcx/Body_Mesh.unv
/tmp/fcfem_n_g_3lcx/shape2mesh.geo
/usr/bin/gmsh
Unexpected error when creating mesh: <class 'IndexError'>
Clean run of Gmsh
FreeCAD does not find the regions, but there are defined correct (at least i think they defined are correct). Only when i restart FreeCAD, the model meshes, but also ignores the regions, also other terminal output:
Code: Select all
ElementDimension: 3
No Group meshing for analysis.
Mesh regions, we need to get the elements.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion010 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion011 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion011 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion011 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion012 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion012 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion012 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion013 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion014 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion014 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion014 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion015 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion016 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion016 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion017 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion017 could not be found in the Part to mesh. It will be ignored.
One element of the meshregion MeshRegion017 could not be found in the Part to mesh. It will be ignored.
{'Face10': 3.0, 'Face4': 3.0, 'Face7': 3.0, 'Face6': 3.0, 'Face5': 3.0, 'Face11': 1.5, 'Face8': 1.5, 'Face2': 1.5, 'Face13': 1.5, 'Face14': 1.5, 'Face15': 1.5, 'Face16': 12.5, 'Face17': 1.5, 'Face18': 1.5, 'Face19': 1.5, 'Face12': 5.0, 'Face1': 5.0, 'Face3': 5.0, 'Face9': 5.0, 'Face20': 5.0, 'Face21': 5.0, 'Face22': 5.0}
{'Face10': [9, 11, 10, 8], 'Face4': [2, 3, 8, 9], 'Face7': [3, 5, 11, 9], 'Face6': [4, 5, 10, 11], 'Face5': [4, 2, 8, 10], 'Face11': [12, 13], 'Face8': [6, 12], 'Face2': [0, 6], 'Face13': [14, 15], 'Face14': [15, 16], 'Face15': [16, 17], 'Face16': [17, 18], 'Face17': [18, 19], 'Face18': [20, 19], 'Face19': [20, 21], 'Face12': [14, 13], 'Face1': [0, 1, 2, 3, 4, 5], 'Face3': [7, 1], 'Face9': [7], 'Face20': [21, 22], 'Face21': [22, 23], 'Face22': [23]}
/tmp/fcfem_zx6hcopt/Body_Geometry.brep
/tmp/fcfem_zx6hcopt/Body_Mesh.unv
/tmp/fcfem_zx6hcopt/shape2mesh.geo
/usr/bin/gmsh
New mesh was added to the mesh object.
Gmsh had warnings ...
Warning : Volume mesh: worst distortion = -0.444053 (avg = 0.997285, 7 elements with jac. < 0)
Warning : ------------------------------
Warning : Mesh generation error summary
Warning : 1 warning
Warning : 0 errors
Warning : Check the full log for details
Warning : ------------------------------
Note, the warning,
Code: Select all
Group meshing for analysis is set to true in FEM General Preferences. Are you really sure about this? You could run into trouble!
Also note, i know the forces i set makes no sense, i added they only for fast testing.
Also also note, some other models also sometimes do not mesh regions, sometimes they work. I followed the thread https://forum.freecadweb.org/viewtopic. ... 0&start=80 with a random succsess. And to find the jac < 0 i follwed this https://forum.freecadweb.org/viewtopic.php?t=49918, but also workes with a pretty random succsess.
done with:
Code: Select all
OS: Debian GNU/Linux bullseye/sid (X-Cinnamon/lightdm-xsession)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22922 (Git)
Build type: Release (Note build with RelWithDebInfo, no idea why here is wrote Release)
Branch: master
Hash: ff5f3799d8c32d3d56a4631e79cec15baf6c27ad
Python version: 3.9.0+
Qt version: 5.14.2
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Thanks for helping!
Greetings
user1234