*DEFORMATION PLASTICITY in a *FREQUENCY step: ccx stops after the eigenvalues with "negative eigenvalue of the Cauchy-Green tensor", depending on the units

Summary

A *FREQUENCY step on a model with a *DEFORMATION PLASTICITY material prints the eigenvalues and then stops:

 *ERROR in umat_abaqusnl: negative eigenvalue
          of the Cauchy-Green tensor;

Exit status 201. No load acts on the model. The .frd gets no mode shapes.

Whether ccx stops depends on the unit system. Test: a 100 mm steel cube (one C3D8), bottom face held, no load. In m, kg, s it stops. The same cube in mm, t, s runs to the end. Both print the same two eigenvalues (6547.081 Hz). With *ELASTIC (same E, nu) instead of *DEFORMATION PLASTICITY both unit systems run and give the same frequencies.

The stop comes from the stress recovery of each mode. arpack.c passes the mass-normalized eigenvector to results() as a displacement, with linear strain switched on (“for the frequency analysis linear strain and elastic properties are used”). mechmodel.f still sends deformation plasticity to umat_abaqusnl_total, which treats the strain as a Lagrangian strain and stops when a principal value is below -0.5. The size of a mass-normalized mode depends on the mass unit: in kg it is sqrt(1000) = 31.6 times larger (relative to the model) than in t. That is why the unit system decides.

Version

ccx 2.23 (macOS arm64). Source: master 9ba5d76 (16 Oct 2026).

Already reported or fixed?

Not reported: I found no matching GitHub issue (open or closed) or pull request in Dhondtguido/CalculiX, and no calculix.discourse.group topic (searched 21 Oct 2026). Not fixed: mechmodel.f, calctotstrain.f, umat_abaqusnl_total.f and the mode loop of arpack.c are unchanged in this respect on master (9ba5d76).

Related:

Minimal input

dp_freq_si.inp:

** A 100 mm steel cube (one C3D8) in m, kg, s, bottom face held, no load.
** Ramberg-Osgood material, *FREQUENCY step for 2 modes.
*NODE
1, 0., 0., 0.
2, 0.1, 0., 0.
3, 0.1, 0.1, 0.
4, 0., 0.1, 0.
5, 0., 0., 0.1
6, 0.1, 0., 0.1
7, 0.1, 0.1, 0.1
8, 0., 0.1, 0.1
*ELEMENT, TYPE=C3D8, ELSET=EALL
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=BOT
1, 2, 3, 4
*MATERIAL, NAME=M
*DEFORMATION PLASTICITY
2.1E11, 0.3, 2.5E8, 10., 0.3
*DENSITY
7800.
*SOLID SECTION, ELSET=EALL, MATERIAL=M
*BOUNDARY
BOT, 1, 3
*STEP
*FREQUENCY
2
*END STEP

dp_freq_mm.inp is the same cube in mm, t, s (N, MPa): every coordinate 0.1 becomes 100., and the material lines become:

*DEFORMATION PLASTICITY
210000., 0.3, 250., 10., 0.3
*DENSITY
7.8E-9

el_freq_si.inp is dp_freq_si.inp with the material lines replaced by:

*ELASTIC
2.1E11, 0.3

How to run

ccx dp_freq_si
ccx dp_freq_mm
ccx el_freq_si

Expected

The step runs to the end and writes the two mode shapes, as dp_freq_mm.inp and el_freq_si.inp do. The frequencies are those of the elastic cube, 6.547081E+03 Hz for modes 1 and 2: arpack.c says the frequency analysis uses “linear strain and elastic properties”, and the eigenvalues printed before the stop agree with the *ELASTIC twin to all digits. The 2.23 manual (sections 6.9.2 and 7.63) does not exclude any material from a frequency step. A change of units must not change the outcome.

Actual

deck exit eigenvalues printed message .frd
dp_freq_si (m, kg, s) 201 modes 1, 2: 6.547081E+03 Hz negative eigenvalue of the Cauchy-Green tensor 7 bytes, no modes
dp_freq_mm (mm, t, s) 0 modes 1, 2: 6.547081E+03 Hz none 1408 bytes, 2 modes
el_freq_si (m, kg, s) 0 modes 1, 2: 6.547081E+03 Hz none 1408 bytes, 2 modes

The mode amplitude explains it. Adding *NODE PRINT U and *EL PRINT E to dp_freq_mm.inp shows that the mass-normalized mode moves the top nodes by up to 17.8 mm (17.8 % of the cube) with strains up to 0.0696. In m, kg, s the same mode is 31.6 times larger relative to the cube, so the strains reach about 2.2. A 1 mm cube in mm, t, s (dp_freq_mm.inp with every coordinate 100. changed to 1.) stops as well, also when this step comes first: *STEP, NLGEOM / *STATIC / *CLOAD / 8, 3, -1. / *END STEP (a force of 1 N down on one top corner, which converges). The frequency step after it prints its eigenvalues and then stops with the same message (exit 201), with *STEP and with *STEP, PERTURBATION on the frequency step alike.

A breakpoint on exit gives umat_abaqusnl_total ← mechmodel ← resultsmech ← resultsmechmt in the worker thread and results ← arpack ← main in the main thread.

Where it goes wrong

arpack.c sets linear strain for the frequency analysis (lines 491-494):

  /* for the frequency analysis linear strain and elastic properties
     are used */

  iperturb[1]=0;

After the eigenvalues, the mode loop (line 1046) calls results() for every mode with the eigenvector &z[lint] as displacement (line 1154 when iperturb[0]!=0; *DEFORMATION PLASTICITY turns NLGEOM on). This happens whether or not stresses are requested; the deck above requests nothing.

With iperturb(2)=0, calctotstrain.f computes a linear strain (the Lagrangian terms at lines 40-60 are skipped). mechmodel.f then branches on the material. The other material laws that use umat_abaqusnl_total under NLGEOM switch to a small-strain routine when iperturb(2)=0: Mohr-Coulomb (kode -53, lines 96-108) and orthotropic plasticity (kode -54, lines 109-123). For Mohr-Coulomb:

        elseif(kode.eq.-53) then
          mattyp=3
          if(iperturb(2).eq.0) then
            call mohrcoulomb(...)
          else
            call umat_abaqusnl_total(...)
          endif

*PLASTIC (kode -51/-52, lines 82-95) likewise chooses between incplas and incplas_lin. Deformation plasticity (kode -50, lines 75-81) is the only law that goes to umat_abaqusnl_total unconditionally. (Hyperelastic materials go to rubber.f and user materials to umat_main whatever iperturb(2) is.) That routine takes the strain as a Lagrangian strain E, forms C = 2E + I and stops if a principal value of E is below -0.5 (umat_abaqusnl_total.f line 133):

        if(w(i).lt.-0.5d0) then
          write(*,*) '*ERROR in umat_abaqusnl: negative eigenvalue'
          write(*,*) '         of the Cauchy-Green tensor;'
          call exit(201)

A Lagrangian strain can never fail this test; a linear strain of size 2 can.

Fix

Not built or tested here. Two options:

  • In mechmodel.f, for kode -50 and iperturb(2).eq.0, use a small-strain evaluation, as kode -53 and -54 do: at least the elastic part of the law (E and nu are the first two constants of the card), as arpack.c’s comment intends.
  • Or skip the material evaluation in the per-mode results() call for this material when no stresses or strains are requested.

Workaround: run the frequency step with an *ELASTIC material with the same E and nu. Without a preload this gives the same eigenvalues (6.547081E+03 Hz in the test).

Confirmed using official build of ccx 2.23 on Windows, needs a GitHub ticket.

dp_freq_si:

 Calculating the eigenvalues and the eigenmodes

    Time to solve                         8.399487e-04 s
    Time for refinement                   1.926899e-03 s
    Time to solve                         6.859303e-04 s
    Time for refinement                   1.595974e-03 s
    Time to solve                         7.140636e-04 s
    Time for refinement                   1.947880e-03 s
    Time to solve                         1.281023e-03 s
    Time for refinement                   1.878023e-03 s
    Time to solve                         8.549690e-04 s
    Time for refinement                   2.151966e-03 s
    Time to solve                         7.319450e-04 s
    Time for refinement                   1.218081e-03 s
    Time to solve                         7.338524e-04 s
    Time for refinement                   1.339912e-03 s
    Time to solve                         6.690025e-04 s
    Time for refinement                   1.770973e-03 s
    Time to solve                         6.339550e-04 s
    Time for refinement                   1.549006e-03 s
    Time to solve                         5.939007e-04 s
    Time for refinement                   2.016068e-03 s
    Time to solve                         1.014948e-03 s
    Time for refinement                   2.683878e-03 s
U^T*M*U=1,000000 for eigenmode 1
U^T*M*U=1,000000 for eigenmode 2
 Using up to 1 cpu(s) for the stress calculation.

 *ERROR in umat_abaqusnl: negative eigenvalue
          of the Cauchy-Green tensor;

posted: *DEFORMATION PLASTICITY in a *FREQUENCY step: ccx stops after the eigenvalues with "negative eigenvalue of the Cauchy-Green tensor", depending on the units · Issue #292 · Dhondtguido/CalculiX · GitHub

1 Like

Tested with ccx versions 2.20, 2.21, 2.22, 2.23 on linux.

The error:
*ERROR in umat_abaqusnl: negative eigenvalue
of the Cauchy-Green tensor;

appears on 2.23, 2.22, 2.21 but not on CalculiX Version 2.20. With 2.20 also .frd files are similar (except for coordinates units).

1 Like