[Solved] Calculation done but no results

About the development of the FEM module/workbench.

Moderator: bernd

Worufu
Posts: 41
Joined: Wed Jan 13, 2016 10:44 am
Location: Italy

Re: Calculation done but no results

Post by Worufu »

bernd wrote:
Worufu wrote:
sgrogan wrote:
Worufu wrote: However I can't understand if there is a problem in the file permission, when writing *.inp, or in the mesh definition.
This looks like the error when Poisson Ratio = 0. Are you using the "None" material?
Not, I set steel material. But I can't verify if it is written in the right way in *.inp, I cannot find any reference about poisson ratio in it.

Code: Select all

...
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC 
210000 ,  0.300
*DENSITY 
7.900e-09, 
...
youngs modulus = 210000 N/mm2 --> has to be > 0 !
poisons ratio = 0.3
The value of poisson is right, in inp file I have 0.3 for steel.
Worufu
Posts: 41
Joined: Wed Jan 13, 2016 10:44 am
Location: Italy

Re: Calculation done but no results

Post by Worufu »

Solved!
The problem was in the mesh defintion "Create a Fem mesh node set". If the parameters (translated from italian version) "n° of segments by edge" and "Number of segments by radius" are set to 1, calculix crashes everytime.

Obviously the mesh definition can be set to "user defined".
Thanks to all for the support.
Feihei
Posts: 1
Joined: Wed May 27, 2020 12:35 pm

Re: [Solved] Calculation done but no results

Post by Feihei »

I met with the same problem, I have tried to change the mesh parameters, both edge and radius segs to 2, but I still got the same error
and in another analysis, I left the parameters as default, (edge 1, radius 2), but there was no error, and the result object came out as expected. So I guess it was not because the mesh parameters.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Chinese/China (zh_CN)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [Solved] Calculation done but no results

Post by bernd »

would you try if the problem resists with 0.19
pipe2null
Posts: 5
Joined: Sun Sep 06, 2020 6:31 am

Re: [Solved] Calculation done but no results

Post by pipe2null »

I'm having what appears to be a similar issue, but I may have build related problems (did I miss a prereq?). Anything I should be trying? Thanks

OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22366 (Git)
Build type: Unknown
Branch: master
Hash: 34c11fcc63efa2fc72cbc74c75c76e9f19d5c84c
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

With the FemCalculixCantilevered3D example file:
23:35:31 run CalculiX at: /usr/bin/ccx with: /tmp/fcfem_5wukm2cn/Box_Mesh.inp
23:35:31 CalculiX done without error!
23:35:31 We will load the ccx frd and dat result file.
23:35:31 Read ccx results from frd file: /tmp/fcfem_5wukm2cn/Box_Mesh.frd
23:35:31 loading results failed
Attachments
fcfem_5wukm2cn.zip
(22.69 KiB) Downloaded 36 times
ghjmaui
Posts: 1
Joined: Tue Feb 16, 2021 10:18 pm

Re: [Solved] Calculation done but no results

Post by ghjmaui »

I am having the same problem and it still exists from 0.18 to 0.19. I downloaded the (stable) windows version:

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

and out of maybe five runs, I got one set of results, with never knowingly changing anything apart from remeshing. NOTE that for my solid model (imported as a step file), gmsh would consistently fail, but Netgen consistently worked. I then downloaded the newest 0.19 version I could find:

OS: Windows 10 Version 1909
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24097 (Git)
Build type: Release
Branch: master
Hash: 48dc4063f80c1e1d65d6a98d81b24308b0bf28e9
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

and it failed exactly the same way. NOTE also that the downloaded 0.19 extracted zip file did not include the calculix ccx.exe executable, so I copied it over from the 0.18/bin directory into the 0.19/bin directory. The readout in the 'Mechanical analysis' window is:

You are using an executable made on niedz., 16 gru 2018 14:14:23
The numbers below are estimated upper bounds
number of:
nodes: 515285
elements: 438446
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: 0
single point constraints: 900
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: 5
terms in all sets: 1848493
materials: 1
constants per material and temperature: 2
temperature points per material: 1
plastic data points per material: 0
orientations: 0
amplitudes: 1
data points in all amplitudes: 1
print requests: 1
transformations: 0
property cards: 0
STEP 1
Frequency analysis was selected
113.4: CalculiX done without error!
113.4: Loading result sets...

Note finally that calculix consistely shows "done without error!" on every trial. The Netgen tet parameters do not allow me to change number of segments per edge (default 1) or number of segments per radius (default 2).
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [Solved] Calculation done but no results

Post by bernd »

would you share the geometry you have problems with?
Alex Mur
Posts: 2
Joined: Wed Mar 03, 2021 10:01 am
Location: Moscow

Re: [Solved] Calculation done but no results

Post by Alex Mur »

Hi friends!
Doing FEM analysis using FEM WB I have a problem with loading results. And that happens when I calculate the built-in FEM examples as well, not only my own models. Every time I get an empty CCX_Results submodule in my Analysis module.
After calculation a Tasks view says

Job finished
0.3: CalculiX done without error!
0.3: Loading result sets...

But in the Report view, everything finishes with a row "loading results failed"

.inp file is being saved with data properly (I can check it via "Edit .inp file" button).
.frd file in the CalculiXccxTools folder formed as a result of a calculation is not empty too.
As for .dat, .sta, and .out files in the folder - it looks like they are empty (1KB, 1KB, and 0KB correspondingly)

Since I faced absolutely the same trouble as is being discussed hereabove, I'd like to ask if incorrect settings for FEM WB are the reason for that or that is a bug of some kind that requires a patch.

As well, I was going to reinstall a FEM WB, hoping that it could help, but I did not find it among WBs offered by the Addon Manager in the latest 0.19 FreeCAD version. Something is wrong with me or with FreeCAD?

I use FreeCAD version as follow

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 (Git)
Build type: Release
Branch: master
Hash: b2ca86d8d72b636011a73394bf9bcdedb3b109b7
Python version: 3.8.8
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Russian/Russia (ru_RU)

Can anybody share with experience or idea how to solve the problem?
Thanks.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [Solved] Calculation done but no results

Post by bernd »

Would you try to open the frd file directly with FreeCAD? Would you post the messages printed in the report console?

Would you try to run the analysis again and post the output of the report console? Would you mind to post the FreeCAD file of the example, even if it is one of the standard FEM examples.

cheers bernd
Alex Mur
Posts: 2
Joined: Wed Mar 03, 2021 10:01 am
Location: Moscow

Re: [Solved] Calculation done but no results

Post by Alex Mur »

Hello friends!
I haven't managed to get over troubles using FEM WB in 0.19 version - even built-in examples weren't working there and the problem with downloading results of calculation to .frd file - every time it was consisting of mesh only and as for results that module was empty.

But it looks like the stable 0.18 version does not contain that trouble. At least examples are working there.
But since I am quite new in FEM I do not manage to with the analysis of the part I need.
Modul-1.jpg
Modul-1.jpg (308.16 KiB) Viewed 949 times
Every time having CalculiX finished I get a message about an error due to non-positive Jacobian. It does not depend on how I build the mesh, either using Gmesh or NetGen. Playing with Max/Min grid sizes and the other options does not help as well. For sure I have been doing some typical mistake which is known for ages, but I could find nothing how to get it over.
Can somebody help me with a piece of proper advice?

Thanks in advance,
Alex
Post Reply