Whenever I am trying to run Beso on my project, I keep getting the error: RuntimeWarning: invalid value encountered in double_scalars difference_last.append(abs(FI_mean[i] - FI_mean[i-last]) / FI_mean[i])
My BESO configuration file and the FreeCAD FEM input files are: beso_conf - Copy.txt FEMMeshNetgen_inp.txt
The input geometry is as follows:
I am looking to see how the optimal output shape will be. I feel like my BESO configuration is wrong. Any help is appreciated.
Sorry for the late response.
The model is not loaded during the optimization. It finishes after 5 iterations, because there is 0 strain energy density and 0 FI due to 0 stress. In this model, it happened because *DENSITY is not defined in the beso_config.py file so the weight of the material cannot load it and there is no other loads. There should be
domain_material[elset_name] = ["*ELASTIC \n2.3e-7, 0.37\n*DENSITY\n1.06e-15\n",
"*ELASTIC \n0.0023, 0.37\n*DENSITY\n1.06e-09\n"]
instead of
domain_material[elset_name] = ["*ELASTIC \n2.3e-7, 0.37"
"*ELASTIC \n0.0023, 0.37]
(considering ABS density as defined in FreeCAD 1.06e-09 t/mm^3)
If you would like to obtain results which are not only for testing the code, it would require a finer mesh.
My BESO configuration file and the FreeCAD FEM input files are: beso_conf - Copy.txt FEMMeshNetgen_inp.txt
The input geometry is as follows:
I am looking to see how the optimal output shape will be. I feel like my BESO configuration is wrong. Any help is appreciated.
I have tried the same and getting the iteration count as 83 but it dosent respond further.
On some computers, Figure windows blocked continuation, but after closing them, it continues. If it made 83 iterations, there should be some result files in your working directory - maybe set of *state1.inp files which you can import to FreeCAD, or resulting_states.vtk which can be opened in Paraview, and a *.log file
