I like
very simple examples
thus I made it even simpler ... It can not work because the vertex is missing in the mesh, but FreeCAD hangs, what shold not happen ... I will have a look on this.
Code: Select all
CalxuliX ccx tools solver!
MechanicalSolidMaterial has empty References.
ConstraintFixed has Face reference shapes.
ConstraintForce has Vertex reference shapes.
Check prerequisites.
MechanicalSolidMaterial has empty References.
Start writing CalculiX input file
writerbaseCcx --> self.file_name --> /tmp/fcfem_4744m4tx/FEMMeshGmsh.inp
Constraint fixed: ConstraintFixed
Finite element mesh nodes will be retrieved by searching the appropriate nodes in the finite element mesh.
ReferenceShape ... Type: Face, Object name: Box, Object label: Cube, Element name: Face4
Constraint force: ConstraintForce
Finite element mesh nodes will be retrieved by searching the appropriate nodes in the finite element mesh.
The appropriate finite element mesh node load values will be calculated according to the finite element definition.
ReferenceShape ... Type: Vertex, Object name: Vertex, Object label: Vertex, Element name: Vertex1
Unexpected error when writing CalculiX input file: <class 'IndexError'>
Running the Python command 'FEM_SolverRun' failed:
Traceback (most recent call last):
File "/usr/local/Mod/Fem/femcommands/commands.py", line 1059, in Activated
run_fem_solver(self.selobj)
File "/usr/local/Mod/Fem/femsolver/run.py", line 101, in run_fem_solver
fea.run()
File "/usr/local/Mod/Fem/femtools/ccxtools.py", line 1004, in run
self.write_inp_file()
File "/usr/local/Mod/Fem/femtools/ccxtools.py", line 755, in write_inp_file
self.inp_file_name = inp_writer.write_calculix_input_file()
File "/usr/local/Mod/Fem/femsolver/calculix/writer.py", line 114, in write_calculix_input_file
self.write_calculix_one_input_file()
File "/usr/local/Mod/Fem/femsolver/calculix/writer.py", line 196, in write_calculix_one_input_file
self.write_constraints_force(inpfile)
File "/usr/local/Mod/Fem/femsolver/calculix/writer.py", line 1096, in write_constraints_force
self.get_constraints_force_nodeloads()
File "/usr/local/Mod/Fem/femsolver/writerbase.py", line 276, in get_constraints_force_nodeloads
frc_obj
File "/usr/local/Mod/Fem/femmesh/meshtools.py", line 775, in get_force_obj_vertex_nodeload_table
(elem_info_string, {node[0]: node_load / node_count})
list index out of range
OS: Debian GNU/Linux 10 (buster) (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19160 (Git)
Build type: Unknown
Branch: master
Hash: 4f56a64ace6e5a72394aa71e44fdbc3c85337989
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)