FEM Workbench Error: No nodes found in Frd file.

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
CopperGenie
Posts: 19
Joined: Wed Mar 16, 2022 12:44 am

FEM Workbench Error: No nodes found in Frd file.

Post by CopperGenie »

Hi there,

I have been getting a set of errors after running the CCX solver on a part. GMesh had no warnings or errors and the CCX solver output had no errors. After the solver finishes, it does not generate a results package and I get these errors in the Report View:

Code: Select all

21:28:37  CalculiX done without error!
21:28:38  
21:28:38  CalculiX read results...
21:28:38  Read ccx results from frd file: C:\Users\walde\AppData\Local\Temp\fcfem_948a7qoz\FEMMeshGmsh.frd
21:28:38  FEM: No nodes found in Frd file.
21:28:38  Problem on frd file import. No nodes found in frd file.
21:28:38  FEM: No result object in active Analysis.
21:28:38  Read ccx results from dat file: C:\Users\walde\AppData\Local\Temp\fcfem_948a7qoz\FEMMeshGmsh.dat
I tried this in 0.20 and 0.21 and the issue is the same. Any ideas?

File: https://drive.google.com/file/d/16Og5NO ... sp=sharing

---

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.32258 (Git)
Build type: Release
Branch: master
Hash: 0f4acc55beb66dcc9dfab442344c6286d6a2913e
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.54b
  * Manipulator
user1234
Veteran
Posts: 3328
Joined: Mon Jul 11, 2016 5:08 pm

Re: FEM Workbench Error: No nodes found in Frd file.

Post by user1234 »

CopperGenie wrote: Thu Mar 23, 2023 8:44 pm fter the solver finishes, it does not generate a results package and I get these errors in the Report View
How many RAM do you have? On the finish, 32GByte is too less here.

Tip, you can clear the mesh, but the settings for the mesh stays. Then the file is ~165kByte small.

2023-03-23 23-21-49.png
2023-03-23 23-21-49.png (480.67 KiB) Viewed 1107 times

Greetings
user1234
CopperGenie
Posts: 19
Joined: Wed Mar 16, 2022 12:44 am

Re: FEM Workbench Error: No nodes found in Frd file.

Post by CopperGenie »

user1234 wrote: Thu Mar 23, 2023 10:27 pm How many RAM do you have? On the finish, 32GByte is too less here.
I have 16 GB of RAM. How do you know how much RAM is necessary for the problem?

CCX is an iterative solver right? I'm surprised it needs that much; I never had an issue running Ansys solutions on this laptop. Is there a workaround in the solver settings to use less RAM? If not, I guess I need to use a localized mesh around the fillets, as they were were causing issues with anything coarser.
user1234
Veteran
Posts: 3328
Joined: Mon Jul 11, 2016 5:08 pm

Re: FEM Workbench Error: No nodes found in Frd file.

Post by user1234 »

CopperGenie wrote: Fri Mar 24, 2023 9:30 pm How do you know how much RAM is necessary for the problem?
I looked at the RAM while running. I only saw, that the calculation run successfully, but the end loading was too much. It is independent how much CPUs of use.


CopperGenie wrote: Fri Mar 24, 2023 9:30 pm I'm surprised it needs that much;
You use here a very fine mesh (572000 nodes, 0.5mm size) with 2nd order. A simple 1st order mesh (with same size) needs barely measurably RAM and need jst a few seconds. For a quick proof of concept calculation i would use a fine 1st order mesh, but for the end calculation i would use a rougher mesh with 2nd order, but with refinements on the important places (see FEM mesh region).


Greetings
user1234
CopperGenie
Posts: 19
Joined: Wed Mar 16, 2022 12:44 am

Re: FEM Workbench Error: No nodes found in Frd file.

Post by CopperGenie »

Good point about second order, I will try your suggestion.

But I still don't understand why the solution file will not be generated even though the solver shows that there are no errors. Why wouldn't the solver throw a "memory error" or similar?

Thank you for the help so far!
user1234
Veteran
Posts: 3328
Joined: Mon Jul 11, 2016 5:08 pm

Re: FEM Workbench Error: No nodes found in Frd file.

Post by user1234 »

CopperGenie wrote: Sat Mar 25, 2023 2:26 am But I still don't understand why the solution file will not be generated even though the solver shows that there are no errors. Why wouldn't the solver throw a "memory error" or similar?
I am not a programmer, but as i understand, the CCX run works fine. While loading the results, maybe some processioning, it seems that it crashes. But a second order mesh needs much much more RAM. I remeshed a little bit with 2nd order and global with 3.0mm and regions with 0.5mm, it needed not notable RAM and run faster then i started and switched to the processes monitor. It still have some spikes and result peaks in the sharp fillet edge, but it is up to you to resolve that.

2023-03-25 03-53-42.png
2023-03-25 03-53-42.png (352.89 KiB) Viewed 946 times


I cleared the mesh before as showed it the my post above, so you must rerun gmsh, but the settings are saved.
mystery_part_edit.FCStd
(160.69 KiB) Downloaded 17 times


Greetings
user1234
user1234
Veteran
Posts: 3328
Joined: Mon Jul 11, 2016 5:08 pm

Re: FEM Workbench Error: No nodes found in Frd file.

Post by user1234 »

Also just a question out of interest. Is that a inner shields of a copper barrel (looks like it)? Because there was no material specification set by you and this was always hard chrome casting (and this material was really extreme to machine and a pain for the lathe).


Greetings
user1234
din743
Posts: 26
Joined: Sat Sep 22, 2012 8:28 pm

Re: FEM Workbench Error: No nodes found in Frd file.

Post by din743 »

I've had the same error for a model with a lot of nodes. I also haven't found a solution. When I run my model and your model I get the following error in the solver output window:
CalculiX execute error: PySide2.QtCore.QProcess.ProcessError.Crashed
But further on in the output Calculix says there are no errors. See the complete output below:
0.0: Run CalculiX...
0.5: Starting CalculiX...
0.5: CalculiX is running...
712.0: CalculiX execute error: PySide2.QtCore.QProcess.ProcessError.Crashed
712.3: CalculiX stopped.
712.4: ************************************************************
CalculiX Version 2.20, Copyright(C) 1998-2022 Guido Dhondt
CalculiX comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
certain conditions, see gpl.htm
************************************************************
You are using an executable made on Sun Jul 31 18:08:37 CEST 2022
The numbers below are estimated upper bounds
number of:
nodes: 572006
elements: 453262
one-dimensional elements: 0
two-dimensional elements: 0
integration points per element: 4
degrees of freedom per node: 3
layers per element: 1
distributed facial loads: 0
distributed volumetric loads: 0
concentrated loads: 18998
single point constraints: 15544
multiple point constraints: 1
terms in all multiple point constraints: 1
tie constraints: 0
dependent nodes tied by cyclic constraints: 0
dependent nodes in pre-tension constraints: 0
sets: 6
terms in all sets: 2286856
materials: 1
constants per material and temperature: 2
temperature points per material: 1
plastic data points per material: 0
orientations: 0
amplitudes: 3
data points in all amplitudes: 3
print requests: 2
transformations: 0
property cards: 0
STEP 1
Static analysis was selected
712.5: CalculiX done without error!
712.5: Loading result sets...
So is this an Calculix error or FreeCAD error?

My FreeCAD version:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.32198 (Git)
Build type: Release
Branch: master
Hash: f51b2156f35399cab38eef1e957a59ad5a11de66
Python 3.8.16, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/Belgium (en_BE)
Installed mods: 
  * 3DfindIT 1.2.0
  * Assembly3 0.11.4
  * boltsfc 2022.11.5
  * fcgear 1.0.0
  * Manipulator 1.4.9
  * QuickMeasure 2022.10.28
  * sheetmetal 0.2.60
user1234
Veteran
Posts: 3328
Joined: Mon Jul 11, 2016 5:08 pm

Re: FEM Workbench Error: No nodes found in Frd file.

Post by user1234 »

din743 wrote: Sat Mar 25, 2023 3:04 pm I've had the same error for a model with a lot of nodes.
No, you have a complete different error message.

Code: Select all

CalculiX execute error: PySide2.QtCore.QProcess.ProcessError.Crashed

Without file and more information, i only can assume it, but with that many nodes

Code: Select all

nodes: 572006
and time

Code: Select all

712.0: CalculiX execute error: PySide2.QtCore.QProcess.ProcessError.Crashed
712.3: CalculiX stopped.
you are probably run out of RAM.


Greetings
user1234
din743
Posts: 26
Joined: Sat Sep 22, 2012 8:28 pm

Re: FEM Workbench Error: No nodes found in Frd file.

Post by din743 »

user1234 wrote: Sat Mar 25, 2023 3:36 pm
din743 wrote: Sat Mar 25, 2023 3:04 pm I've had the same error for a model with a lot of nodes.
No, you have a complete different error message.

Code: Select all

CalculiX execute error: PySide2.QtCore.QProcess.ProcessError.Crashed
This is the solver output I got when I ran the model provided by CopperGenie. What solver output do you get when you run his model?
Without file and more information, i only can assume it, but with that many nodes

Code: Select all

nodes: 572006
and time

Code: Select all

712.0: CalculiX execute error: PySide2.QtCore.QProcess.ProcessError.Crashed
712.3: CalculiX stopped.
you are probably run out of RAM.


Greetings
user1234
I also have 16 GB of RAM. Can Calculix not use memory swapping when it uses up all the RAM? Is allowing swapping an option you have to activate?

Would the Elmer or Z88 solver also have an issue with CopperGenie's model on a computer with 16GB RAM?
Post Reply