Ccx 2.23: 12 further issues, one per reply below (all still present on master 537aa81)

This topic collects 12 more issues I ran into with ccx 2.23. Each one is in its own reply below, in the same format as my earlier reports: a summary, a minimal deck, the expected and the actual output on ccx 2.23 and on current master (537aa81, 2 Nov 2026), and where it goes wrong in the source. Section numbers are those of the 2.23 manual. I searched GitHub and this forum first; earlier sightings are linked in each reply.

Once an item is confirmed, I will open a separate GitHub issue for it and add the link here.

Silent wrong results (exit 0)

  1. *BOUNDARY, OP=NEW silently drops the *EQUATIONs and *TIEs at a *TRANSFORM node that had a boundary condition on a local translation (exit 0)
  2. A new *BOUNDARY on a *TRANSFORM node’s local translation starts from its global displacement (path jumps in NLGEOM *STATIC, wrong *DYNAMIC transient)
  3. *HEAT TRANSFER with *FREQUENCY or *BUCKLE but no *STATIC step is set up as heat-only: plane, axisymmetric, truss eigenvalues near 0; a false *ERROR at knots
  4. *SPRING, NONLINEAR in a *STATIC step without NLGEOM is solved once with the initial slope: elongation 0.6 instead of 0.7, and the spring force (55) no longer balances the load (60)
  5. Nonlinear spring energy (ELSE) is wrong when the force-elongation table starts at a negative elongation: 30.25 or 1267.75 instead of 17.75 for the same forces
  6. *EQUATION on DOF 4-6 of a beam or shell node without a knot: not allowed (section 10.3.6), but accepted without a message, and the term is silently disconnected (exit 0)

Stops and divergence

  1. *BOUNDARY, OP=NEW stops with “*ERROR reading *BOUNDARY” in any model with a *KINEMATIC coupling and a *TRANSFORM, even an identity one on another node
  2. NLGEOM: holding the axial position of a beam node that carries a moment makes the step diverge (“too many cutbacks”), even when the hold changes nothing
  3. T3D2 with NLGEOM: a stretched truss swung rigidly by prescribed displacements in the x-z plane gets a spurious twist and stops; the same swing in the x-y plane is exact
  4. *SHELL SECTION, COMPOSITE with 3 or more layers on shell nodes that become knots: “*ERROR in gen3dnor: increase nk_” or “*ERROR in knotmpc: increase nk_” (exit 201)

Missing input checks

  1. *SPRING accepts any DOF for SPRING1 / SPRING2: a rotational spring (DOF 4-6) has no stiffness and gives no message, and xn(idof) is written outside xn(3)
  2. *CONTACT PAIR cards of different TYPEs are not rejected: the last card’s TYPE is applied to every pair, or ccx stops with a misleading “element slave surface … does not exist”

As discussed on the forum I will create issues of crashes/documentation straight without forum step

1 Like

1. *BOUNDARY, OP=NEW silently drops the *EQUATIONs and *TIEs at a *TRANSFORM node that had a boundary condition on a local translation (exit 0)

Summary

Section 7.135 (*TRANSFORM) of the 2.23 manual: the local system is “to be used for defining SPC’s, MPC’s and nodal forces”. Section 7.4 (*BOUNDARY): “OP=NEW implies that previously prescribed displacements are removed.” Section 7.56 (*EQUATION) removes equations only through its REMOVE and REMOVE ALL parameters.

When a node has a *TRANSFORM and a *BOUNDARY on one of its local translations, a later step with *BOUNDARY, OP=NEW removes more than the boundary condition. Any linear constraint that holds the node’s DOF that ccx eliminates for that BC is lost too:

  • an *EQUATION on the node, whichever term comes first;
  • a *TIE whose master face holds the node.

The run ends normally (exit 0, no message). In the deck below, step 2 gives exactly the displacements of the same model without the *EQUATION.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, 2 Nov 2026, built from source): the same numbers.

Already reported or fixed?

Not reported: I found no matching GitHub issue (open or closed) or pull request in Dhondtguido/CalculiX (searched 5 Nov 2026). Not fixed: the OP=NEW branch of boundarys.f (lines 69-159) is the same in 2.23 and master. A build with CalculiX.c: decascade again after a step that left the MPCs undecascaded by sandervdbroek · Pull Request #252 · Dhondtguido/CalculiX · GitHub gives the same numbers.

Related, different: Wrong results in a multistep analysis with shells and *BOUNDARY, OP=NEW · Issue #13 · Dhondtguido/CalculiX · GitHub (shells and beams with rotational BCs and OP=NEW). As traced in its comments, its cause is the type-‘B’ filter at the end of the same OP=NEW branch (lines 161-176); this report is about the ntrans > 0 block above it. *TRANSFORM is ignored for rotations at shell knots and *KINEMATIC reference nodes; *EQUATION terms on DOF 5/6 of a transformed node are misread · Issue #312 · Dhondtguido/CalculiX · GitHub (*TRANSFORM and rotations) is about other code.

Minimal input

transform_eq_opnew.inp: one C3D8. Node 7 has oblique axes, and an *EQUATION ties node 6’s u_x to node 7’s local u1. Step 1 holds node 7’s local u2 at 0.01. Step 2 is *BOUNDARY, OP=NEW with the base again and new loads.

** One C3D8. Node 7: local axes (1, 1, 0.5) / (-1, 1, 1); *EQUATION: u1'(7) = u_x(6).
** Step 1 holds node 7's local u2; step 2 removes that with *BOUNDARY, OP=NEW.
*NODE
1, 0, 0, 0
2, 1, 0, 0
3, 1, 1, 0
4, 0, 1, 0
5, 0, 0, 1
6, 1, 0, 1
7, 1, 1, 1
8, 0, 1, 1
*ELEMENT, TYPE=C3D8, ELSET=E
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=BASE
1, 2, 3, 4
*NSET, NSET=NN
7
*NSET, NSET=N6
6
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*SOLID SECTION, ELSET=E, MATERIAL=M
*TRANSFORM, NSET=NN, TYPE=R
1, 1, 0.5, -1, 1, 1
*EQUATION
2
7, 1, 1., 6, 1, -1.
*BOUNDARY
BASE, 1, 3
*STEP
*STATIC
*BOUNDARY
7, 2, 2, 0.01
*CLOAD
5, 1, 10
6, 1, 10
7, 1, 10
7, 3, -20
8, 1, 10
*NODE PRINT, NSET=NN, GLOBAL=YES
U
*NODE PRINT, NSET=N6
U
*END STEP
*STEP
*STATIC
*BOUNDARY, OP=NEW
BASE, 1, 3
*CLOAD, OP=NEW
5, 2, 30
6, 2, 30
8, 2, 30
*NODE PRINT, NSET=NN, GLOBAL=YES
U
*NODE PRINT, NSET=N6
U
*END STEP

global_eq_ref.inp, the reference: step 2 on its own, without *TRANSFORM, with the equation written in global components (local u1 = (u_x + u_y + 0.5 u_z) / 1.5):

** Reference: no *TRANSFORM, one step with step 2's BCs and loads;
** the same equation in global components: 1.5 u_x(6) = u_x(7) + u_y(7) + 0.5 u_z(7)
*NODE
1, 0, 0, 0
2, 1, 0, 0
3, 1, 1, 0
4, 0, 1, 0
5, 0, 0, 1
6, 1, 0, 1
7, 1, 1, 1
8, 0, 1, 1
*ELEMENT, TYPE=C3D8, ELSET=E
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=BASE
1, 2, 3, 4
*NSET, NSET=NN
7
*NSET, NSET=N6
6
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*SOLID SECTION, ELSET=E, MATERIAL=M
*EQUATION
4
6, 1, -1.5, 7, 1, 1., 7, 2, 1., 7, 3, 0.5
*BOUNDARY
BASE, 1, 3
*STEP
*STATIC
*CLOAD
5, 2, 30
6, 2, 30
8, 2, 30
*NODE PRINT, NSET=NN, GLOBAL=YES
U
*NODE PRINT, NSET=N6
U
*END STEP

How to run

ccx transform_eq_opnew, ccx global_eq_ref; compare the last two blocks of the .dat files.

Expected

A linear static step depends only on its own BCs, equations and loads. Step 2 has the base held, the equation, and the three loads in y, so it should match global_eq_ref:

         7  1.300543E-02  1.823609E-01 -1.425980E-01
         6  8.271158E-02  3.531353E-01  1.224336E-01

Node 7’s local u1 is (0.01300543 + 0.1823609 - 0.5 x 0.1425980) / 1.5 = 0.082712 = u_x(6). transform_eq_opnew.inp without node 7’s BC in step 1 gives the same step-2 numbers.

Actual

Step 1 is right: node 7 at (6.330622E-02, 3.118355E-01, -1.666887E-01), so local u1 = 0.194532 = u_x(6) and local u2 = 0.0100. Step 2, exit 0, no message:

         7  1.361179E-01  2.126321E-01 -1.429500E-01
         6 -1.505107E-01  3.325107E-01  1.813929E-01

Node 7’s local u1 is 0.18485, but u_x(6) = -0.15051: the equation is off by 0.34. These are, to all printed digits, the displacements of global_eq_ref.inp without its *EQUATION.

Variants

All on transform_eq_opnew.inp, with the same numbers on 2.23 and master; the gap is |local u1(7) - u_x(6)| after the last step.

change gap
none (as pasted) 3.4E-01
equation written 6, 1, 1., 7, 1, -1. (node 6 dependent) 3.4E-01
node 7’s BC in the model data instead of step 1 3.4E-01
the BC given again after OP=NEW in step 2 3.1E-01
a plain step 2, then OP=NEW in step 3 3.4E-01
axes 1, 1, 0, -1, 1, 0 (turned about z only), BC on local 2 4.0E-01
the same axes, BC on local 3 (= global z) 2E-08
step 2 without OP=NEW 6E-09
no BC on node 7 3E-08
the BC on a helper node 9 at node 7, tied by 7, 2, 1., 9, 2, -1. 3E-08

*TIE (deck below): the bottom face of a second C3D8 is tied to the top face of the first. Node 7, a master node, has the same axes and the same BC in step 1, and step 2 has OP=NEW. The slave node 13, at node 7, is 0 away from it after step 1 and 2.53E-02 away (in x) after step 2. Without node 7’s BC it stays at 0.

transform_tie_opnew.inp
** Two C3D8 stacked; the bottom face of the upper one (slave) is tied to the top face of
** the lower one (master). Master node 7: local axes (1, 1, 0.5) / (-1, 1, 1), local u2
** held in step 1; *BOUNDARY, OP=NEW in step 2. Node 13 sits at node 7.
*NODE
1, 0, 0, 0
2, 1, 0, 0
3, 1, 1, 0
4, 0, 1, 0
5, 0, 0, 1
6, 1, 0, 1
7, 1, 1, 1
8, 0, 1, 1
11, 0, 0, 1
12, 1, 0, 1
13, 1, 1, 1
14, 0, 1, 1
15, 0, 0, 2
16, 1, 0, 2
17, 1, 1, 2
18, 0, 1, 2
*ELEMENT, TYPE=C3D8, ELSET=E
1, 1, 2, 3, 4, 5, 6, 7, 8
2, 11, 12, 13, 14, 15, 16, 17, 18
*NSET, NSET=BASE
1, 2, 3, 4
*NSET, NSET=N7
7
*NSET, NSET=PAIRS
5, 6, 7, 8, 11, 12, 13, 14
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*SOLID SECTION, ELSET=E, MATERIAL=M
*TRANSFORM, NSET=N7, TYPE=R
1, 1, 0.5, -1, 1, 1
*SURFACE, NAME=MS
1, S2
*SURFACE, NAME=SS
2, S1
*TIE, NAME=T, POSITION TOLERANCE=0.01
SS, MS
*BOUNDARY
BASE, 1, 3
*STEP
*STATIC
*BOUNDARY
7, 2, 2, 0.01
*CLOAD
7, 1, 10.
6, 3, 5.
*NODE PRINT, NSET=PAIRS, GLOBAL=YES
U
*END STEP
*STEP
*STATIC
*BOUNDARY, OP=NEW
BASE, 1, 3
*CLOAD, OP=NEW
7, 3, 20.
5, 2, 10.
*NODE PRINT, NSET=PAIRS, GLOBAL=YES
U
*END STEP

Step 2, node 7 and node 13: 7.815220E-02 -1.555492E-01 8.667037E-02 and 1.034660E-01 -1.555492E-01 8.667037E-02.

Where it goes wrong

Line numbers are from master (537aa81); boundarys.f and cascade.c have the same lines in 2.23.

  1. bounadd.f (lines 164-328) writes a BC on a local translation of a transformed node as an MPC over the node’s global DOFs plus a term on an extra node inotr(2,node), which carries the value as an SPC.
  2. cascade.c (from line 229) substitutes that MPC, in place, into every linear MPC that has its dependent DOF as an independent term. Here that is the user’s equation, which then holds a term on the extra node.
  3. On OP=NEW, boundarys.f removes every MPC that has its dependent DOF on the node and a term on the extra node in the BC’s direction. Its comment (lines 73-78) calls this a “necessary and sufficient condition”, but once cascade.c has run it is no longer sufficient. The loop (lines 80-134) removes the user’s equation together with the BC’s own MPC. An MPC whose dependent DOF is elsewhere (node 6 first, or the tie’s slave node) is kept, but OP=NEW also removes the SPC on the extra node, so that term is now free and the MPC no longer constrains anything.

The *EQUATION, REMOVE branch has the same problem and deals with it: equations.f (lines 97-127) first checks ikmpcref against ikmpc, then restores “the original equations (before the first call to cascade)” from nodempcref / coefmpcref and sets mpcfreeref=-1, and only then removes.

Possible fix

Do what equations.f does before the removal loop of boundarys.f, i.e. restore the undecascaded MPCs and set mpcfreeref=-1 (this needs nodempcref, coefmpcref, ikmpcref, memmpcref_, mpcfreeref, maxlenmpcref, memmpc_ and maxlenmpc passed from calinput.f). I tried this in a test build of master. Every variant in the table above, and the tie deck, then holds to 3E-08 or better, and step 2 of transform_eq_opnew.inp prints the global_eq_ref numbers. I have not checked it beyond these decks.

Workaround

Put the BC on an untransformed helper node tied to the node’s local DOF by an equation (last row of the table).

2. A new *BOUNDARY on a *TRANSFORM node’s local translation starts from its global displacement (path jumps in NLGEOM *STATIC, wrong *DYNAMIC transient)

Summary

Section 10.6.1 (Matching the SPC’s) of the 2.23 manual says that for an SPC that was not active in the previous step, “The appropriate displacement value at the end of the previous step is stored in position i of field xbounold.” Section 7.1 (*AMPLITUDE) says that in a *STATIC step the BC is ramped from “the load value at the end of the previous step” to the new value. In section 7.135 the *TRANSFORM axes are “to be used for defining SPC’s, MPC’s and nodal forces”, so for a transformed node the value that should be matched is the local displacement.

ccx takes the global component instead: for a BC on local direction i it starts from global u_i. In the decks below the local axes only permute the global ones (local 1 = y, local 2 = -x, local 3 = z), so a deck without *TRANSFORM and with the BC on global DOF 1 is exactly equivalent. Step 2 holds node 7’s local u2 at the value it reached in step 1.

  • NLGEOM *STATIC: ccx ramps local u2 from global u_y (0.1873) to the value it already had (0.0355). Node 7 moves away and comes back: the intermediate increments are wrong, and only the end state (elastic material) is right again. The equivalent deck stays put.
  • Implicit *DYNAMIC (step loading): the jump of the BC value in the first increment acts as an imposed motion. The transient differs from the equivalent deck by 21.6 % of the peak displacement at 20 increments per step (1.0 % at 80).

Version

ccx 2.23 (macOS arm64) and current master (537aa81, 2 Nov 2026, built from source): the same numbers.

Already reported or fixed?

Not reported: I found no matching GitHub issue (open or closed) or pull request in Dhondtguido/CalculiX (searched 5 Nov 2026). Not fixed: the copy in bounadd.f is unchanged on master. Commit 18029d4 (28 Jul 2026, LOGBOOK: “corrected an error for the parameter fixed on the *boundary card for cylindrical coordinates”) fixed the same global/local mix-up for the FIXED value, 40 lines above it.

Minimal input

transform_bc_nlgeom.inp: one C3D8; node 7 has the axes local 1 = global y, local 2 = -global x. Step 1 loads the cube. Step 2 holds node 7’s local u2 at its step-1 value (local u2 = -u_x = 3.553210E-02).

** One C3D8, base held. Node 7: local 1 = global y, local 2 = -global x, local 3 = z.
** Step 1 (NLGEOM) loads the cube; step 2 holds node 7's local u2 at the value
** it reached in step 1 (-u_x = 3.553210E-02): nothing should move.
*NODE
1, 0, 0, 0
2, 1, 0, 0
3, 1, 1, 0
4, 0, 1, 0
5, 0, 0, 1
6, 1, 0, 1
7, 1, 1, 1
8, 0, 1, 1
*ELEMENT, TYPE=C3D8, ELSET=E
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=BASE
1, 2, 3, 4
*NSET, NSET=N7
7
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*SOLID SECTION, ELSET=E, MATERIAL=M
*TRANSFORM, NSET=N7
0, 1, 0, -1, 0, 0
*BOUNDARY
BASE, 1, 3
*STEP, NLGEOM, INC=1000
*STATIC, DIRECT
0.25, 1.
*CLOAD
5, 1, 10.
6, 1, 10.
8, 1, 10.
6, 2, 20.
*NODE PRINT, NSET=N7, GLOBAL=YES
U
*END STEP
*STEP, NLGEOM, INC=1000
*STATIC, DIRECT
0.25, 1.
*BOUNDARY
7, 2, 2, 3.553210E-02
*NODE PRINT, NSET=N7, GLOBAL=YES
U
*END STEP

global_bc_nlgeom.inp, the equivalent deck: no *TRANSFORM, the BC on global DOF 1.

-*TRANSFORM, NSET=N7
-0, 1, 0, -1, 0, 0
 ...
 *BOUNDARY
-7, 2, 2, 3.553210E-02
+7, 1, 1, -3.553210E-02

How to run

ccx transform_bc_nlgeom, ccx global_bc_nlgeom; compare node 7 in the four increments of step 2.

Expected

Node 7 stays where step 1 left it, (-3.553210E-02, 1.873215E-01, -8.603852E-02), in every increment of step 2. That is what global_bc_nlgeom.inp gives:

         7 -3.553210E-02  1.873216E-01 -8.603862E-02   (t = 1.25, 1.5, 1.75 and 2.0)

Actual

transform_bc_nlgeom.inp, step 2 (exit 0, no message):

 t = 1.25:   7 -1.493742E-01  2.123892E-01 -6.684812E-02
 t = 1.50:   7 -1.114268E-01  2.045930E-01 -7.219945E-02
 t = 1.75:   7 -7.347946E-02  1.962413E-01 -7.859462E-02
 t = 2.00:   7 -3.553210E-02  1.873216E-01 -8.603862E-02

Local u2 = -u_x runs 0.14937, 0.11143, 0.07348, 0.03553: a linear ramp from 0.1873215, which is node 7’s global u_y at the end of step 1, to the prescribed 0.0355321. With oblique axes (1, 1, 0.5, -1, 1, 1, local u2 held at its step-1 value 0.0662739) node 7 also moves: u_x = -1.205178E-01 at t = 1.25, back to -3.553218E-02 at t = 2.

Implicit *DYNAMIC

transform_bc_dyn.inp
** The same cube with density 1 in two implicit *DYNAMIC steps of 20 increments.
** Step 2 holds node 7's local u2 at the value it reached in step 1 (-u_x = -0.04674621).
*NODE
1, 0, 0, 0
2, 1, 0, 0
3, 1, 1, 0
4, 0, 1, 0
5, 0, 0, 1
6, 1, 0, 1
7, 1, 1, 1
8, 0, 1, 1
*ELEMENT, TYPE=C3D8, ELSET=E
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=BASE
1, 2, 3, 4
*NSET, NSET=N7
7
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*DENSITY
1.
*SOLID SECTION, ELSET=E, MATERIAL=M
*TRANSFORM, NSET=N7
0, 1, 0, -1, 0, 0
*BOUNDARY
BASE, 1, 3
*STEP, INC=1000
*DYNAMIC, DIRECT
0.05, 1.
*CLOAD
5, 1, 10.
6, 1, 10.
8, 1, 10.
6, 2, 20.
*NODE PRINT, NSET=N7, GLOBAL=YES
U
*END STEP
*STEP, INC=1000
*DYNAMIC, DIRECT
0.05, 1.
*BOUNDARY
7, 2, 2, -0.04674621
*NODE PRINT, NSET=N7, GLOBAL=YES
U
*END STEP

global_bc_dyn.inp: the same without the two *TRANSFORM lines and with 7, 1, 1, 0.04674621.

Step 1 is identical in both decks and ends with node 7 at (4.674621E-02, 3.427881E-01, -1.620636E-01). In step 2 both hold u_x(7) at 4.674621E-02 in every increment, but the rest of the motion differs. At t = 1.05, u_y(7) is 3.131973E-01 with the transform and 2.454839E-01 without. Over step 2 the largest difference at node 7 is 6.77E-02, 21.6 % of the largest displacement (0.314). With increments of 0.0125 it is 1.0 %, and with 0.005 it is 0.5 %. The same BC put on a helper node 9 at node 7, tied by the model-data *EQUATION 7, 2, 1., 9, 2, -1., gives exactly the global_bc_dyn numbers. A BC on local 3 (= global z, where the copied value happens to be right) matches its own equivalent deck exactly; a BC on local 1 (= global y) is 15.0 % off its equivalent deck.

Where it goes wrong

bounadd.f (master 537aa81) writes a BC on a local translation of a transformed node as an MPC with an extra node inotr(2,node), whose DOF i carries the value of the local component i. When it creates that node, lines 223-225 copy

               do j=0,mi(2)
                  vold(j,newnode)=vold(j,node)
               enddo

i.e. the node’s global components. spcmatch.f:72 then takes vold(ndirboun(i),nodeboun(i)) of the extra node as the start value of the new SPC. Lines 180-183 of the same routine already compute the local value for FIXED (val=a(1,i)*vold(1,nodetrue)+a(2,i)*vold(2,nodetrue)+a(3,i)*vold(3,nodetrue), “corrected on 07.28.2026”).

Possible fix

After the copy, set the three translational DOFs of the extra node to the local components, e.g.

               do j=1,3
                  vold(j,newnode)=a(1,j)*vold(1,node)+
     &                 a(2,j)*vold(2,node)+a(3,j)*vold(3,node)
               enddo

(a is already computed at line 167). In a test build of master with this change:

  • transform_bc_nlgeom gives the global_bc_nlgeom numbers in every increment, and in the oblique variant node 7 stays at its step-1 position (to 1E-07);
  • transform_bc_dyn gives the global_bc_dyn numbers at increments of 0.05 and 0.0125, and the local-1 variant gives its own reference numbers;
  • the 29 decks of test/ that use *TRANSFORM give byte-identical .dat files.

With oblique axes in *DYNAMIC, a difference to the model turned into the node’s axes remains with this change. The helper-node form shows it too, so its cause lies elsewhere and is not part of this report.

3. *HEAT TRANSFER with *FREQUENCY or *BUCKLE but no *STATIC step is set up as heat-only: plane, axisymmetric, truss eigenvalues near 0; a false *ERROR at knots

Summary

A CPS4 cantilever with a steady *HEAT TRANSFER step followed by a *FREQUENCY step gives the eigenvalues 0.2068, 1.046 and 1.703 (exit 0, no message about it). Without the heat step the same model gives 5.830E+11, 1.703E+13 and 1.724E+13. CPE4, CAX4, M3D4 and T3D2 models do the same, a *BUCKLE step gives factors near 1 (0.9975 instead of 2.823), and a folded S4 model stops with “*ERROR in gen3dboun: … the elements to which this node belongs do not have rotational DOFs”, which is false for shells. The 2.23 manual, section 6.9.2, says that without PERTURBATION “Any steps preceding the frequency step do not have any influence on the results”, and an empty *STATIC step added after the *FREQUENCY step brings back the right eigenvalues. The cause is the run type ithermal(2), which readinput.c sets from the procedure cards: *STATIC, *VISCO and *DYNAMIC count as mechanical steps but *FREQUENCY and *BUCKLE do not, so the run is set up as heat transfer alone (ithermal(2) = 2, “no mechanical nor coupled steps in the input deck”, section 10.16), so the expanded nodes of plane, axisymmetric, membrane and truss elements are tied to the original nodes in the temperature only, and shell and beam knots get no rotational DOFs.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, 2 Nov 2026): the same messages and numbers, except the T3D2 values near 1, which differ between the two builds.

Already reported or fixed?

Not reported, as far as I can find: no GitHub issue or pull request in Dhondtguido/CalculiX (all 326 up to #327, searched 5 Nov 2026) and no calculix.discourse.group topic title. Not fixed: the run-type block in readinput.c is the same on master (537aa81).

Related, different: *FREQUENCY / *BUCKLE after a nonlinear step: an *EQUATION that a *RIGID BODY or knot MPC depends on is not decascaded again, wrong eigenvalues (exit 0) · Issue #226 · Dhondtguido/CalculiX · GitHub (eigenvalue steps after a nonlinear step use undecascaded MPCs). A *HEAT TRANSFER step is a nonlinear step in that sense, so the workaround below can run into #226 for models with nonlinear MPCs.

Minimal input

heat_freq.inp:

** CPS4 cantilever 2 x 0.5 (4 elements), thickness 0.1, clamped at x = 0.
** Step 1: steady *HEAT TRANSFER (T = 20 at x = 0). Step 2: *FREQUENCY.
*NODE, NSET=NALL
1, 0., 0.
2, 0.5, 0.
3, 1., 0.
4, 1.5, 0.
5, 2., 0.
6, 0., 0.5
7, 0.5, 0.5
8, 1., 0.5
9, 1.5, 0.5
10, 2., 0.5
*ELEMENT, TYPE=CPS4, ELSET=EALL
1, 1, 2, 7, 6
2, 2, 3, 8, 7
3, 3, 4, 9, 8
4, 4, 5, 10, 9
*NSET, NSET=LEFT
1, 6
*MATERIAL, NAME=STEEL
*ELASTIC
210000., 0.3
*DENSITY
7.85E-9
*CONDUCTIVITY
50.
*SOLID SECTION, ELSET=EALL, MATERIAL=STEEL
0.1
*STEP
*HEAT TRANSFER, STEADY STATE
*BOUNDARY
LEFT, 11, 11, 20.
*END STEP
*STEP
*FREQUENCY
3
*BOUNDARY
LEFT, 1, 2
*END STEP

Variants:

  • freq_only.inp: heat_freq.inp without step 1.
  • heat_freq_static.inp: heat_freq.inp with an empty third step appended (*STEP / *STATIC / *END STEP).
  • cpe4_heat_freq.inp, cax4_heat_freq.inp: TYPE=CPE4 or TYPE=CAX4 (CAX4 without the thickness line); cpe4_freq_only.inp, cax4_freq_only.inp without step 1.
  • m3d4_heat_freq.inp: TYPE=M3D4, *MEMBRANE SECTION instead of *SOLID SECTION, and NALL, 3, 3 added to the boundary conditions of step 2; m3d4_freq_only.inp without step 1.
  • heat_buckle.inp: step 2 replaced by *BUCKLE / 2 / *BOUNDARY / LEFT, 1, 2 / *CLOAD / 5, 1, -500. / 10, 1, -500.; buckle_only.inp without step 1.

fold_heat_freq.inp (shell knots):

** Two S4 elements folded 90 degrees along the edge 3-4 (ccx makes nodes 3 and 4 knots),
** edge x = 0 (nodes 1, 3, 5) clamped.
** Step 1: steady *HEAT TRANSFER (T = 20 on the clamped edge). Step 2: *FREQUENCY.
*NODE, NSET=NALL
1, 0., 0., 0.
2, 1., 0., 0.
3, 0., 1., 0.
4, 1., 1., 0.
5, 0., 1., 1.
6, 1., 1., 1.
*ELEMENT, TYPE=S4, ELSET=EALL
1, 1, 2, 4, 3
2, 3, 4, 6, 5
*NSET, NSET=LEFT
1, 3, 5
*MATERIAL, NAME=STEEL
*ELASTIC
210000., 0.3
*DENSITY
7.85E-9
*CONDUCTIVITY
50.
*SHELL SECTION, ELSET=EALL, MATERIAL=STEEL
0.05
*STEP
*HEAT TRANSFER, STEADY STATE
*BOUNDARY
LEFT, 11, 11, 20.
*END STEP
*STEP
*FREQUENCY
3
*BOUNDARY
LEFT, 1, 6
*END STEP

Variants: fold_freq_only.inp without step 1; fold_heat_freq_static.inp with the empty *STATIC step appended.

truss_heat_freq.inp (trusses):

** Two T3D2 bars meeting at node 3; nodes 1 and 2 pinned, z held everywhere.
** Step 1: steady *HEAT TRANSFER (T = 20 at nodes 1 and 2). Step 2: *FREQUENCY.
*NODE, NSET=NALL
1, 0., 0., 0.
2, 0., 1., 0.
3, 1., 0., 0.
*ELEMENT, TYPE=T3D2, ELSET=EALL
1, 1, 3
2, 2, 3
*NSET, NSET=PIN
1, 2
*MATERIAL, NAME=STEEL
*ELASTIC
210000., 0.3
*DENSITY
7.85E-9
*CONDUCTIVITY
50.
*SOLID SECTION, ELSET=EALL, MATERIAL=STEEL
0.01
*STEP
*HEAT TRANSFER, STEADY STATE
*BOUNDARY
PIN, 11, 11, 20.
*END STEP
*STEP
*FREQUENCY
2
*BOUNDARY
PIN, 1, 2
NALL, 3, 3
*END STEP

Variant: truss_freq_only.inp without step 1.

How to run

ccx heat_freq
ccx freq_only
ccx heat_freq_static
ccx fold_heat_freq
ccx truss_heat_freq

and the other variants; compare the eigenvalue (or buckling factor) output in the .dat files.

Expected

The heat step does not change the eigenvalues (section 6.9.2), so each deck gives the values of its variant without the heat step. Section 6.9.4 says the same for *BUCKLE (“If the perturbation parameter is not activated on the *STEP card, the initial stiffness matrix corresponds to the stiffness matrix of the unloaded structure.”).

Actual

Eigenvalues (column 2 of the .dat output) or buckling factors, ccx 2.23 and master alike unless noted:

deck with the heat step without the heat step heat step + empty *STATIC step after it
CPS4 *FREQUENCY 0.2068063, 1.045625, 1.702818 5.830003E+11, 1.703493E+13, 1.723878E+13 5.830003E+11, 1.703493E+13, 1.723878E+13
CPE4 *FREQUENCY 0.2068063, 1.045625, 1.702818 6.676132E+11, 1.858476E+13, 1.901773E+13
CAX4 *FREQUENCY -2.634630, -0.3258466, 1.500056 5.026421E+11, 1.275959E+13, 3.142688E+13
M3D4 *FREQUENCY 0.6148872, 0.8840341, 1.124029 5.811730E+11, 1.699072E+13, 1.702362E+13
CPS4 *BUCKLE 0.9975288, 1.002741 2.823446, 5.773339
T3D2 *FREQUENCY 1.092986, 1.426522 (master: 0.8947751, 1.573484) 7.595309E+11, 7.883050E+11
S4 fold *FREQUENCY *ERROR in gen3dboun: in node 3 a rotational DOF is constrained by a SPC; however, the elements to which this node belongs do not have rotational DOFs (exit 201) 2.695195E+12, 6.250574E+12, 1.611142E+13 2.695195E+12, 6.250574E+12, 1.611142E+13

All runs without an *ERROR exit 0. The only warning is that the heat step has no time-increment line, so the defaults (1, 1) are used. The empty *STATIC step comes after the *FREQUENCY step, so it cannot change it physically; it only changes how ccx sets the run up. A moment on a knot gives the same kind of stop in gen3dforc: fold_heat_freq_moment.inp (step 2 with LEFT, 1, 3 and *CLOAD / 4, 4, 0.) stops with “*ERROR in gen3dforc: in node 4 a rotational DOF is loaded; however, the elements to which this node belongs do not have rotational DOFs” (exit 201). C3D8 models, and S4 and B31 models without knots, are not affected.

Where it goes wrong

Line numbers are master 537aa81 (2.23 in brackets).

  1. readinput.c:463-483 [455-475] decides the run type in the first pass over the deck. Its comment: “checking whether the calculation is mechanical, thermal or thermomechanical: needed to know which mpc’s to apply to 2-D elements”. Only *STATIC, *VISCO and *DYNAMIC count as mechanical (line 467 [459]); *HEAT TRANSFER adds 2 (line 475 [467]). *FREQUENCY and *BUCKLE are not tested, so *HEAT TRANSFER plus eigenvalue steps gives ithermal(2) = 2. Section 10.16 of the 2.23 manual defines ithermal(2) = 2 as “no mechanical nor coupled steps in the input deck” and 3 as “at least one mechanical and one thermal step or at least one coupled step in the input deck”. allocation.f:91-94 [90-93] says the same: “in the presence of mechanical steps the highest number of DOF is at least 3”.
  2. With ithermal(2) = 2 the expansion ties the expanded nodes to the original node in DOF 0 (temperature) only: gen3dfrom2d.f:374 and :393-402 (plane and axisymmetric elements; the midplane z-fix is skipped too), gen3dmembrane.f:41-50, gen3dtruss.f:54-63 (same lines in 2.23). The boundary conditions on the original nodes then no longer reach the elements, and the eigenvalues are those of an unsupported model, near zero.
  3. gen3dnor.f:839-841 [833-835] gives a knot no rotational node when ithermal(2) = 2 (it keeps rig = -1, the flag for a knot without rotational node), so gen3dboun and gen3dforc stop on a rotational SPC or a moment there with the message meant for the nodes of plane elements.

Read from the code only: a *STATIC, *VISCO or *DYNAMIC card before the first *HEAT TRANSFER card also leads to 2 when the deck has no initial temperatures (lines 470-471 [462-463] leave 0, then line 476 [468] adds 2).

*MODAL DYNAMIC and *STEADY STATE DYNAMICS rightly do not count by themselves: they can follow a *HEAT TRANSFER, FREQUENCY step (test deck acou2.inp).

Fix

Not built or tested. Count *FREQUENCY and *BUCKLE as mechanical steps in readinput.c (the heat-transfer eigenvalue step is *HEAT TRANSFER, FREQUENCY, which this test does not match). The order dependence goes away if the loop only records whether it has seen a mechanical step and a thermal step, and sets ithermal[1] after the loop.

Workaround: add a *STATIC step without loads, for example at the end of the deck. For models with nonlinear MPCs, an eigenvalue step right after the heat step can then run into *FREQUENCY / *BUCKLE after a nonlinear step: an *EQUATION that a *RIGID BODY or knot MPC depends on is not decascaded again, wrong eigenvalues (exit 0) · Issue #226 · Dhondtguido/CalculiX · GitHub.

4. *SPRING, NONLINEAR in a *STATIC step without NLGEOM is solved once with the initial slope: elongation 0.6 instead of 0.7, and the spring force (55) no longer balances the load (60)

Summary

ccx solves a *STATIC step without NLGEOM linearly, even when the model has a nonlinear spring (*SPRING, NONLINEAR, 2.23 manual section 7.122). It factorizes once with the spring’s slope at zero elongation, and only afterwards evaluates the force-elongation table at the solved elongation. A SPRING2 with the table (0, 0), (50, 0.5), (100, 1.5), pulled by 60, ends at 0.6 instead of 0.7, and the spring force is then 55, so the reaction (-55) does not balance the load (60). ccx exits with 0 and prints no message. The same step with NLGEOM, or with an unused *PLASTIC material anywhere in the deck, iterates and gives 0.6984375 / 59.92. The cause is that springs.f never marks the model as nonlinear, while plastics.f and contactpairs.f do (iperturb(1)).

Version

ccx 2.23 (macOS arm64) and current master (537aa81): the same numbers.

Already reported or fixed?

I found no GitHub issue or pull request about nonlinear springs in linear steps. The closest are Non-linear SPRING1 elements not identified · Issue #52 · Dhondtguido/CalculiX · GitHub and PR #53 (a nonlinear SPRING1 table was not read at all; fixed), and #313 (linear *STATIC leaves the SPRING1 / SPRING2 forces caused by a nonzero *BOUNDARY out of the load vector: a different cause, resultsmech.f). On the forum, The nonlinear spring does not behave properly (a SPRINGA with NLGEOM that fails at a sharp kink and is cured by smaller increments) and Is nonlinear stiffness allowed for SPRING1 elements? (#52/#53) are different. The topic of #313 is Linear *STATIC: SPRING1 / SPRING2 forces caused by a nonzero *BOUNDARY are left out of the load vector, so a SPRING2 from a moved node transmits nothing (exit 0).

Minimal input

spnl.inp:

** A nonlinear SPRING2 (DOF 1 at both nodes) between node 1 and the held node 2:
** force-elongation table (0,0), (50,0.5), (100,1.5), i.e. slope 100 up to 0.5, then 50.
** Node 1 is pulled by 60. The table gives u1 = 0.5 + 10/50 = 0.7, and node 2
** must react with -60.
*NODE
1,1.,0.,0.
2,0.,0.,0.
*ELEMENT,TYPE=SPRING2,ELSET=K
1,1,2
*SPRING,ELSET=K,NONLINEAR
1,1
0.,0.
50.,0.5
100.,1.5
*NSET,NSET=N
1,2
*BOUNDARY
1,2,3
2,1,3
*STEP
*STATIC
*CLOAD
1,1,60.
*NODE PRINT,NSET=N
U,RF
*END STEP

Variants:

  • spnl_nlgeom: *STEP,NLGEOM.
  • spnl_plastic: an unused material inserted before *BOUNDARY (*MATERIAL,NAME=UNUSED / *ELASTIC / 1000.,0.3 / *PLASTIC / 10.,0.). No element uses it.
  • spnl_direct: *STATIC,DIRECT / 0.1,1..

How to run

ccx spnl (and the variants).

Expected

The table gives F = 50 + 50·(u - 0.5) for 0.5 ≤ u ≤ 1.5, so F = 60 at u1 = 0.7. Node 2 should react with -60, and the spring force at node 1 should be 60.

Actual

ccx 2.23 and master give the same values, exit 0, no message:

deck u1 force at node 1 / reaction at node 2
spnl (*STATIC) 6.000000E-01 5.500000E+01 / -5.500000E+01
spnl_direct (*STATIC, DIRECT, 10 increments) 6.000000E-01 5.500000E+01 / -5.500000E+01
spnl_nlgeom 6.984375E-01 5.992188E+01 / -5.992188E+01
spnl_plastic (unused *PLASTIC card) 6.984375E-01 5.992188E+01 / -5.992188E+01

In spnl, 0.6 = 60/100 is the load divided by the first slope of the table. The forces are then taken from the table at u1 = 0.6 (50 + 50·0.1 = 55). So the printed state is not in equilibrium: the load at node 1 is 60, but node 2 reacts with only -55. The two iterated variants converge to 0.7 within ccx’s default residual tolerance (59.92 against 60).

A SPRING1 with the same table gives u1 = 0.6 in the same way.

Why this is a bug

  • The 2.23 manual, section 7.122 (*SPRING): “With the parameter NONLINEAR the user can specify that the behavior of the spring is nonlinear”. Section 7.123 (*STATIC): “If nonlinearities are present in the model (geometric nonlinearity or material nonlinearity), the solution is obtained through iteration … In a purely linear calculation the step size is always 1., no iterations are performed”. A nonlinear spring is a material nonlinearity. Nothing in sections 6.2.40-6.2.42 or 7.122 says that a nonlinear spring needs NLGEOM.
  • Equivalent inputs disagree: a material card that no element uses changes the answer from 0.6 to 0.698.
  • The result violates equilibrium (60 applied, 55 transmitted), with exit 0.

Where it goes wrong

CalculiX.c:1251 sends a *STATIC step to linstatic.c (one solve) unless iperturb[0] is at least 2. Several cards raise it while the input is read: plastics.f:73 (iperturb(1)=3) and contactpairs.f:250 (iperturb(1)=2, with the comment “the definition of a contact pair triggers a call to nonlingeo (for static calculations) but not automatically to the nonlinear calculation of strains”). springs.f reads NONLINEAR (lines 72-73) and stores the table (nelcon(1,nmat)=-51, line 203), but it does not set iperturb (it does not even receive it). So the step is solved once with the stiffness at zero elongation. The results routine then evaluates the table at the solved elongation (calcspringforc.f:71-72) and prints forces that do not balance the load.

Fix

Do in springs.f what contactpairs.f does: for NONLINEAR, set iperturb(1)=2 if it is 0, so that a static step with a nonlinear spring goes to nonlingeo without switching on nonlinear strains. This needs iperturb in the argument list of springs (in calinput.f). If linear treatment is intended, a *WARNING at the *SPRING, NONLINEAR card and a sentence in section 7.122 would at least tell the user to add NLGEOM.

5. Nonlinear spring energy (ELSE) is wrong when the force-elongation table starts at a negative elongation: 30.25 or 1267.75 instead of 17.75 for the same forces

Summary

The 2.23 manual allows negative elongations in a *SPRING, NONLINEAR table (section 7.122). If the table starts at a negative elongation, though, the spring energy that ccx prints (ELSE, also in the internal energy) is wrong. The forces are right. A SPRING2 stretched by 0.6 along the table (0, 0), (50, 0.5), (100, 1.5) has the energy 17.75, the area under the curve, and ccx prints 17.75. Adding the point (-50, -0.5) in front, which leaves the forces at positive elongation unchanged, makes it 30.25. Adding (-500, -5.) instead makes it 1267.75. The cause is the start value senergy=yiso(1)*xiso(1) in calcspringforc.f:63 and :74. That value integrates the force from 0 to the first table point, and is right only when that point is at a nonnegative elongation.

Version

ccx 2.23 (macOS arm64) and current master (537aa81): the same numbers.

Already reported or fixed?

I found no GitHub issue or pull request about spring energy. On the forum, Extracting springs force and elongation (post 6, 2024) wondered whether the energy of a nonlinear spring is right for tables that do not start at (0,0); this answers it. calcspringforc.f is unchanged on master.

Minimal input

se_neg.inp:

** SPRING2 (DOF 1 at both nodes) between node 1 and the held node 2. Force-elongation
** table with a point at negative elongation: (-50,-0.5), (0,0), (50,0.5), (100,1.5).
** Node 1 is moved 0.6 by *BOUNDARY; the spring energy is the area under the
** table from 0 to 0.6: 0.5*50*0.5 + 0.1*(50+55)/2 = 17.75.
*NODE,NSET=N
1,1.,0.,0.
2,0.,0.,0.
*ELEMENT,TYPE=SPRING2,ELSET=K
1,1,2
*SPRING,ELSET=K,NONLINEAR
1,1
-50.,-0.5
0.,0.
50.,0.5
100.,1.5
*BOUNDARY
1,2,3
2,1,3
*STEP
*STATIC
*BOUNDARY
1,1,1,0.6
*NODE PRINT,NSET=N
U,RF
*EL PRINT,ELSET=K
ELSE
*END STEP

Variants:

  • se_pos: the line -50.,-0.5 removed.
  • se_neg5: that line replaced by -500.,-5..

Expected

The same forces in all three decks (the tables agree for elongations from 0 to 1.5), and so the same energy: ∫ F du from 0 to 0.6 = 12.5 + 5.25 = 17.75.

Actual

ccx 2.23 and master, exit 0. Every DOF is prescribed, so ccx warns “no degrees of freedom in the model”. It still evaluates the spring at the prescribed elongation and prints the forces below (55 = 50 + 50·0.1, from the table):

deck force at node 1 ELSE
se_pos 5.500000E+01 1.775000E+01
se_neg 5.500000E+01 3.025000E+01
se_neg5 5.500000E+01 1.267750E+03

The excess is y1·x1 − ∫ F du from x1 to 0 (25 − 12.5 = 12.5, and 2500 − 1250 = 1250). It depends only on the part of the table below zero elongation, which the spring never reaches here.

Where it goes wrong

src/calcspringforc.f (master), for a tabular spring and an elongation val past the first point:

               senergy=yiso(1)*xiso(1)
               do i=2, id
                  senergy=senergy+(xiso(i)-xiso(i-1))*
     &                 (yiso(i)+yiso(i-1))/2.d0
               enddo
               senergy=senergy+(val-xiso(id))*(fk+yiso(id))/2.d0

(lines 74-79; the same start at line 63 for val beyond the last point). This integrates from xiso(1) to val and adds yiso(1)*xiso(1), the integral from 0 to xiso(1) at the constant force yiso(1). That is right when xiso(1) ≥ 0, because the force is extrapolated as constant below the first point. When xiso(1) < 0, the start value has to remove the area from xiso(1) to 0 instead. The branch for val below the first point (senergy=fk*val, line 57) has the same restriction. For a compressed spring (val < 0) the integral also has to be taken from 0 to val.

Fix

Compute the energy as A(val) − A(0), where A(x) is the integral of the extrapolated table from xiso(1) to x (A(x) = yiso(1)*(x-xiso(1)) for x < xiso(1)). For xiso(1) ≥ 0 this gives the present values.

6. *EQUATION on DOF 4-6 of a beam or shell node without a knot: not allowed (section 10.3.6), but accepted without a message, and the term is silently disconnected (exit 0)

Summary

This is a request for an input check.

Section 10.3.6 (Applying the MPC’s to the expanded structure) of the 2.23 manual says: “No rotational degrees of freedom are allowed in nodes of MPC’s in which no knot was created.” ccx 2.23 and current master do not check this. An *EQUATION term on a rotational DOF (4-6) of a B31 or S4 node that is not a knot is accepted, gen3dmpc.f expands it like a translation, and the term ends up tied to DOFs that no element has:

  • Imposing the rotation through an equation (θ_z(tip) = u_x(10), node 10 moved 0.01) leaves the beam at rest. The same rotation given by *BOUNDARY moves the tip 0.005.
  • Reading the rotation through an equation (u_x(10) = θ_z(tip)) gives 0, while the tip turns 0.571 under a moment.

The job ends with exit 0 and no error or warning, so the user gets a wrong model without a hint. At a knot the same equations work (example at the end).

The restriction is stated only in chapter 10 (the description of the program). Where users look, nothing points to it: section 7.56 (*EQUATION) allows the constraint “between arbitrary displacement components at any nodes where these components are active”, section 6.7.2 numbers the DOFs of an MPC “the same as for SPC’s”, and sections 6.2.14 and 6.2.33 say that DOFs 4-6 of shell and beam nodes can be fixed. (Section 10.3.2 also still says that a rigid body is generated if “the rotational degrees of freedom are addressed by the user in any way”; for static steps that has been replaced by mean-rotation MPCs since version 2.8, section 6.2.14, and an *EQUATION term triggers neither.) Users have run into this: in Rotational dof's release. "-->Internal<---" steel connection a relationship between the rotations of two beam nodes “doesn’t seem to work”.

So this asks for an *ERROR (or at least a *WARNING) when an MPC term on DOF 4-6 reaches a 1D/2D node without a knot, as gen3dmpc.f already does for a knot without a rotational node (“a rotational DOF is constrained by a SPC; however, the elements to which this node belongs do not have rotational DOFs”), and for the restriction to be stated in section 7.56.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, 2 Nov 2026, built from source): the same numbers.

Already reported or fixed?

No GitHub issue (open or closed) or pull request in Dhondtguido/CalculiX asks for this check (searched 3 Nov 2026). The symptom was described on the forum in Rotational dof's release. "-->Internal<---" steel connection (Nov 2023), where a user suspected that the equation “doesn’t account for the expansion”. Later posts there found the rotational links ineffective (posts 21 and 25) and, in June 2024, the chapter-10 rule and the knot workaround (post 41); no *ERROR was asked for. Modelling moving wing-strut joints (post 4, 2024) repeats that rotational DOFs cannot be used in constraint equations. *equation + *TRANSFORM (Aug 2025) asks again why “rotational degrees of freedom sometimes do not couple properly with equation” on beams, without an answer. Not fixed: gen3dmpc.f is unchanged on master (537aa81) in this respect.

Related, different: Wrong displacement for beam with a single rotational DOF constraint. · Issue #69 · Dhondtguido/CalculiX · GitHub (open; a single rotational *BOUNDARY on a non-knot beam node, i.e. the mean-rotation MPC path, not *EQUATION). possible bugs in *Equation and remove (Beam element) · Issue #66 · Dhondtguido/CalculiX · GitHub (closed; *EQUATION, REMOVE on B32R).

Minimal input

beam_eq.inp:

** B31 cantilever along x (L=1, 0.1 x 0.1, E=210000), clamped at node 1.
** The tip rotation about z is prescribed through an *EQUATION:
** theta_z(2) = u_x(10), and node 10 (no element) is moved 0.01 in x.
*NODE, NSET=NALL
1, 0., 0., 0.
2, 1., 0., 0.
10, 2., 0., 0.
*ELEMENT, TYPE=B31, ELSET=EB
1, 1, 2
*MATERIAL, NAME=M
*ELASTIC
210000., 0.3
*BEAM SECTION, ELSET=EB, MATERIAL=M, SECTION=RECT
0.1, 0.1
0., 0., 1.
*EQUATION
2
2, 6, 1., 10, 1, -1.
*BOUNDARY
1, 1, 6
10, 2, 3
*STEP
*STATIC
*BOUNDARY
10, 1, 1, 0.01
*NODE PRINT, NSET=NALL
U
*END STEP

Variants:

  • beam_bc.inp: the rotation given directly: no *EQUATION card, and 2, 6, 6, 0.01 instead of 10, 1, 1, 0.01 in the step.

  • beam_read.inp: a moment of 1 about z at the tip, and the equation turned round to read the rotation:

     *EQUATION
     2
    -2, 6, 1., 10, 1, -1.
    +10, 1, 1., 2, 6, -1.
     ...
    -*BOUNDARY
    -10, 1, 1, 0.01
    +*CLOAD
    +2, 6, 1.
    

The same happens on shells: on an S4 strip (2 x 1, clamped along x = 0), equations that prescribe the rotation about y of the two tip nodes through two moved extra nodes leave the strip at rest (shell_eq.inp: tip U3 = 0; the same rotation by *BOUNDARY, shell_bc.inp, gives -9.983058E-03). An equation u_x(10) = θ_y(3) next to that *BOUNDARY (shell_read.inp) gives U1(10) = 0 instead of 0.01.

shell_eq.inp, shell_bc.inp, shell_read.inp

shell_eq.inp:

** S4 strip 2 x 1 in z=0, clamped along x=0; rotation about y prescribed at x=2
*NODE, NSET=NALL
1, 0., 0., 0.
2, 1., 0., 0.
3, 2., 0., 0.
4, 0., 1., 0.
5, 1., 1., 0.
6, 2., 1., 0.
*ELEMENT, TYPE=S4, ELSET=ESH
1, 1, 2, 5, 4
2, 2, 3, 6, 5
*MATERIAL, NAME=M
*ELASTIC
210000., 0.3
*SHELL SECTION, ELSET=ESH, MATERIAL=M
0.05
*NSET, NSET=TIP
3, 6
*NODE, NSET=NDUM
10, 3., 0., 0.
11, 3., 1., 0.
*EQUATION
2
3, 5, 1., 10, 1, -1.
2
6, 5, 1., 11, 1, -1.
*BOUNDARY
NDUM, 2, 3
1, 1, 6
4, 1, 6
*STEP
*STATIC
*BOUNDARY
NDUM, 1, 1, 0.01
*NODE PRINT, NSET=NALL
U
*END STEP

shell_bc.inp: without the lines from *NODE, NSET=NDUM to 6, 5, 1., 11, 1, -1. and without NDUM, 2, 3; TIP, 5, 5, 0.01 instead of NDUM, 1, 1, 0.01.

shell_read.inp: shell_bc.inp plus

 3, 6
+*NODE, NSET=NDUM
+10, 3., 0., 0.
+*EQUATION
+2
+10, 1, 1., 3, 5, -1.
 *BOUNDARY
+NDUM, 2, 3
 1, 1, 6
 ...
+*NODE PRINT, NSET=NDUM
+U
 *NODE PRINT, NSET=NALL

How to run

ccx beam_eq
ccx beam_bc
ccx beam_read

Expected

An *ERROR (section 10.3.6), naming the node and the DOF. If such a term were taken into account instead, beam_eq would give the beam_bc result (a tip rotation of 0.01 with a free tip gives a constant moment, U2(2) = θ L / 2 = 5.000000E-03), and beam_read U1(10) = θ_z = M L / (E I) = 1 / 1.75 = 5.714E-01.

Actual

ccx 2.23 and master, exit 0, no warning:

deck node 2 node 10
beam_bc 1.273938E-18 5.000000E-03 -1.005117E-14 0 0 0
beam_eq 0.000000E+00 0.000000E+00 0.000000E+00 1.000000E-02 0 0
beam_read 1.647987E-17 2.857143E-01 -5.843590E-13 0.000000E+00 0 0

The tip in beam_read moves as the beam without the equation (M L² / (2 E I) = 0.2857143), so it does turn, but the equation sees 0.

Where it goes wrong

gen3dmpc.f (master) treats each term of an MPC at a node of 1D/2D elements. At a knot (rig(node).ne.0, lines 48-100), a DOF 4-6 term is moved to the knot’s rotation node (and a knot without rotation node stops with the *ERROR quoted above). Otherwise the term goes through the same code as a translation, with idir=nodempc(2,index1) = 4, 5 or 6. For a shell node (from line 142) it generates u(n1, idir) + u(n3, idir) - 2 u(n, idir) = 0 over two expanded nodes, for a beam node (from line 288) the sum of u(·, idir) over four expanded nodes minus 4 u(n, idir) = 0. The expanded nodes have no DOF 4-6 in any element, so these equations tie the user’s term to DOFs that no element uses: the rotation is disconnected. Nothing in gen3dnor.f / gen3delem.f makes such a node a knot.

For comparison, the same equations at a knot work: two S4 elements folded 90° along nodes 2-3 (a knot), rotation of the fold line about y set to 0.01 by *BOUNDARY, and u_x(10) = θ_y(2) gives U1(10) = 1.000000E-02.

Fix

In gen3dmpc.f, in the branch for a node that belongs to 1D/2D elements but has no knot (the else of if(rig(node).ne.0)), stop with an *ERROR if the term is on DOF 4, 5 or 6, in the same way as the knot branch does for rig(node)<0. And add the sentence of section 10.3.6 to section 7.56.

7. *BOUNDARY, OP=NEW stops with “*ERROR reading *BOUNDARY” in any model with a *KINEMATIC coupling and a *TRANSFORM, even an identity one on another node

Summary

Section 7.80 (*KINEMATIC) of the 2.23 manual: “The degrees of freedom in the reference node (1 up to 3 for translations, 4 up to 6 for rotations; they apply to the global system unless a *TRANSFORM card was defined for the reference node) can be constrained by a *BOUNDARY card.” Section 7.4 (*BOUNDARY) offers OP=NEW to remove previous BCs.

As soon as the model also contains a *TRANSFORM, wherever it is, the first *BOUNDARY, OP=NEW (in step 1 or later) stops ccx while it reads the input:

 *ERROR reading *BOUNDARY
 *ERROR in calinput: at least one fatal
        error message while reading the
        input deck: CalculiX stops.

The message names no node, set or line, and nothing in the card is wrong.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, 2 Nov 2026, built from source): the same stop.

Already reported or fixed?

Not reported: I found no matching GitHub issue (open or closed) or pull request in Dhondtguido/CalculiX (searched 5 Nov 2026). Not fixed: couplings.f lines 369-381 (2.23: 346-357) and boundarys.f lines 136-158 are the same on master. A build with CalculiX.c: decascade again after a step that left the MPCs undecascaded by sandervdbroek · Pull Request #252 · Dhondtguido/CalculiX · GitHub stops the same way.

Related, different: *TRANSFORM is ignored for rotations at shell knots and *KINEMATIC reference nodes; *EQUATION terms on DOF 5/6 of a transformed node are misread · Issue #312 · Dhondtguido/CalculiX · GitHub (forum *TRANSFORM is ignored for rotations at shell knots and *KINEMATIC reference nodes; *EQUATION terms on DOF 5/6 of a transformed node are misread), point 2, where a *TRANSFORM on a *KINEMATIC reference node is ignored for rotations (bounadd.f / forcadd.f reset itr). Two *KINEMATIC couplings on one REF NODE: the surfaces turn independently, and a moment on the reference node reaches only one, chosen by card order (exit 0) · Issue #281 · Dhondtguido/CalculiX · GitHub and *KINEMATIC coupling of one DOF without ORIENTATION: the unused reference rotation stops SPOOLES with exit 255 and no message; an identity ORIENTATION solves · Issue #290 · Dhondtguido/CalculiX · GitHub are other *KINEMATIC reports.

Minimal input

kinematic_transform_opnew.inp: one C3D8. Its top face is kinematically coupled (DOFs 1-3) to node 10, and node 1 of the held base has an identity *TRANSFORM. Step 2 repeats the base with OP=NEW.

** One C3D8, base held; top face coupled to node 10 (*KINEMATIC, DOFs 1-3).
** An identity *TRANSFORM on base node 1. Step 2 repeats the base with OP=NEW.
*NODE
1, 0, 0, 0
2, 1, 0, 0
3, 1, 1, 0
4, 0, 1, 0
5, 0, 0, 1
6, 1, 0, 1
7, 1, 1, 1
8, 0, 1, 1
10, 0.5, 0.5, 1
*ELEMENT, TYPE=C3D8, ELSET=E
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=BASE
1, 2, 3, 4
*NSET, NSET=N1
1
*NSET, NSET=TOPN
5, 6, 7, 8, 10
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*SOLID SECTION, ELSET=E, MATERIAL=M
*SURFACE, NAME=TOP
1, S2
*COUPLING, REF NODE=10, SURFACE=TOP, CONSTRAINT NAME=C
*KINEMATIC
1, 3
*TRANSFORM, NSET=N1
1, 0, 0, 0, 1, 0
*BOUNDARY
BASE, 1, 3
*STEP
*STATIC
*CLOAD
10, 1, 10.
*NODE PRINT, NSET=TOPN
U
*END STEP
*STEP
*STATIC
*BOUNDARY, OP=NEW
BASE, 1, 3
*NODE PRINT, NSET=TOPN
U
*END STEP

How to run

ccx kinematic_transform_opnew; then the same without the two *TRANSFORM lines.

Expected

The identity transform changes nothing, so both decks should run and print the same numbers.

Actual

  • With the *TRANSFORM: step 1 is solved, then reading step 2 stops with the message above (exit 201).
  • Without it: exit 0, and the reference node is at 10 4.333333E-02 1.601090E-18 8.234175E-19 after both steps.

It stops the same way (exit 201 on 2.23 and master) in each of these cases:

  • the *TRANSFORM (oblique 1, 1, 0, -1, 1, 0) is on the reference node 10, the case section 7.80 describes;
  • it is on a coupled node (7);
  • it is on a node that no element, BC or load uses;
  • *BOUNDARY, OP=NEW is in step 1 instead of step 2.

Without OP=NEW every variant runs.

Where it goes wrong

Line numbers are from master (537aa81).

couplings.f ties DOFs 4-6 of the reference node to the translations of a new rotation node with three ‘ROTTRACOUPLING’ MPCs (lines 356-390). Each MPC is entered in ikmpc under DOF k+3, but its first term is written as DOF k+4:

          idof=8*(irefnode-1)+k+3          ! line 370
          ...
          nodempc(2,mpcfree)=k+4           ! line 380

bounadd.f:64-68 and forcadd.f:52-56 look the MPC up under DOF 4-6, as registered, so this mismatch normally shows nowhere. On OP=NEW, if ntrans.gt.0, boundarys.f compacts the MPC list and finds each MPC again from its first term (lines 138-158):

                idof=8*(nodempc(1,index1)-1)+nodempc(2,index1)
                call nident(ikmpc,idof,nmpc,id)
                if(id.eq.0) then
                  write(*,*) '*ERROR reading *BOUNDARY'

For k = 1 and 2 this finds the next MPC’s entry (DOF 5, 6), so ilmpc would be wrong. For k = 3 there is no entry for DOF 7, and the run stops. Models without *TRANSFORM skip this block, which is why they run.

Possible fix

Write the first term as the DOF it is registered under, nodempc(2,mpcfree)=k+3 at couplings.f:380 (the comment above it says “the internal dofs for rotation are 4, 5 and 6”). In a test build of master with this change:

  • the deck above and all the variants run, and each prints what the same deck without OP=NEW prints on 2.23 (for the deck above: the numbers of the deck without *TRANSFORM);
  • the six decks of test/ with *KINEMATIC (coupling1, coupling1_set, coupling2, coupling3, cyl, hinge) give byte-identical .dat files.

8. NLGEOM: holding the axial position of a beam node that carries a moment makes the step diverge (“too many cutbacks”), even when the hold changes nothing

Summary

A B31 cantilever along x carries an end moment about z (step 1, NLGEOM; tip deflection 0.2385). Step 2 keeps the load and holds the tip’s current x position with *BOUNDARY, FIXED (3, 1, 1). The state at the end of step 1 already satisfies step 2, so step 2 should converge at once. ccx instead stops with *ERROR: too many cutbacks (exit 201). The first iteration of step 2 has a residual of 0.0148 in node 3, DOF 1, against an average force of 0.0021, and the residual is the same at every cutback, so it does not come from the load increment.

Equivalent inputs run:

  • the same step 2 without the hold, or holding y (3, 2, 2) instead of x: converged, tip unchanged (-1.91E-02, 0.2385);
  • the same deck with node 3 made a knot (a 0.01 long stub of another thickness at node 3; 2.23 manual section 6.2.33: a node leads to a knot if “the thickness is not the same in all participating elements”): converged, holding x included.

A plain *BOUNDARY with the step-1 value (3, 1, 1, -1.911543E-02) stops the same way as FIXED. A single NLGEOM step with the moment and 3, 1, 1 from the start also stops (with a 100 times smaller moment it runs). The same happens on a B32R cantilever and on an S4 strip (moment about y on the free edge, step 2 holding x at the moment nodes), and with a moment about y and a hold in x. A torque about the beam axis with the x-hold runs.

So the failing combination is: a node without a knot, a moment there (which ccx turns into a mean-rotation MPC, 2.23 manual sections 6.2.14, 6.2.33 and 10.3.8), and a translational SPC at the same node in a direction in which that mean-rotation MPC has terms (the x displacements of the expanded nodes, for a rotation about z of a beam along x).

A solid model built from the same ingredients by hand behaves alike: a C3D8I bar whose end face carries a user *MPC MEANROT with a moment on its rotation node, and an *EQUATION tying the mean x displacement of the end face to a dummy node that is left free (nothing is held). Whether the deck runs depends only on which end-face DOF is written first in the *EQUATION (i.e. which DOF becomes dependent): with one order both steps run, with another the second step (which changes nothing) stops with “too many cutbacks”, with a third the first step stops (deck available). Holding the dummy node’s x in step 2 makes the second step stop with the first order too.

It is not an ordinary convergence difficulty:

  • Step 2 applies no new load and no new displacement, so every cutback restarts from the same state (hence the same first residual); a smaller or fixed increment cannot help, and *STATIC, DIRECT with 0.01 stops the same way (“solution seems to diverge”).
  • With *CONTROLS, PARAMETERS=TIME INCREMENTATION / 40, 80, 90, 200, 100, 40, 0, 100, 0, 0 in step 2 the iteration runs 40 times per attempt: the largest correction to the displacements falls steadily from 9.06E-04 to 2.96E-09, while the largest residual settles at a fixed 0.008606 in node 3, DOF 1 (average force 0.0017). The Newton iteration converges to a state whose residual is not zero, and the step ends with “increment size smaller than minimum”.
  • The same deck with 10 elements instead of 2 stops the same way (residual fixed at 0.001904).
  • Holding x from the start in one NLGEOM step and ramping the moment in 200 fixed increments (*STATIC, DIRECT / 0.005, 1.) converges only up to 5.5 % of the moment.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, built on macOS arm64): the same numbers.

Already reported or fixed?

Not fixed on master (537aa81). I found no GitHub issue or pull request about this case, and no forum topic title that matches; the closest is #83 below.

Related:

Minimal input

beam_hold_x.inp:

** B31 cantilever along x (2 elements), clamped at node 1.
** Step 1 (NLGEOM): end moment about z at node 3.
** Step 2 (NLGEOM): same load; the current x position of node 3 is held.
*NODE, NSET=NALL
1, 0., 0., 0.
2, 1., 0., 0.
3, 2., 0., 0.
*ELEMENT, TYPE=B31, ELSET=E
1, 1, 2
2, 2, 3
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*BEAM SECTION, ELSET=E, MATERIAL=M, SECTION=RECT
0.1, 0.1
0., 0., -1.
*BOUNDARY
1, 1, 6
*STEP, NLGEOM
*STATIC
0.5, 1.
*CLOAD
3, 6, 0.001
*NODE PRINT, NSET=NALL
U
*END STEP
*STEP, NLGEOM
*STATIC
0.5, 1.
*BOUNDARY, FIXED
3, 1, 1
*NODE PRINT, NSET=NALL
U
*END STEP

Twins (one change each):

  • beam_hold_y.inp: 3, 2, 2 under *BOUNDARY, FIXED;
  • beam_no_hold.inp: without the *BOUNDARY, FIXED card;
  • beam_hold_x_value.inp: *BOUNDARY / 3, 1, 1, -1.911543E-02 instead of FIXED;
  • beam_hold_x_knot.inp: node 4, 2.01, 0., 0., element 3, 3, 4 (B31, ELSET=STUB) and *BEAM SECTION, ELSET=STUB, MATERIAL=M, SECTION=RECT / 0.1, 0.12 / 0., 0., -1., which makes node 3 a knot.

The same happens with a prescribed rotation instead of a moment (turned_strip.inp below). An S4 strip without loads is turned rigidly by 0.1 rad about the x axis through rotational SPCs on its edge x = 0 (DOF 4 = 0.1, DOF 5 = DOF 6 = 0), and the translations of that rigid turn are prescribed on edge node 6. The step stops with “*ERROR: increment size smaller than minimum” at 0.078 of the step (exit 201; 2.23 and master). With the same translational holds one node column inward (nodes 7 and 12 instead of 6 and 11), or with the edge nodes made knots (two B31 elements of modulus 1e-3 along the edge), it converges in 4 increments; with the knots it gives the exact rigid turn (free corner node 15 at (2.5E-13, -9.991669E-04, 1.996668E-02), against 0.2(cos 0.1 - 1) = -9.991669E-04 and 0.2 sin 0.1 = 1.996668E-02). Again it is not an ordinary convergence difficulty: 200 fixed increments of 0.005 stop at 0.07, 40 iterations per increment stop at 0.073, an 8 x 2 mesh stops at 0.092, and 0.01 rad fails as well (only 0.001 rad converges); the corrections fall to about 1e-11 while the largest residual stays at a fixed value in node 7, the neighbour of the held edge node.

turned_strip.inp
** S4 strip 1 x 0.2 (4 x 2 elements), t 0.01, E 1e5, no load. Its edge x = 0 (nodes 1, 6, 11)
** is turned rigidly by 0.1 rad about the x axis under NLGEOM: rotational SPCs 4 = 0.1,
** 5 = 6 = 0 on the edge, and the translations of that turn on edge node 6
** (0, 0.1(cos 0.1 - 1), 0.1 sin 0.1), plus u1 = 0 on edge node 11.
*NODE
1,0,0,0
2,0.25,0,0
3,0.5,0,0
4,0.75,0,0
5,1,0,0
6,0,0.1,0
7,0.25,0.1,0
8,0.5,0.1,0
9,0.75,0.1,0
10,1,0.1,0
11,0,0.2,0
12,0.25,0.2,0
13,0.5,0.2,0
14,0.75,0.2,0
15,1,0.2,0
*ELEMENT,TYPE=S4,ELSET=SH
1,1,2,7,6
2,2,3,8,7
3,3,4,9,8
4,4,5,10,9
5,6,7,12,11
6,7,8,13,12
7,8,9,14,13
8,9,10,15,14
*NSET,NSET=EDGE
1,6,11
*NSET,NSET=ALLN
1,2,3,4,5
6,7,8,9,10
11,12,13,14,15
*MATERIAL,NAME=M
*ELASTIC
1e5,0.3
*SHELL SECTION,ELSET=SH,MATERIAL=M
0.01
*STEP,NLGEOM,INC=200
*STATIC
0.25,1.,1e-5,0.25
*BOUNDARY
6,1,1,0
6,2,2,-0.000499583472197418
6,3,3,0.00998334166468282
11,1,1,0.
EDGE,4,4,0.1
EDGE,5,5,0.
EDGE,6,6,0.
*NODE PRINT,NSET=ALLN
U
*END STEP

How to run

ccx beam_hold_x, and the same for the twins.

Expected

Step 2 converges in the first increment and leaves node 3 where step 1 put it (-1.91E-02, 0.2385, 0), as the twins do.

Actual

Node 3 (u_x, u_y) at the end of each step; step 1 is the same in all decks except the knot twin:

deck step 1 step 2 exit
beam_hold_x -1.911543E-02, 2.384756E-01 *ERROR: too many cutbacks 201
beam_hold_x_value -1.911543E-02, 2.384756E-01 *ERROR: too many cutbacks 201
beam_hold_y -1.911543E-02, 2.384756E-01 -1.911546E-02, 2.384756E-01 0
beam_no_hold -1.911543E-02, 2.384756E-01 -1.911533E-02, 2.384748E-01 0
beam_hold_x_knot -1.856504E-02, 2.360167E-01 -1.856504E-02, 2.360168E-01 0

beam_hold_x.out, step 2, increment 1, attempt 1 (attempts 2 and later start with the same 0.014823):

 average force= 0.002072
 largest residual force= 0.014823 in node 3 and dof 1
 no convergence
 average force= 0.001490
 largest residual force= 0.004111 in node 3 and dof 1
 no convergence
 average force= 0.001878
 largest residual force= 0.011854 in node 3 and dof 1

Where it goes wrong

Not traced. What the source shows:

  • gen3dforc.f:681-735 makes a MEANROTBS MPC for the moment over the four expanded nodes of node 3 (for a beam along x and a rotation about z, its terms are the x displacements of the nodes offset in y); usermpc.f picks its dependent DOF among them, sparing the last regular node “so that it can be used for translational dofs”.
  • gen3dboun.f:1177 ff. makes the linear MPC u1+u2+u3+u4 = 4 u0 for the translational SPC, with the expanded nodes’ x displacements as terms.
  • Under NLGEOM the mean-rotation MPC is nonlinear (cascade.c:96-126), so a linear MPC whose terms include its dependent DOF puts nonlingeo.c on the icascade=2 path (re-decascading in every iteration, lines 2069-2091 and 2372-2378). The failing cases are those in which the two MPCs share DOFs at a nonzero rotation; holding y, holding x against a torque, or a tiny moment do not fail.

Workaround

Make the node a knot, e.g. with a short stub element of slightly different thickness (beam_hold_x_knot.inp); the stub adds a little stiffness.

9. T3D2 with NLGEOM: a stretched truss swung rigidly by prescribed displacements in the x-z plane gets a spurious twist and stops; the same swing in the x-y plane is exact

Summary

One T3D2 bar along x, node 1 pinned. Step 1 (NLGEOM) stretches it by prescribing u1 = 0.01 at node 2: axial stress 210.4414. Step 2 (NLGEOM) swings the bar rigidly by 0.1 rad, by prescribing the rotated position of node 2. A rigid motion must leave the stress unchanged in the rotated frame (axial 210.44 along the new axis, nothing else).

  • Swing in the x-y plane (about z): exact. Step 2 ends with sxx 208.3448, syy 2.099597, sxy 20.90423 (= 210.4414 cos², sin², sin cos of 0.1).
  • Swing in the x-z plane (about y): the step cuts back to 1/1024 of its size and then stops (*ERROR: increment size smaller than minimum, exit 201). The one converged increment (swing angle 9.8E-05 rad) prints shear stresses of ±2.28 in both xy and xz, with signs that change from integration point to integration point as in a twist of the bar about its own axis. The rigid swing would give sxz = 0.0206 and sxy = 0.

For a truss the section has no physical orientation, so the two swings are the same problem turned by 90 degrees about the bar axis. A B31 bar with a square section (which is expanded the same way, section 6.2.35: T3D2 “is similar to the B31 beam element except that it cannot sustain bending”) does the x-z swing exactly (sxx 208.3447, szz 2.099422, sxz 20.90508). The stress-free bar swung by 0.2 rad in either plane, and the stretched bar swung by a force instead of prescribed displacements, are also fine in both planes.

It is not an ordinary convergence difficulty:

  • The spurious shear is there from the first converged increment and grows with the swing angle, whatever the increment size. With step 2 started at an increment of 1.E-4 (*STATIC / 0.0001, 1., 1.e-9, 0.001), the first converged increment (swing 1.E-05 rad) already has shear stresses of ±0.2336 in xy and xz (the rigid swing gives sxz = 0.0021); the step then stops the same way at 6.0E-04 of the step. Fixed increments (*STATIC, DIRECT / 0.001, 1.) stop too (“solution seems to diverge”), and so does a swing in ten steps of 0.01 rad (in the first of them).
  • With *CONTROLS, PARAMETERS=TIME INCREMENTATION / 40, 80, 90, 200, 100, 40, 0, 100, 0, 0 the iteration of the second attempt runs 40 times: the largest correction to the displacements falls to 2.0E-06, while the largest residual settles at a fixed value of about 2448 in node 2, DOF 2 (average force 286). The Newton iteration converges to a state whose residual is not zero.

The 2.23 manual, section 6.8.1 (Linear elasticity): “A linear elastic material, as implemented in CalculiX simulates a linear elastic relationship between the Lagrange strain and the Piola-Kirchhoff stress of the second kind (PK2).” Both are unchanged by a rigid rotation.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, built on macOS arm64): the same numbers.

Already reported or fixed?

Not fixed on master (537aa81). I found no GitHub issue or pull request about it.

Related:

  • T3D3 too soft · Issue #30 · Dhondtguido/CalculiX · GitHub (T3D3 too soft): a different element and a linear problem.
  • NL3: Hardening with two variables under load control. T2D2 Fail (Dec 2024, no developer answer): a T2D2 truss benchmark under NLGEOM stops with “*ERROR in umpc_mean_rot: no mean rotation MPC can be generated” once a member passes the vertical, while the B31 model runs. A different symptom of the same twist-suppression MPC under large rotation.
  • Rigid-body constraint convergance problems (post 25, 2022): the advice not to couple nonlinear constraints (e.g. *RIGID BODY or *COUPLING on expanded shells), “since it will not always work”. Here the only nonlinear constraint is the MPC that ccx generates for the truss itself; the other is a plain *BOUNDARY on the truss node.
  • (separate report) a beam node with a moment and a translational SPC under NLGEOM: the step diverges. There, too, a MEANROTBS MPC and a translational constraint act on the same expanded nodes; possibly the same mechanism.

Minimal input

truss_xz.inp:

** One T3D2 bar along x, node 1 pinned. Step 1 stretches it (u1 = 0.01 at node 2);
** step 2 swings it rigidly by 0.1 rad in the x-z plane (node 2 prescribed).
*NODE, NSET=NALL
1, 0., 0., 0.
2, 10., 0., 0.
*ELEMENT, TYPE=T3D2, ELSET=E
1, 1, 2
*MATERIAL, NAME=STEEL
*ELASTIC
210000., 0.3
*SOLID SECTION, ELSET=E, MATERIAL=STEEL
1.
*BOUNDARY
1, 1, 3
*STEP, NLGEOM
*STATIC
*BOUNDARY
2, 1, 1, 0.01
2, 2, 3, 0.
*EL PRINT, ELSET=E
S
*END STEP
*STEP, NLGEOM
*STATIC
*BOUNDARY
2, 1, 1, -0.0400083
2, 2, 2, 0.0000000
2, 3, 3, 0.9993325
*EL PRINT, ELSET=E
S
*END STEP

truss_xy.inp: the same with step 2’s values for DOF 2 and 3 swapped (2, 2, 2, 0.9993325 and 2, 3, 3, 0.0000000).

beam_xz.inp: truss_xz.inp with *ELEMENT, TYPE=B31 and *BEAM SECTION, ELSET=E, MATERIAL=STEEL, SECTION=RECT / 1., 1. / 0., 0., 1. instead of the *SOLID SECTION.

How to run

ccx truss_xz
ccx truss_xy
ccx beam_xz

Expected

Step 2 runs, and at its end the stress is the step-1 stress turned with the bar: sxx = 208.34, szz = 2.10, sxz = 20.90 for truss_xz, all other components 0 (sxy, syy for truss_xy).

Actual

truss_xz: exit 201, *ERROR: increment size smaller than minimum. The last printed stresses are those of the converged increment at time 1.000977 (1/1024 of the step):

         1   1  2.094113E+02 -9.381123E-04 -4.022259E-04  2.281777E+00 -2.279452E+00  8.714553E-04
         1   2  2.094102E+02 -3.508664E-03 -1.503890E-03  2.281777E+00 -2.279452E+00  3.601866E-03
         1   3  2.094113E+02 -9.378470E-04 -4.017514E-04  2.279478E+00  2.281678E+00  3.959629E-04
         1   4  2.094102E+02 -3.501574E-03 -1.500498E-03  2.279478E+00  2.281678E+00  1.127039E-03
         1   5  2.094102E+02 -3.499724E-03 -1.499699E-03 -2.279078E+00 -2.281678E+00  1.127607E-03
         1   6  2.094061E+02 -1.306795E-02 -5.600366E-03 -2.279078E+00 -2.281678E+00  3.856064E-03
         1   7  2.094102E+02 -3.498905E-03 -1.499710E-03 -2.281578E+00  2.279452E+00  1.394943E-04
         1   8  2.094061E+02 -1.306030E-02 -5.597459E-03 -2.281578E+00  2.279452E+00  8.686168E-04

(columns sxx, syy, szz, sxy, sxz, syz; expected at that time: sxx 210.44, sxz 0.0206, the rest about 0; sxx is also 1 MPa low).

truss_xy: exit 0; step 2, integration point 1: 2.083448E+02, 2.099597E+00, 2.929085E-04, 2.090423E+01, 8.9E-13, 2.3E-12.

beam_xz: exit 0; step 2, integration point 1: 2.083447E+02, 8.783654E-04, 2.099422E+00, -3.124375E-04, 2.090508E+01, -3.795587E-04.

Where it goes wrong

Not traced. Each T3D2 node is joined to its four expanded nodes by the linear hinge MPCs u1+u2+u3+u4 = 4 u0 and by a MEANROTBS MPC that keeps the rotation about the initial bar axis at 0 (gen3dtruss.f:48-122 and 125-193, master 537aa81). In truss_xz node 2’s prescribed displacement acts through the hinge MPCs on the same expanded DOFs that the twist MPC constrains, and the twist pattern of the shear stresses suggests that this MPC is not satisfied in the nonlinear iteration. Why the x-y swing is unaffected (the four expanded nodes form a square in y-z) I could not determine.

Workaround

Drive the truss through forces rather than prescribed displacements where possible. B31 elements do not show it, but they add bending stiffness.

10. *SHELL SECTION, COMPOSITE with 3 or more layers on shell nodes that become knots: “*ERROR in gen3dnor: increase nk_” or “*ERROR in knotmpc: increase nk_” (exit 201)

Summary

A composite S8R shell (*SHELL SECTION, COMPOSITE, 2.23 manual sections 6.2.14 and 7.118) whose nodes become knots (here: every node lies on a 90 degree fold, section 6.2.14 “a node leads to a knot if … the direction of the local normals in the elements participating in the node differ beyond a given amount”) stops in the input phase when the section has 3 or more layers:

  • 3, 5 and 8 layers: *ERROR in gen3dnor: increase nk_, exit 201;
  • 4 layers: *ERROR in knotmpc: increase nk_, exit 201;
  • 1 and 2 layers, and a plain (non-composite) section: the job runs.

nk_ is an internal array size that ccx computes itself in allocation.f; the user cannot change it. The model is valid, and all runs that finish give the same answer (all layers have the same material, so the layer count does not change the stiffness): node 13 moves u_z = -1.235464E-02 with the plain section, with 2 layers, and with 3 layers once the stop is avoided. Adding one unrelated, fully held S8R element elsewhere in the deck is enough to avoid the stop. So the stop is a sizing problem, not a modelling error.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, built on macOS arm64): the same messages and numbers.

Already reported or fixed?

Not fixed: allocation.f and the composite part of gen3dnor.f are unchanged on master (537aa81).

Related:

Minimal input

composite_box.inp:

** Closed box: six S8R faces of a unit cube, so every node lies on a fold
** and becomes a knot. Composite section with three equal layers of one
** material (total thickness 0.1). Four bottom corners pinned, one force on top.
*NODE, NSET=NALL
1, 0, 0, 0
2, 0, 1, 0
3, 1, 1, 0
4, 1, 0, 0
5, 0.0, 0.5, 0.0
6, 0.5, 1.0, 0.0
7, 1.0, 0.5, 0.0
8, 0.5, 0.0, 0.0
9, 0, 0, 1
10, 1, 0, 1
11, 1, 1, 1
12, 0, 1, 1
13, 0.5, 0.0, 1.0
14, 1.0, 0.5, 1.0
15, 0.5, 1.0, 1.0
16, 0.0, 0.5, 1.0
17, 1.0, 0.0, 0.5
18, 0.0, 0.0, 0.5
19, 0.0, 1.0, 0.5
20, 1.0, 1.0, 0.5
*ELEMENT, TYPE=S8R, ELSET=EALL
1, 1, 2, 3, 4, 5, 6, 7, 8
2, 9, 10, 11, 12, 13, 14, 15, 16
3, 1, 4, 10, 9, 8, 17, 13, 18
4, 2, 12, 11, 3, 19, 15, 20, 6
5, 1, 9, 12, 2, 18, 16, 19, 5
6, 4, 3, 11, 10, 7, 20, 14, 17
*MATERIAL, NAME=M
*ELASTIC
1000., 0.3
*SHELL SECTION, ELSET=EALL, COMPOSITE
0.0333333, , M
0.0333333, , M
0.0333333, , M
*BOUNDARY
1, 1, 3
4, 1, 3
2, 1, 3
3, 1, 3
*STEP
*STATIC
*CLOAD
13, 3, -1.
*NODE PRINT, NSET=NALL
U
*END STEP

Variants (same deck otherwise):

  • composite_box_2layers.inp: two layers 0.05, , M;
  • composite_box_plain.inp: *SHELL SECTION, ELSET=EALL, MATERIAL=M / 0.1 instead of the composite section;
  • composite_box_extra.inp: one more S8R element (element 7, nodes 101-108 in the plane z = 0 at x = 5 to 6, all eight nodes held in DOF 1-6, plain section 0.1), not connected to the box.

How to run

ccx composite_box
ccx composite_box_2layers
ccx composite_box_plain
ccx composite_box_extra

Expected

The same result for all four decks (the layers are of one material and add up to the same thickness, and the extra element is not connected), or, if a composite cannot be used at knots, an *ERROR that says so.

Actual

deck exit node 13 (u_x, u_y, u_z)
composite_box (3 layers) 201, *ERROR in gen3dnor: increase nk_ -
composite_box with 4 layers 201, *ERROR in knotmpc: increase nk_ -
composite_box with 5 or 8 layers 201, *ERROR in gen3dnor: increase nk_ -
composite_box_2layers 0 2.470986E-17, -2.259232E-03, -1.235464E-02
composite_box_plain 0 -1.042655E-16, -2.259232E-03, -1.235464E-02
composite_box_extra (3 layers) 0 2.308245E-16, -2.259234E-03, -1.235465E-02

With extra elements, 4, 5 and 8 layers also run and give u_z = -1.235464E-02 (2, 4 and 8 extra elements). The .12d file reports a knot in every node.

Where it goes wrong

Line numbers are master 537aa81 (2.23 in brackets).

  • gen3dnor.f:434-447 [432-445] (“extra nodes for composite shells”): for every expansion of a node of a composite element, 3 extra nodes per layer are created (do l=1,mi(3) … nk=nk+1), in addition to the 3 regular expanded nodes (lines 395-432). At a knot, each group of elements with its own normal gets its own expansion (on the box, every one of the 48 element nodes), so a composite S8R element can need up to 8 x 3 x nlayer extra nodes.
  • allocation.f:2183 [2155] reserves nk_=nk_+20*nlayer*meminset(js) for a composite section (comment: “conservative upper limit”), i.e. 20 nodes per layer and element.
  • allocation.f:2716 and 2734 [2688, 2706] reserve 3 expanded nodes per element node, plus one rotational and one expansion node per knot and one node per expanded knot node for knotmpc.f (line 176).

So on a mesh where most element nodes are knots, the composite estimate (20 per layer and element) is below what gen3dnor.f creates (up to 24 per layer and element), and the slack from the other estimates covers the difference only for 1 or 2 layers.

Fix

Not built or tested here. In the composite branch of allocation.f, reserve 24nlayer (8 nodes x 3 per layer) instead of 20nlayer per element. That is still an upper bound and grows only linearly, unlike the factor 300 of PR 38.

Workaround: one extra unconnected, fully held element per few composite elements (it raises the estimate), or at most 2 layers at knots.

11. *SPRING accepts any DOF for SPRING1 / SPRING2: a rotational spring (DOF 4-6) has no stiffness and gives no message, and xn(idof) is written outside xn(3)

Summary

Sections 6.2.40 / 6.2.41 (SPRING1, SPRING2) of the 2.23 manual define these springs as “3-dimensional” springs acting in “the direction n … by specifying the appropriate degree of freedom”, with the force F = K (u·n) n, u being “the displacement in the spring node”. So the DOF must be a translation, 1 to 3.

springs.f does not check the DOF on the line below *SPRING. With DOF 4, 5, 6 (or 7) ccx 2.23 and current master run without a message, and the spring has no stiffness: a SPRING1 of k = 1.e6 on DOF 6 of a B31 cantilever tip leaves the tip exactly as it is without the spring. springstiff_n2f.f and springforc_n2f.f then set xn(idof)=1.d0 with xn declared xn(3), i.e. they write outside the array (with ORIENTATION they read a(i,idof) of a(3,3) instead).

A user who expects a rotational spring (DOF 4-6 are the rotations of beam and shell nodes elsewhere in the manual) gets a model without it and no hint. Users have run into this before: in Torsional Spring - SPRING2? (Dec 2021 - Jan 2022) a SPRING1 / SPRING2 on DOF 4-6 gave “all zeros”, and a note in the manual that springs act on DOFs 1 to 3 only was asked for; there was no answer from the developer, and the 2.23 manual has no such note. Master’s commit 00fc777 (“created some extra input data checks”) added DOF range checks to *BOUNDARY, *EQUATION and *INITIAL CONDITIONS; the *SPRING DOF line has none.

Version

ccx 2.23 (macOS arm64) and current master (537aa81, 2 Nov 2026, built from source): the same numbers.

Already reported or fixed?

Not reported as a missing check: I found no matching GitHub issue (open or closed) (searched 3 Nov 2026). On the forum, Torsional Spring - SPRING2? (“Torsional Spring - SPRING2?”) found that springs on DOF 4-6 do nothing and asked for a documentation note; it did not mention the missing check or the out-of-bounds write, and nothing came of it. Pull request springs: fix rotational spring behavior (SPRING2) by sflabbe · Pull Request #142 · Dhondtguido/CalculiX · GitHub (“springs: fix rotational spring behavior (SPRING2)”, no description, closed unmerged on the day it was opened) added a check in springs.f that still allowed DOFs 1 to 6. Not fixed: springs.f, springstiff_n2f.f and springforc_n2f.f have no such check on master (537aa81).

Minimal input

spring1_dof6_beam.inp:

** B31 cantilever (L=1, 0.1 x 0.1, E=210000), clamped at node 1; moment 1 about z
** at the tip (node 2) and a SPRING1 on DOF 6 of the tip with k = 1.e6
*NODE, NSET=NALL
1, 0., 0., 0.
2, 1., 0., 0.
*ELEMENT, TYPE=B31, ELSET=EB
1, 1, 2
*ELEMENT, TYPE=SPRING1, ELSET=ES
2, 2
*MATERIAL, NAME=M
*ELASTIC
210000., 0.3
*BEAM SECTION, ELSET=EB, MATERIAL=M, SECTION=RECT
0.1, 0.1
0., 0., 1.
*SPRING, ELSET=ES
6
1.e6
*BOUNDARY
1, 1, 6
*STEP
*STATIC
*CLOAD
2, 6, 1.
*NODE PRINT, NSET=NALL
U
*END STEP

Variants:

  • beam_nospring.inp: without the SPRING1 element and its *SPRING card.
  • beam_spring_dof2.inp: 2 instead of 6 below *SPRING.
  • beam_spring_dof7.inp: 7 instead of 6.
  • spring2_dof6_beam.inp: a SPRING2 (6, 6) from node 2 to a held node 3 at (1, 0, 0) instead of the SPRING1.

How to run

ccx spring1_dof6_beam
ccx beam_nospring
ccx beam_spring_dof2

Expected

An *ERROR (or at least a *WARNING) that SPRING1 / SPRING2 act on DOFs 1 to 3 only, naming the element set.

Actual

Node 2, ccx 2.23 and master, exit 0, no warning:

deck node 2 U2
spring1_dof6_beam (SPRING1, DOF 6, k = 1.e6) 2.857143E-01
beam_nospring 2.857143E-01
beam_spring_dof7 2.857143E-01
spring2_dof6_beam 2.857143E-01
beam_spring_dof2 (the spring on DOF 2) 1.982802E-06

2.857143E-01 is M L² / (2 E I) = 1 / 3.5 for the beam alone: the spring on DOF 6 or 7 does nothing.

Where it goes wrong

  • springs.f (master lines 151-168 and 245-262) stores the DOF(s) as read in elcon(3,1,nmat) / elcon(4,1,nmat) without a range check.
  • springstiff_n2f.f: idof=nint(elcon(3,1,imat)) and then xn(idof)=1.d0 (line 176) for SPRING1, xn1(idof1)=1.d0 / xn2(idof2)=1.d0 (lines 236-237) for SPRING2, with xn(3), xn1(3), xn2(3) (lines 39 and 51). With ORIENTATION: xn(i)=a(i,idof) (line 180) with a(3,3). springforc_n2f.f does the same (lines 141, 145, 181-182, 186, 190).

For DOF 4-6 the three components of xn that are used stay 0, so the stiffness and the force are 0, and one value is written outside xn.

Fix

In springs.f, after reading the DOF line(s) of a SPRING1 / SPRING2 card, stop with an *ERROR if a DOF is outside 1 to 3 (a range check like the ones 00fc777 added to *BOUNDARY / *EQUATION, with 3 as the upper limit), and say in sections 6.2.40 / 6.2.41 / 7.122 that the DOF must be 1, 2 or 3, as asked in t/889. If rotational springs are wanted, that is a feature request, not this report.

12. *CONTACT PAIR cards of different TYPEs are not rejected: the last card’s TYPE is applied to every pair, or ccx stops with a misleading “element slave surface … does not exist”

Summary

The 2.23 manual, section 7.22 (*CONTACT PAIR), forbids mixing contact types in one deck, but ccx does not check it. contactpairs.f keeps a single TYPE flag (mortar), so the last *CONTACT PAIR card’s TYPE silently applies to every pair. With a NODE TO SURFACE card followed by a SURFACE TO SURFACE card, ccx stops with “*ERROR in allocont: element slave surface SA does not exist” (exit 201), although surface SA exists and the first card is valid on its own. In the other order the run ends with exit 0 and no message, and the SURFACE TO SURFACE pair is run as node-to-surface: the .out file is identical to the deck with two NODE TO SURFACE cards (“Number of contact spring elements=8”, against 56 with two SURFACE TO SURFACE cards). This is a request for an input check.

Version

ccx 2.23 (macOS arm64) and current master (537aa81): the same output.

Already reported or fixed?

I found no GitHub issue or pull request about mixed contact types or this allocont message, and no matching forum title. contactpairs.f and allocont.f are unchanged on master.

Minimal input

mix1.inp: two separate stacks of two cubes, one contact pair each, one NODE TO SURFACE and one SURFACE TO SURFACE.

** Two separate stacks of two unit cubes (E 1000, nu 0): A at x = 0-1, B at x = 3-4.
** In each stack the upper cube is pushed 0.01 onto the lower one (all nodes held in x, y).
** Stack A: one *CONTACT PAIR with TYPE=NODE TO SURFACE; stack B: one with TYPE=SURFACE TO SURFACE.
*NODE,NSET=NALL
1,0.,0.,0.
2,1.,0.,0.
3,1.,1.,0.
4,0.,1.,0.
5,0.,0.,1.
6,1.,0.,1.
7,1.,1.,1.
8,0.,1.,1.
9,0.,0.,1.
10,1.,0.,1.
11,1.,1.,1.
12,0.,1.,1.
13,0.,0.,2.
14,1.,0.,2.
15,1.,1.,2.
16,0.,1.,2.
17,3.,0.,0.
18,4.,0.,0.
19,4.,1.,0.
20,3.,1.,0.
21,3.,0.,1.
22,4.,0.,1.
23,4.,1.,1.
24,3.,1.,1.
25,3.,0.,1.
26,4.,0.,1.
27,4.,1.,1.
28,3.,1.,1.
29,3.,0.,2.
30,4.,0.,2.
31,4.,1.,2.
32,3.,1.,2.
*ELEMENT,TYPE=C3D8,ELSET=EALL
1,1,2,3,4,5,6,7,8
2,9,10,11,12,13,14,15,16
3,17,18,19,20,21,22,23,24
4,25,26,27,28,29,30,31,32
*ELSET,ELSET=LA
1
*ELSET,ELSET=UA
2
*ELSET,ELSET=LB
3
*ELSET,ELSET=UB
4
*NSET,NSET=BOT
1,2,3,4,17,18,19,20
*NSET,NSET=TOPA
13,14,15,16
*NSET,NSET=TOPB
29,30,31,32
*MATERIAL,NAME=M
*ELASTIC
1000.,0.
*SOLID SECTION,ELSET=EALL,MATERIAL=M
*SURFACE,NAME=SA
UA,S1
*SURFACE,NAME=MA
LA,S2
*SURFACE,NAME=SB
UB,S1
*SURFACE,NAME=MB
LB,S2
*SURFACE INTERACTION,NAME=SI
*SURFACE BEHAVIOR,PRESSURE-OVERCLOSURE=LINEAR
1.e6,1.e-3
*CONTACT PAIR,INTERACTION=SI,TYPE=NODE TO SURFACE
SA,MA
*CONTACT PAIR,INTERACTION=SI,TYPE=SURFACE TO SURFACE
SB,MB
*BOUNDARY
BOT,1,3
NALL,1,2
*STEP
*STATIC
0.25,1.
*BOUNDARY
TOPA,3,3,-0.01
TOPB,3,3,-0.01
*NODE PRINT,NSET=TOPA,TOTALS=ONLY
RF
*NODE PRINT,NSET=TOPB,TOTALS=ONLY
RF
*END STEP

Variants:

  • mix2: the same stacks, but the first card is TYPE=SURFACE TO SURFACE (SA,MA) and the last TYPE=NODE TO SURFACE (SB,MB).
  • n2s / s2s: both cards NODE TO SURFACE / both SURFACE TO SURFACE.

Expected

Either an *ERROR at the second *CONTACT PAIR card saying that contact types must not be mixed (section 7.22), or each pair handled with its own TYPE.

Actual

ccx 2.23 and master:

deck outcome force on TOPA / TOPB .out
n2s exit 0 -4.997501 / -4.997501 “Number of contact spring elements=8”
s2s exit 0 -4.997501 / -4.997501 “Number of contact spring elements=56”
mix1 (N2S, then S2S) exit 201: “*ERROR in allocont: element slave surface SA does not exist” -
mix2 (S2S, then N2S) exit 0, no message -4.997501 / -4.997501 identical to n2s (“… elements=8”)

So in mix2 the SURFACE TO SURFACE pair of stack A is silently run as node-to-surface contact. In these cubes the two methods give the same force, so here only the method changes. In mix1 the message names a surface that the deck does define.

Why this is a bug

The 2.23 manual, section 7.22: “Notice that although several *CONTACT PAIR cards can be used within one and the same input deck, all must be of the same type. It is not allowed to mix NODE TO SURFACE, SURFACE TO SURFACE MORTAR and MASSLESS contact within one and the same input deck.” The input is invalid, but ccx neither rejects it nor says what it does with it: it either applies one card’s TYPE to the other card’s pair without a message, or stops with a message that points to the wrong cause.

Where it goes wrong

src/contactpairs.f (master) sets mortar from each card’s TYPE (lines 111-118) and returns it to calinput.f as one value for the whole deck, so the last card wins. The slave surface name of each card is stored with the suffix of that card’s own TYPE (lines 222-237: T for face-to-face, M for mortar, S otherwise). allocont.f then handles every pair according to the global mortar. For the NODE TO SURFACE pair of mix1, with mortar=1, the lookup of its slave set fails and lines 182-189 stop with “element slave surface … does not exist”.

Fix

In contactpairs.f, remember the TYPE of the first *CONTACT PAIR card and stop with an *ERROR naming both types when a later card has a different one.

@Sandervdb All 12 confirmed using the official ccx 2.23 build on Windows and need GitHub tickets.

2 Likes

Thanks for confirming!

I have opened a GitHub issue for each item:

  1. *BOUNDARY, OP=NEW drops the *EQUATIONs and *TIEs at a *TRANSFORM node: #332
  2. A new *BOUNDARY on a *TRANSFORM node’s local translation starts from its global displacement: #333
  3. *HEAT TRANSFER with *FREQUENCY or *BUCKLE but no *STATIC step is set up as heat-only: #334
  4. *SPRING, NONLINEAR without NLGEOM is solved with the initial slope: #335
  5. Nonlinear spring energy (ELSE) with a table that starts at a negative elongation: #336
  6. *EQUATION on DOF 4-6 of a beam or shell node without a knot: #337
  7. *BOUNDARY, OP=NEW stops in a model with a *KINEMATIC coupling and a *TRANSFORM: #338
  8. NLGEOM: an axial hold at a beam node that carries a moment makes the step diverge: #339
  9. T3D2 with NLGEOM: a rigid swing in the x-z plane gets a spurious twist: #340
  10. *SHELL SECTION, COMPOSITE with 3 or more layers at knots: “increase nk_”: #341
  11. *SPRING accepts any DOF for SPRING1 / SPRING2: #342
  12. *CONTACT PAIR cards of different TYPEs are not rejected: #343

Four more went straight to GitHub because they are crashes or a documentation request: *ORIENTATION axis not checked #328, user element types #329, *SUBMODEL without INPUT= #330, and finite rotations at shell nodes (documentation) #331.

4 Likes