Summary
Section 7.115 (*SECTION PRINT) of the 2.23 manual gives the card four parameters, “SURFACE, NAME, FREQUENCYF and TIME POINTS”, and describes FREQUENCYF for nonlinear steps with several increments:
FREQUENCYF=N with N an integer indicates that the results of every Nth increment will be stored.
In a structural step, *SECTION PRINT, ..., FREQUENCYF=5 with SOF still prints the section forces at every increment: 10 blocks for 10 increments. The same holds for FLUX in a *HEAT TRANSFER step. FREQUENCY=5 on the card is rejected with “*WARNING reading *SECTION PRINT: parameter not recognized” and also prints 10 blocks. Only a FREQUENCY=5 on another output card (here *NODE PRINT) reduces the section print to increments 5 and 10.
The reason is in sectionprints.f: FREQUENCYF sets jout(2), the output frequency of 3D fluid calculations (section 7.99, *NODE PRINT: “FREQUENCY applies to the thermomechanical output, FREQUENCYF to the 3D fluid output”). SOF and the thermal FLUX are printed by resultsprint.f, at the thermomechanical frequency jout(1). The card has no parameter that sets jout(1), whereas *NODE PRINT, *EL PRINT, *NODE FILE and *EL FILE read both FREQUENCY= and FREQUENCYF=, and *CONTACT PRINT reads FREQUENCY=.
So the only frequency parameter of *SECTION PRINT has no effect on the output that structural and thermal users ask it for, and the manual’s description of it does not say so.
Version
ccx 2.23 (macOS arm64) and current master (537aa81, 2 Nov 2026): identical behaviour. sectionprints.f is unchanged.
Already reported or fixed?
Not reported: no GitHub issue or pull request in Dhondtguido/CalculiX mentions FREQUENCYF or the output frequency of *SECTION PRINT (searched 3 Nov 2026). Issues #70 and #71 concern the values *SECTION PRINT prints, not when.
Minimal input
sp_freqf.inp:
** Unit cube, one C3D8, NLGEOM, 10 fixed increments; force on the x = 1 face.
** *SECTION PRINT with FREQUENCYF=5: section forces every 5th increment?
*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=XMAX
2, 3, 6, 7
*SURFACE, NAME=SX
1, S4
*MATERIAL, NAME=MAT
*ELASTIC
1000., 0.3
*SOLID SECTION, ELSET=EALL, MATERIAL=MAT
*BOUNDARY
1, 1, 3
4, 1, 1
4, 3, 3
5, 1, 2
8, 1, 1
*STEP, NLGEOM
*STATIC, DIRECT
0.1, 1.
*CLOAD
XMAX, 1, 2.5
*SECTION PRINT, SURFACE=SX, NAME=SP1, FREQUENCYF=5
SOF
*END STEP
sp_freq.inp: the same with FREQUENCY=5 instead of FREQUENCYF=5.
sp_np5.inp: the same without a frequency on *SECTION PRINT, and with a *NODE PRINT that has one:
-*SECTION PRINT, SURFACE=SX, NAME=SP1, FREQUENCYF=5
+*NODE PRINT, NSET=XMAX, FREQUENCY=5
+U
+*SECTION PRINT, SURFACE=SX, NAME=SP1
sp_flux.inp: the thermal case, with FLUX:
** Unit cube, one DC3D8, transient heat transfer, 10 fixed increments;
** x = 0 held at 0, heat flow 1 into the x = 1 face.
** *SECTION PRINT FLUX with FREQUENCYF=5
*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=XMAX
2, 3, 6, 7
*NSET, NSET=XMIN
1, 4, 5, 8
*SURFACE, NAME=SX
1, S4
*MATERIAL, NAME=MAT
*CONDUCTIVITY
1.
*SPECIFIC HEAT
1.
*DENSITY
1.
*SOLID SECTION, ELSET=EALL, MATERIAL=MAT
*INITIAL CONDITIONS, TYPE=TEMPERATURE
NALL, 0.
*BOUNDARY
XMIN, 11, 11, 0.
*STEP
*HEAT TRANSFER, DIRECT
0.1, 1.
*CFLUX
XMAX, 11, 0.25
*SECTION PRINT, SURFACE=SX, NAME=SP1, FREQUENCYF=5
FLUX
*END STEP
How to run
ccx sp_freqf
ccx sp_freq
ccx sp_np5
ccx sp_flux
and count the blocks in the .dat files, e.g. grep -c "total surface force" sp_freqf.dat and grep -c "total surface flux" sp_flux.dat.
Expected
sp_freqf and sp_flux: section output at increments 5 and 10 only (2 blocks), as section 7.115 describes for FREQUENCYF=5.
Actual
| deck | blocks in .dat | increments printed | message |
|---|---|---|---|
sp_freqf (FREQUENCYF=5) |
10 | 1 to 10 | none |
sp_freq (FREQUENCY=5) |
10 | 1 to 10 | *WARNING reading *SECTION PRINT: parameter not recognized: FREQUENCY=5 |
sp_np5 (FREQUENCY=5 on *NODE PRINT) |
2 | 5, 10 | none |
sp_flux (FREQUENCYF=5, heat transfer) |
10 | 1 to 10 | none |
ccx 2.23 and master 537aa81 give the same counts. All runs end normally (exit 0).
Where it goes wrong
src/sectionprints.f (master) reads only FREQUENCYF=, into jout(2):
elseif(textpart(ii)(1:11).eq.'FREQUENCYF=') then
read(textpart(ii)(12:21),'(i10)',iostat=istat) joutl
...
if(joutl.gt.0) then
jout(2)=joutl
itpamp=0
endif
Any other parameter, FREQUENCY= included, falls through to “parameter not recognized”. jout(2) is used by the 3D fluid solver (compfluidfem.c, line 847, which also prints DRAG and the fluid FLUX through printoutfacefem). The section forces and the thermal flux are printed by printoutface, called from resultsprint.f (line 150), which the structural and thermal procedures call at the frequency jout(1) (e.g. nonlingeo.c, line 3773: if((jout[0]==jprint)&&(icutb==0))).
src/nodeprints.f (lines 108-143) reads both FREQUENCY= (into jout(1)) and FREQUENCYF= (into jout(2)).
SOF was added to the card later; the LOGBOOK entry of 14 Oct 2016 reads “changed *face print into *section print and coded the calculation of SOF and SOM”.
Fix
Either
- let
*SECTION PRINTreadFREQUENCY=intojout(1), asnodeprints.fdoes, and keep FREQUENCYF= for the 3D fluid output; or - say in section 7.115 that FREQUENCYF only applies to the 3D fluid output (DRAG, and FLUX in CFD), and that SOF and FLUX in thermomechanical steps follow the FREQUENCY of the other output cards.
The first matches what the manual already describes for the other output cards.