Summary
The 2.23 manual gives the time period of these steps a default of 1:
- Section 7.73 (*HEAT TRANSFER), second line: “Initial time increment. … (default 1.)” and “Time period of the step (default 1.)”. Sections 7.26 (*COUPLED TEMPERATURE-DISPLACEMENT) and 7.136 (*UNCOUPLED TEMPERATURE-DISPLACEMENT) say the same.
- Section 7.143 (*VISCO): “The syntax is identical to the *STATIC syntax”, and section 7.123 (*STATIC) has the same two defaults.
*STATIC applies them: a blank or zero period becomes 1. The other four procedure readers do not. With a blank or zero period, ccx 2.23:
- prints
*ERROR reading *HEAT TRANSFER: step size is negative(and “initial increment size exceeds step size”), although nothing is negative; - does not stop: the reader prints these lines without setting the error flag;
- runs the step with period 0. The increment size, the step time and the total time are NaN.
What the user gets then depends on the procedure:
- steady-state
*HEAT TRANSFERor*COUPLED TEMPERATURE-DISPLACEMENT: NaN temperatures, “Job finished”, exit 0; - transient
*HEAT TRANSFER,*COUPLEDor*UNCOUPLED TEMPERATURE-DISPLACEMENT: exit status 255. The only message besides the two lines above is “matrix found to be singular” inspooles.out; *VISCO: “solution seems to diverge; please try automatic incrementation; program stops” (exit 201), although DIRECT incrementation with a fixed increment is what the deck asks for.
A blank initial increment (, 1.) in a transient *HEAT TRANSFER step ends the same way: “initial increment size is negative”, then exit 255. A negative period prints the *ERROR line and runs on as well: the transient heat deck below runs 100 increments of 0.25, up to time 25, and stops at the increment limit (exit 201).
A blank period is a natural way to write a steady-state step, where the period has no physical meaning. Abaqus’ own benchmark deck for the radiation analysis of a plane finned surface, for example, has *HEAT TRANSFER, STEADY STATE / 1.0,.
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 22 Oct 2026). Not fixed: heattransfers.f, couptempdisps.f, uncouptempdisps.f and viscos.f are unchanged on master (9ba5d76).
Minimal input
period_heat.inp: one DC3D8 cube, bottom face held at 100, steady-state heat transfer. The second field of the line under *HEAT TRANSFER (the time period) is blank.
** One DC3D8 cube, start temperature 0, bottom face held at 100.
** Steady-state *HEAT TRANSFER; the time period (2nd field) is left blank.
*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.
*ELEMENT, TYPE=DC3D8, ELSET=EALL
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=BOT
1, 2, 3, 4
*NSET, NSET=N7
7
*MATERIAL, NAME=M
*CONDUCTIVITY
1.
*DENSITY
1.
*SPECIFIC HEAT
1.
*SOLID SECTION, ELSET=EALL, MATERIAL=M
*INITIAL CONDITIONS, TYPE=TEMPERATURE
NALL, 0.
*STEP, INC=100
*HEAT TRANSFER, STEADY STATE
1.,
*BOUNDARY
BOT, 11, 11, 100.
*NODE PRINT, NSET=N7
NT
*END STEP
Variants of period_heat.inp (one or two lines changed):
period_heat_ref.inp:1., 1.instead of1.,(the documented default written out);period_heat_zero.inp:1., 0.;period_tr.inp:*HEAT TRANSFER, DIRECTinstead of*HEAT TRANSFER, STEADY STATE, and0.25,instead of1.,;period_tr_ref.inp: asperiod_tr.inpwith0.25, 1.;period_tr_inc.inp: asperiod_tr.inpwith, 1.(blank initial increment);period_tr_neg.inp: asperiod_tr.inpwith0.25, -1.;period_td.inp: coupled temperature-displacement:TYPE=C3D8instead ofTYPE=DC3D8; the lines*ELASTIC/1000., 0.3/*EXPANSION/1.E-5added before*CONDUCTIVITY; the lines*BOUNDARY/BOT, 1, 3added before*STEP, INC=100; and*COUPLED TEMPERATURE-DISPLACEMENT, STEADY STATEinstead of*HEAT TRANSFER, STEADY STATE.period_td_ref.inpis the same with1., 1.;period_tdtr.inpandperiod_utdtr.inp: asperiod_td.inpwith*COUPLED TEMPERATURE-DISPLACEMENT, DIRECTor*UNCOUPLED TEMPERATURE-DISPLACEMENT, DIRECTand0.25,.period_tdtr_ref.inpandperiod_utdtr_ref.inpare the same with0.25, 1..
period_visco.inp: one C3D8 cube with Norton creep under a constant load, *VISCO, DIRECT with a blank period.
** One C3D8 cube with Norton creep, pulled at the top with a constant load.
** *VISCO, DIRECT, increment 0.25; the time period (2nd field) is left blank.
*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.
*ELEMENT, TYPE=C3D8, ELSET=EALL
1, 1, 2, 3, 4, 5, 6, 7, 8
*NSET, NSET=TOP
5, 6, 7, 8
*NSET, NSET=N7
7
*MATERIAL, NAME=M
*ELASTIC
1000., 0.
*CREEP, LAW=NORTON
1.E-3, 1., 0.
*SOLID SECTION, ELSET=EALL, MATERIAL=M
*BOUNDARY
1, 1, 3
2, 2, 3
3, 3, 3
4, 1, 1
4, 3, 3
*STEP, INC=100
*VISCO, DIRECT, CETOL=1.
0.25,
*CLOAD
TOP, 3, 25.
*NODE PRINT, NSET=N7
U
*END STEP
period_visco_ref.inp is the same with 0.25, 1., and period_visco_zero.inp with 0.25, 0..
How to run
ccx <name> for each deck; the result is in <name>.dat, the exit status in $?.
Expected
A blank or zero period is the default 1., so each deck gives the result of its _ref twin:
period_heat,period_heat_zero,period_td: node 7 at 100 at time 1 (the uniform steady state), asperiod_heat_refandperiod_td_refgive.period_tr,period_tdtr,period_utdtr: 4 increments to time 1, node 7 at 89.33778, as the_reftwins give.period_visco,period_visco_zero: 4 increments, node 7 at U3 = 0.2 at time 1, asperiod_visco_refgives.period_tr_inc: initial increment 1. (the default), one increment.period_tr_neg: an *ERROR and a stop, as*STATICdoes for a negative period.
Actual
| deck | exit | .dat (node 7) | messages |
|---|---|---|---|
period_heat (steady, blank) |
0 | “temperatures … for time NaN”, NT = NaN | the two *ERROR lines, “Job finished” |
period_heat_zero |
0 | NT = NaN | the same |
period_td (coupled, steady, blank) |
0 | NT = NaN | the same, for *COUPLED TEMPERATURE-DISPLACEMENT |
period_tr (transient, blank) |
255 | nothing | the two *ERROR lines; spooles.out: “matrix found to be singular” |
period_tdtr, period_utdtr |
255 | nothing | the same |
period_visco, period_visco_zero |
201 | nothing | the two *ERROR lines, then “*ERROR: solution seems to diverge; please try automatic incrementation; program stops” |
period_tr_inc (blank increment) |
255 | nothing | “initial increment size is negative”, “increment size smaller than one millionth of step size”; spooles.out: “matrix found to be singular” |
period_tr_neg |
201 | NT = 100 at time 25 | the two *ERROR lines, “increment size smaller than one millionth of step size”, then “max. # of increments reached” after 100 increments |
all _ref twins |
0 | as expected above | none |
The two lines for period_heat.inp are
*ERROR reading *HEAT TRANSFER: step size is negative
*ERROR reading *HEAT TRANSFER: initial increment sizeexceeds step size
followed by
increment size= nan
sum of previous increments=0.000000e+00
actual step time=nan
actual total time=nan
and “Job finished”.
Where it goes wrong
heattransfers.f reads the period without a default (line 205) and then checks it (lines 224-237):
if(tinc.le.0.d0) then
write(*,*)
& '*ERROR reading *HEAT TRANSFER: initial increment size
&is negative'
endif
if(tper.le.0.d0) then
write(*,*)
& '*ERROR reading *HEAT TRANSFER: step size is negative'
endif
if(tinc.gt.tper) then
write(*,*)
& '*ERROR reading *HEAT TRANSFER: initial increment size
&exceeds step size'
endif
None of the three branches sets ier=1 or returns, so the input is accepted with tper = 0. nonlingeo.c then computes dtheta=(*tinc)/(*tper); (line 863), which is infinite, and the increment size dtheta*tper is NaN. couptempdisps.f (period read at line 201, checks at lines 226-237), uncouptempdisps.f (194, 213-229) and viscos.f (166, 185-195) have the same three checks without ier=1.
statics.f shows the intended handling (lines 212-232):
if(tper.lt.0.d0) then
write(*,*) '*ERROR reading *STATIC: step size is negative'
ier=1
return
elseif(tper.le.0.d0) then
tper=1.d0
endif
if(tinc.lt.0.d0) then
write(*,*) '*ERROR reading *STATIC: initial increment size is n
&egative'
ier=1
return
elseif(tinc.le.0.d0) then
tinc=tper
endif
if(tinc.gt.tper) then
write(*,*) '*ERROR reading *STATIC: initial increment size exce
&eds step size'
ier=1
return
endif
With this, period_static.inp (period_visco.inp with *STATIC, DIRECT instead of *VISCO, DIRECT, CETOL=1.) runs 4 increments to time 1 with exit 0.
Fix
Use the statics.f block in heattransfers.f, couptempdisps.f, uncouptempdisps.f and viscos.f: a blank or zero period becomes 1., a blank or zero initial increment becomes the period (or 1., as the manual says), and a negative value or an initial increment larger than the period gives an *ERROR with ier=1. While there, the continuation lines of the heat transfer messages lack a space (“sizeexceeds”, “sizeis”).
*DYNAMIC is not affected: section 7.46 (*DYNAMIC) gives no default for the period, and ccx stops with an *ERROR. period_dyn.inp (period_visco.inp with *DYNAMIC, DIRECT instead of *VISCO, DIRECT, CETOL=1., and *DENSITY / 1. added under *MATERIAL, NAME=M) prints “*ERROR reading *DYNAMIC: step size is nonpositive” and stops with exit 201.
Workaround: write the time period explicitly, e.g. 1., 1. for a steady-state step.