Summary
Section 6.2.39 (Two-node 3-dimensional dashpot (DASHPOTA)) of the 2.23 manual gives the dashpot force as F2 = -c [(v2 - v1)·n] n, with n the unit vector between the nodes, and F1 = -F2. Sections 7.34 (*DASHPOT) and 6.9.7 (Direct integration dynamic analysis) list implicit *DYNAMIC among the procedures that take dashpots into account.
In an implicit *DYNAMIC step, ccx leaves the velocity of a node whose motion is prescribed out of that force. A unit mass joined by a dashpot (c = 10) to a node that a *BOUNDARY moves at constant velocity 0.05 should be dragged along: x = 0.095 after 2 time units. ccx keeps it at x = 0 at every increment, with exit 0 and no message.
The dashpot works as written when the far end is moved through a stiff spring instead of a *BOUNDARY (0.095), and adding the missing force c·v2 as a *CLOAD on the mass gives 0.095 too. Tying the far end by an *EQUATION to a node moved by *BOUNDARY gives 0 again, and so does NLGEOM.
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: mafilldm.f and calcresidual.c are unchanged on master (9ba5d76).
Minimal input
dash_bc.inp:
** unit mass at node 1, joined by a DASHPOTA (c = 10) to node 2;
** node 2 is moved by a *BOUNDARY from 0 to 0.1 in x over 2 time units
** (constant velocity 0.05); node 1 is free
*NODE, NSET=NALL
1, 0., 0., 0.
2, 1., 0., 0.
*ELEMENT, TYPE=MASS, ELSET=EM
1, 1
*MASS, ELSET=EM
1.
*ELEMENT, TYPE=DASHPOTA, ELSET=ED
2, 1, 2
*DASHPOT, ELSET=ED
10.
*AMPLITUDE, NAME=RAMP
0., 0., 2., 1.
*BOUNDARY
2, 2, 3
*STEP, INC=10000
*DYNAMIC, DIRECT
0.001, 2.
*BOUNDARY, AMPLITUDE=RAMP
2, 1, 1, 0.1
*NODE PRINT, NSET=NALL, FREQUENCY=500
U
*END STEP
dash_spring.inp: the same motion, but node 3 is moved by the *BOUNDARY, and node 2 follows it through a stiff spring (node 2 gets a small mass):
** unit mass at node 1, joined by a DASHPOTA (c = 10) to node 2;
** node 3 is moved by a *BOUNDARY from 0 to 0.1 in x over 2 time units
** (constant velocity 0.05) and drags node 2 along by a stiff spring;
** node 1 is free
*NODE, NSET=NALL
1, 0., 0., 0.
2, 1., 0., 0.
3, 2., 0., 0.
*ELEMENT, TYPE=MASS, ELSET=EM
1, 1
*MASS, ELSET=EM
1.
*ELEMENT, TYPE=DASHPOTA, ELSET=ED
2, 1, 2
*DASHPOT, ELSET=ED
10.
*ELEMENT, TYPE=MASS, ELSET=EM2
3, 2
*MASS, ELSET=EM2
1.e-3
*ELEMENT, TYPE=SPRINGA, ELSET=ES
4, 2, 3
*SPRING, ELSET=ES
1.e6
*AMPLITUDE, NAME=RAMP
0., 0., 2., 1.
*BOUNDARY
2, 2, 3
3, 2, 3
*STEP, INC=10000
*DYNAMIC, DIRECT
0.001, 2.
*BOUNDARY, AMPLITUDE=RAMP
3, 1, 1, 0.1
*NODE PRINT, NSET=NALL, FREQUENCY=500
U
*END STEP
Variants of dash_bc.inp (changed lines; ... stands for unchanged lines):
-
dash_bc_cload.inp: the force c·v2 = 10 · 0.05 that the dashpot should transmit, added on node 1 before*NODE PRINT:2, 1, 1, 0.1 +*CLOAD +1, 1, 0.5 *NODE PRINT, NSET=NALL, FREQUENCY=500 -
dash_eq.inp: node 2 tied by an*EQUATIONto node 3, which the*BOUNDARYmoves:2, 1., 0., 0. +3, 2., 0., 0. ... 10. +*EQUATION +2 +2, 1, 1., 3, 1, -1. *AMPLITUDE, NAME=RAMP ... 2, 2, 3 +3, 2, 3 ... -2, 1, 1, 0.1 +3, 1, 1, 0.1 -
dash_bc_nl.inp:*STEP, INC=10000, NLGEOMinstead of*STEP, INC=10000.
How to run
ccx dash_bc
ccx dash_spring
ccx dash_bc_cload
ccx dash_eq
ccx dash_bc_nl
Expected
With m = 1, c = 10 and v2 = 0.05 the mass obeys m x’’ = -c (x’ - v2), so x(t) = v2 [t - (m/c)(1 - e^(-ct/m))]. At t = 2: x = 0.05 · (2 - 0.1) = 0.095 (at t = 0.5: 0.020034). In dash_bc_cload the added force doubles this if ccx is right (0.19), and gives 0.095 if the dashpot transmits nothing.
Actual
Node 1 at t = 2:
dash_bc 1 0.000000E+00 0.000000E+00 0.000000E+00
dash_spring 1 9.500000E-02 0.000000E+00 0.000000E+00
dash_bc_cload 1 9.500000E-02 0.000000E+00 0.000000E+00
dash_eq 1 0.000000E+00 0.000000E+00 0.000000E+00
dash_bc_nl 1 0.000000E+00 0.000000E+00 0.000000E+00
Node 2 is at 1.000000E-01 in all five runs. In dash_bc, dash_eq and dash_bc_nl node 1 is 0 at every printed time, and all runs end with exit 0; the only message is the usual “no elastic constants were assigned to material MASS” warning. dash_spring also gives 2.003367E-02 at t = 0.5.
Where it goes wrong
In an implicit *DYNAMIC step src/nonlingeo.c switches damping on when the model has a dashpot (lakon “ED”, master lines 345-353) and builds the damping matrix with mafilldm.f (master lines 2793-2826). The damping force then comes only from that matrix, in src/calcresidual.c (lines 80-96):
for(j=1;j<mt;++j){
if(nactdof[mt*k+j]>0){
aux2[nactdof[mt*k+j]-1]=veold[mt*k+j];}
}
...
opmain(&neq[1],aux2,cv,adc,auc,jq,irow);
...
b[k]-=scal1*cv[k]-alpha[0]*cvini[k];
aux2 holds the velocities of the active DOFs only, so the damping force is C·v over the unknowns. The terms that couple an unknown to a prescribed DOF never enter: src/mafilldm.f handles the pair “active DOF / MPC” (lines 191-213) and passes the “active DOF / SPC” pair over without storing anything, and an MPC term whose DOF is held (as in dash_eq) is skipped by the if(idof2.gt.0) test (line 205). For the stiffness this does no harm, because ccx computes the internal forces from the element displacements, which include the prescribed ones; the damping force has no such element-level counterpart. So the dashpot only sees v1, and the term c (v2·n) n is lost.
Fix
Possible fix (not built or tested): in mafilldm.f, keep the coefficients that couple an active DOF to a prescribed DOF (directly or through an MPC term) and add -C_ab·v_b, with v_b the velocity of the prescribed DOF in veold, to the residual in calcresidual.c; or compute the dashpot force element by element from the velocities of both nodes, as the internal forces are computed from the displacements. Related but documented: explicit *DYNAMIC ignores DASHPOTA elements altogether (section 7.34: “For explicit *DYNAMIC calculations they have not been implemented yet”), so a *WARNING when an explicit step meets a dashpot would help, and the last sentence of section 6.2.39 (“The dashpot element can only be used in linear dynamic calculations characterized by the *MODAL DYNAMIC keyword card”) contradicts 7.34 and 6.9.7.
Workaround: drive the far end of the dashpot through a stiff spring (as in dash_spring.inp), or add c (v2·n) n as a *CLOAD on the free end with the amplitude of the prescribed velocity (as in dash_bc_cload.inp, valid while the dashpot keeps its direction).