# Calculix vs Nastran big difference in results for shells

**URL:** <https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534>\
**Category:** General Questions\
**Tags:** results\
**Created:** [February 21, 2024, 4:06am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534 "2024-02-21T04:06:32Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![SergioP1975](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/sergiop1975/32/37_2.png) [@SergioP1975](https://prepomax.discourse.group/u/SergioP1975)\
**Post date:** [February 21, 2024, 6:28pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/21 "2024-02-21T18:28:39Z")

</div>

I didn´t open the file, but are you sure that the surfaces were you have applied the loads are in the middle? Because even Abaqus is telling that is not simmetric your model/bc

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [February 21, 2024, 6:43pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/22 "2024-02-21T18:43:25Z")

</div>

the shell model using linear element type (S4 & S3) it expanded to C3D8I and C3D6 element in CalculiX. The behavior of linear shell element in bending are known not so good, specifically for S3.

probably, quadratic element type (S8R & S6) with layering could be better. The advantages of CalculiX approach is in nonlinear plasticity and contact. Actually, it’s a truly solid element not a shell.

---

<div class="post-metadata">

**Author:** ![pano](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pano](https://prepomax.discourse.group/u/pano)\
**Post date:** [February 21, 2024, 7:33pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/23 "2024-02-21T19:33:52Z")

</div>

Its OK, the Abaqus agrees with Nastran…thats all thats needed…perfect symmetry is not what the issue is…its that Calculix approach gives bad answers for large shells…

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [February 21, 2024, 7:43pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/24 "2024-02-21T19:43:58Z")

</div>

propably linear triangular shell element cause of locking, since the location is in high stress zone (supported column). It can give insight when the mesh model is converted to quadratic.

---

<div class="post-metadata">

**Author:** ![arnie](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@arnie](https://prepomax.discourse.group/u/arnie)\
**Post date:** [February 21, 2024, 8:30pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/25 "2024-02-21T20:30:36Z")

</div>

Just by changing the legend you get the below displacement plot, which is similar to Abaqus and Nastran.

Considering the span is 100 inches, the displacement difference between the two solvers is roughly 0.16%.

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/0/089f6d7477bff71ae4775ced41c95bb8e9f5d287.jpeg)

---

<div class="post-metadata">

**Author:** ![SergioP1975](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/sergiop1975/32/37_2.png) [@SergioP1975](https://prepomax.discourse.group/u/SergioP1975)\
**Post date:** [February 21, 2024, 9:03pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/26 "2024-02-21T21:03:30Z")

</div>

Your mesh is not enough fine to capture the real deformation of the structure, even NASTRAN and Abaqus are showing bad results due to the poor mesh. Refine by two at lest the mesh of the plate and reinforcement, and change to second order elements in both softwares (CCX and Nastran), and not only the results will be more closer between them (displacement about 0.7in), but also the deformation will be more simetric as it should be.

A convergence analysis is a god practice to make sure of the results.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 21, 2024, 9:09pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/27 "2024-02-21T21:09:57Z")

</div>

I played with your model, and the first thing you need to change is the element order. In Caclulix, a linear shell element is expanded to a linear solid element, which is not accurate for bending loads. That is why the plate under the load does not bend as it should.

The second thing you must do is make a mesh convergence study. Not all codes are equally precise, so if you want to compare the results of different codes and check if they work, first make a convergence study in all of them and compare the converged results. That way you will be comparing the “right” result obtained by the selected code. Especially in this case where one code expands the shell elements into solids.

---

<div class="post-metadata">

**Author:** ![arnie](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@arnie](https://prepomax.discourse.group/u/arnie)\
**Post date:** [February 21, 2024, 9:11pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/28 "2024-02-21T21:11:09Z")

</div>

Agreed, the OP should refine the mesh. There are some high aspect ratio elements that are creating dissimilar contact patterns between the legs and the table top and obviously resulting in the asymmetric displacement plot.

The von Mises stress plot clearly shows this.

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/7/749435e37644a7488349e74a78a205e7e2dc5038.jpeg)

---

<div class="post-metadata">

**Author:** ![mkraska](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@mkraska](https://prepomax.discourse.group/u/mkraska)\
**Post date:** [February 21, 2024, 9:14pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/29 "2024-02-21T21:14:01Z")

</div>

The source of the error could be the single layer of elements under out-of plane shear load close to the supports. As an alterntive or additionally o second order elements you could try a composite shell with more than one layer, this is expanded into multiple layers of solid elements. Yet I didn’t see where to specify that in PrePoMax.

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [February 21, 2024, 9:49pm UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/30 "2024-02-21T21:49:42Z")

</div>

Looks like you are comparing who is less bad. Result is not symmetric and that is not acceptable. You just need to work a little more on your mesh and all software’s will find at the end. Another result with calculix+Mecway just improving the upper mesh.

Result is .61 inch

 ![imagen](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/0/025031a6dd4bad1ef5dd4bc8921c3241eada1630.png)

NOTE: Large spams are very sensible to the BC at the suporting areas. It happens the same with cantilever beams. Small changes at the supoorting area can make a big difference on the tip deflection.

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://prepomax.discourse.group/u/jbr)\
**Post date:** [February 22, 2024, 2:02am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/31 "2024-02-22T02:02:13Z")

</div>

> [@pano](#):
>
> If I didnt compare with Nastran I wouldnt know the results are wrong, intuition isnt reliable with this. So if one has to have Nastran, then Calculix is already redundant. probably what would be helpful is a disclaimer…“Calculix gives bad results with shells” and then people wouldnt fall into this trap

I understand that you may feel disappointed by calculix, but to say that it is a “trap” is a bit of a stretch. Also, in case you did not read the disclaimer in the calculix site:

> ```
> Copyright (C) 1998 Guido Dhondt and Klaus Wittig
> 
> ```
> 
> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
> 
> **This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE**. See the GNU General Public License for more details.
> 
> You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

The burden is on the user to do the proper tests and make sure the software works for their application. If not, you can also modify the code yourself and fix whatever you need to fix.  
This is also true for paid software like nastran or abaqus… most experienced guys here probably submit bug reports to those paid packages all the time.

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://prepomax.discourse.group/u/jbr)\
**Post date:** [February 22, 2024, 2:04am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/32 "2024-02-22T02:04:49Z")

</div>

> [@arnie](#):
>
> Just by changing the legend you get the below displacement plot, which is similar to Abaqus and Nastran.

That was my first thought…

---

<div class="post-metadata">

**Author:** ![pano](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pano](https://prepomax.discourse.group/u/pano)\
**Post date:** [February 22, 2024, 6:58am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/33 "2024-02-22T06:58:27Z")

</div>

Im benchmarking Calculix vs Nastran … Solver benchmarks are done using the same mesh order of elements…So Im comparing 1st order linear elements of Calculix vs the ones in Nastran using same mesh

---

<div class="post-metadata">

**Author:** ![pano](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pano](https://prepomax.discourse.group/u/pano)\
**Post date:** [February 22, 2024, 7:00am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/34 "2024-02-22T07:00:31Z")

</div>

What are the details on how this is done?

---

<div class="post-metadata">

**Author:** ![pano](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pano](https://prepomax.discourse.group/u/pano)\
**Post date:** [February 22, 2024, 7:01am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/35 "2024-02-22T07:01:56Z")

</div>

The problem with Calculix is the benchmarks in the documentation show that its accurate, but when you run 1st order elements the results are total garbage. I feel that the authors are not being honest about its capabilities. 2nd order elements give good results, but had to figure that out the hard way

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 22, 2024, 8:00am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/36 "2024-02-22T08:00:13Z")

</div>

To change the legend, double-click on it and switch the _Min/max limit type_ from _Automatic_ to _Manual_. Then set the _Min value_ and _Max value_ as you wish.

> [@pano](#):
>
> The problem with Calculix is the benchmarks in the documentation show that its accurate, but when you run 1st order elements the results are total garbage. I feel that the authors are not being honest about its capabilities. 2nd order elements give good results, but had to figure that out the hard way

Well, Abaqus may also give totally useless results with too coarse meshes or incorrectly selected element types (their choice depends on a given problem). Here it may just be more pronounced because of the expansion to solids.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [February 22, 2024, 8:21am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/37 "2024-02-22T08:21:10Z")

</div>

> [@pano](#):
>
> The problem with Calculix is the benchmarks in the documentation show that its accurate, but when you run 1st order elements the results are total garbage. I feel that the authors are not being honest about its capabilities. 2nd order elements give good results, but had to figure that out the hard way

I hope you realize that you are using a **free** software. In order to use **free** software you must usually do a little more investigation into how it works and performs. And it will not always perform as well as commercial tools but it is **free** and the choice is yours.

Even the result you got on the first try is about 20 % away from Abaqus’s result so I would not call it total garbage.

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 22, 2024, 8:31am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/38 "2024-02-22T08:31:14Z")

</div>

Yeah, CalculiX may have some bugs but it’s incredibly powerful and user-friendly (which is not common in FEA) for a free software and usually gives results as good as those you can get from commercial software (there have been many comparisons). It may just require some additional considerations and getting used to its characteristics but it’s definitely worth it. We’ve seen here examples of large shell models solved with success. If you want to get accurate results, mesh convergence studies are always a must, regardless of the software. We do them in Abaqus too and often find huge differences for meshes that are too coarse and/or use wrong element type (and in Abaqus the choice is way harder since you have many special types of elements).

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [February 22, 2024, 8:37am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/39 "2024-02-22T08:37:31Z")

</div>

I think @pano is completely right and it would be counterproductive trying to convince anyone without enough skills to use CalculiX. I encourage you to keep using Nastran.  
Those expensive tools are more prepared to digest input garbage up to a certain level.

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 22, 2024, 8:44am UTC](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534/40 "2024-02-22T08:44:01Z")

</div>

Not Abaqus with its strict convergence criteria, overconstraint checks and so on. Unless you just run linear or explicit all the time and don’t check the results carefully. Then you don’t have to worry about convergence and pretty much anything can pass. CAD-embedded FEA modules are on another level though. They often make sure the user doesn’t have to worry about anything else than applying fixed constraint on one side and force on the other side. Even material and mesh definition is often done automatically and without bothering the user with the display of ugly coarse meshes 😉

[Previous page](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534.md?page=1)

[Next page](https://prepomax.discourse.group/t/calculix-vs-nastran-big-difference-in-results-for-shells/1534.md?page=3)
