Frequency analysis - ccx.exe stopped working, errors

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Frequency analysis - ccx.exe stopped working, errors

Post by NewJoker »

Hi,

I keep having problems with frequency and buckling analyses in different FreeCAD versions and on different computers. Here’s the previous (still unsolved) issue: https://forum.freecadweb.org/viewtopic. ... 43#p530143

Currently, when I try to run any frequency analysis in 0.19, I get the following error:

Code: Select all

CalculiX finished with error 3228369022.
and Windows message that ccx.exe stopped working.

In the case of "Box Analysis Frequency" example I get this message:

Code: Select all

FEM: No nodes found in Frd file.
Problem on frd file import. No nodes found in frd file.
and again "ccx.exe stopped working".

In 0.20 FreeCAD just hangs and gives a few lines of red colored output (the same stuff as in the linked thread) when I run frequency analysis on this machine. So the behavior is the same as in the case of a buckling simulation.


OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Polish/Poland (pl_PL)
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Frequency analysis - ccx.exe stopped working, errors

Post by johnwang »

hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Re: Frequency analysis - ccx.exe stopped working, errors

Post by NewJoker »

I don’t use Pardiso. Just a default executable included in FreeCAD files (and that should be Spooles, as far as I know).
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Frequency analysis - ccx.exe stopped working, errors

Post by johnwang »

NewJoker wrote: Fri Sep 17, 2021 12:45 pm I don’t use Pardiso. Just a default executable included in FreeCAD files (and that should be Spooles, as far as I know).
Maybe not. Check your log message.
log.jpg
log.jpg (61.84 KiB) Viewed 2726 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Re: Frequency analysis - ccx.exe stopped working, errors

Post by NewJoker »

I checked those messages. Unfortunately, they don’t mention whether it’s Spooles or Pardiso. They only provide the release number - 2.17.
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Frequency analysis - ccx.exe stopped working, errors

Post by johnwang »

NewJoker wrote: Fri Sep 17, 2021 1:16 pm
or the message generated by FC FEM WB. Any mention?
https://forum.freecadweb.org/viewtopic. ... 03#p530382
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Re: Frequency analysis - ccx.exe stopped working, errors

Post by NewJoker »

johnwang wrote: Fri Sep 17, 2021 1:25 pm or the message generated by FC FEM WB. Any mention?
https://forum.freecadweb.org/viewtopic. ... 03#p530382
No mention there as well. But the frequency analysis works when I replace the default ccx.exe in FreeCAD 0.19 directory with ccx_SPOOLES downloaded directly from CalculiX’es website. So either this default binary is broken or it uses Pardiso instead of Spooles. It seems that different ccx binary should be provided as the deafult one in FreeCAD.
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Frequency analysis - ccx.exe stopped working, errors

Post by johnwang »

NewJoker wrote: Fri Sep 17, 2021 1:35 pm
You can copy a case file into FreeCAD bin folder and solve in a DOS terminal command line. It will show more message.
Or copy that ccx.exe into where your case is.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Re: Frequency analysis - ccx.exe stopped working, errors

Post by NewJoker »

johnwang wrote: Fri Sep 17, 2021 1:45 pm You can copy a case file into FreeCAD bin folder and solve in a DOS terminal command line. It will show more message.
Or copy that ccx.exe into where your case is.
Apparently, it’s Spooles because it says:

Code: Select all

Factoring the system of equations using the symmetric spooles solver
Using up to 1 cpu(s) for spooles.
And then it stops working, just like in FreeCAD.
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Frequency analysis - ccx.exe stopped working, errors

Post by johnwang »

NewJoker wrote: Fri Sep 17, 2021 2:16 pm And then it stops working, just like in FreeCAD.
Because it solves the first part with Spooles, then switched to use Pardiso for the second part.
https://forum.freecadweb.org/viewtopic. ... 10#p531161

I haven't tried with the Frequency problem.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
Post Reply