Number of nodes limitation - Calculix error 201

About the development of the FEM module/workbench.

Moderator: bernd

Jckcdt
Posts: 10
Joined: Tue Oct 22, 2019 9:02 am

Number of nodes limitation - Calculix error 201

Postby Jckcdt » Tue Oct 22, 2019 9:13 am

Hello,

I have a recurrent problem using the FEM module of Freecad.

As soon as GMSH creates more than about 350.000 nodes, I have a message error “Calculix error 201” during calculation.

Do you know if/how it would be possible to exceed this number of nodes limitation?

I am using Freecad version 0.18 for Windows on a HP Z440 workstation (Intel Xeon CPU E5-1650 v4 @y 3.60GHz,3601 MHz, 6 cores, 12 logical processor – 64Gb RAM)

Thanks in advance for your feedback,

Jonathan
User avatar
Kunda1
Posts: 5945
Joined: Thu Jan 05, 2017 9:03 pm

Re: Number of nodes limitation - Calculix error 201

Postby Kunda1 » Tue Oct 22, 2019 12:45 pm

Jckcdt wrote:
Tue Oct 22, 2019 9:13 am
I have a recurrent problem using the FEM module of Freecad.
Please always post you Help > About FreeCAD > Copy to clipboard
Per recommended guidelines for FEM, please test this in the FC development version 0.19.x
You can get it from https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 5945
Joined: Thu Jan 05, 2017 9:03 pm

Re: Number of nodes limitation - Calculix error 201

Postby Kunda1 » Tue Oct 22, 2019 7:53 pm

Jckcdt wrote:
Tue Oct 22, 2019 9:13 am
Hello,
Sorry, forgot to welcome you to the forum. ;)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
Jckcdt
Posts: 10
Joined: Tue Oct 22, 2019 9:02 am

Re: Number of nodes limitation - Calculix error 201

Postby Jckcdt » Wed Oct 23, 2019 8:11 am

Hello,

I tried the V0.19, but still have the same problem : Calculix crashing when I exceed 350.000 nodes :

Writing CalculiX input file completed.
Run CalculiX ...
OverflowError
CalculiX failed with exit code 3221225477

Do you have any idea where it comes from ?

Thanks

Jonathan
User avatar
bernd
Posts: 8488
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Number of nodes limitation - Calculix error 201

Postby bernd » Wed Oct 23, 2019 8:15 am

I can confirm this for:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18524 (Git)
Build type: Release
Branch: master
Hash: bea009c1d52b97655dab2d5c0fbddec30989a902
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)

It is easy to test, just use 3D cantilever from start wb and make a fine mesh with 50 mm maximal element size.

which has ccx 2.15 preinstalled. But I do not know where this version comes from.

I will give it a try on Linux too. Next to try is if ccx gives the same error if run standalone with the inp file. Than it would be a ccx problem not a FreeCAD problem.
Jckcdt
Posts: 10
Joined: Tue Oct 22, 2019 9:02 am

Re: Number of nodes limitation - Calculix error 201

Postby Jckcdt » Wed Oct 23, 2019 8:18 am

Kunda1 wrote:
Tue Oct 22, 2019 7:53 pm
Jckcdt wrote:
Tue Oct 22, 2019 9:13 am
Hello,
Sorry, forgot to welcome you to the forum. ;)
Thanks !
Jckcdt
Posts: 10
Joined: Tue Oct 22, 2019 9:02 am

Re: Number of nodes limitation - Calculix error 201

Postby Jckcdt » Wed Oct 23, 2019 11:38 am

bernd wrote:
Wed Oct 23, 2019 8:15 am
I can confirm this for:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18524 (Git)
Build type: Release
Branch: master
Hash: bea009c1d52b97655dab2d5c0fbddec30989a902
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)

It is easy to test, just use 3D cantilever from start wb and make a fine mesh with 50 mm maximal element size.
Same with

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Belgium (fr_BE)
UR_
Posts: 1019
Joined: Tue Jan 03, 2017 8:42 pm

Re: Number of nodes limitation - Calculix error 201

Postby UR_ » Wed Oct 23, 2019 1:56 pm

tested 3D-cantilever example from FreeCAD's start page
Remeshed netgen 50 mm, fine

Code: Select all

========================== Dump contents of mesh ==========================

1) Total number of nodes:      	461377
2) Total number of edges:      	800
3) Total number of faces:      	31368
4) Total number of polygons:   	0
5) Total number of volumes:    	321238
6) Total number of polyhedrons:	0

7) Total number of linear edges:	0
8) Total number of linear faces:	0
9) Total number of linear volumes:	0

10) Total number of quadratic edges:	800
11) Total number of quadratic faces:	31368
11.1) Number of quadratic triangles:  	31368
11.2) Number of quadratic quadrangles:	0
12) Total number of quadratic volumes:	321238
12.1) Number of quadratic hexahedrons: 	0
12.2) Number of quadratic tetrahedrons:	321238
12.3) Number of quadratic prisms:      	0
12.4) Number of quadratic pyramids:    	0

===========================================================================

version: (conda build)
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18606 (Git)
Build type: Release
Branch: master
Hash: 7222b32cdeae078305d319ef11b6574e701372a0
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
used ccx build:
ccx_2.15_pardiso_dynamic.dhondt.exe from http://www.dhondt.de/
running as FreeCAD's subprocess

mkl libs from conda

memory footprint:
16 GB RAM + 16 GB page file

Screenshot 002.png
Screenshot 002.png (113.26 KiB) Viewed 639 times
User avatar
bernd
Posts: 8488
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Number of nodes limitation - Calculix error 201

Postby bernd » Wed Oct 23, 2019 3:05 pm

UR_ wrote:
Wed Oct 23, 2019 1:56 pm


used ccx build:
ccx_2.15_pardiso_dynamic.dhondt.exe from http://www.dhondt.de/
running as FreeCAD's subprocess
These ones http://www.dhondt.de/calculix_2.15_4win.zip ?
UR_
Posts: 1019
Joined: Tue Jan 03, 2017 8:42 pm

Re: Number of nodes limitation - Calculix error 201

Postby UR_ » Wed Oct 23, 2019 3:51 pm

bernd wrote:
Wed Oct 23, 2019 3:05 pm
These ones
yes ;)