Next Article in Journal
Packing and Cutting Stone Blocks Based on the Nonlinear Programming of Tree Cases
Previous Article in Journal
Modeling Thermal Energy Storage Capability of Organic PCMs Confined in a 2-D Cavity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Space-Time Primal-Dual Active Set Method: Benchmark for Collision of Elastic Bar with Discontinuous Velocity

by
Victor A. Kovtunenko
1,2
1
Department of Mathematics and Scientific Computing, Karl-Franzens University of Graz, NAWI Graz, Heinrichstr. 36, 8010 Graz, Austria
2
Lavrentyev Institute of Hydrodynamics, Siberian Division of the Russian Academy of Sciences, 630090 Novosibirsk, Russia
Computation 2025, 13(9), 210; https://doi.org/10.3390/computation13090210
Submission received: 31 July 2025 / Revised: 15 August 2025 / Accepted: 18 August 2025 / Published: 1 September 2025
(This article belongs to the Section Computational Engineering)

Abstract

The dynamic contact problem describing collision of an elastic bar with a rigid obstacle, prescribed by an initial velocity, is considered in a variational formulation. The non-smooth, piecewise-linear solution is constructed analytically using partition of a 2D rectangular domain along characteristics. Challenged by the discontinuous velocity after collision, full discretization of the problem is applied that is based on a space-time finite element method. For an iterative solution of the discrete variational inequality, a primal–dual active set algorithm is used. Computer simulation of the collision problem is presented on uniform triangle grids. The active sets defined in the 2D space-time domain converge in a few iterations after re-initialization. The benchmark solution at grid points is indistinguishable from the analytical solution. The discrete energy has no dissipation, it is free of spurious oscillations, and it converges super-linearly under mesh refinement.

Graphical Abstract

1. Introduction

In this paper, the research aims at solutions of dynamic contact problems, which model the time-dependent deformation of a solid body colliding a rigid obstacle. The moving body and the stationary obstacle have different velocities, therefore, an impact occurs. By using elementary physics concepts, some elastic properties of falling bars and springs that were suddenly released after being hung from one end were discussed in [1]. In experiments of body motion, a spring allowed larger deformations and slower wave propagation than an elastic bar. Highlighting broader relevance in variational mechanics, this work cites studies on nonlinear vibrations and micro-electro-mechanical systems (MEMSs) involving micro-beams and sensors [2]. The periodic motion of an MEMS is highly sensitive to operating conditions and may become unstable when reaching specific threshold values [3]. This makes it crucial to find an exact solution of the problem and to gain insight the property of dynamic stability, which is highly important for numerical solution.
Since responses by the impact demonstrate an oscillatory nature, proper solution methods of contact dynamics problems should follow its wave propagation characteristics. The mathematical analysis of solutions to variational and hemivariational inequalities describing contact problems can be found in [4,5]. The solvability to wave equations stated in half-space under unilateral constraints imposed at the boundary was proved in [6]. This work refers to monographs [7,8] for the basic computational concepts used in the field, to [9,10] for finite element methods (FEM), and to [11,12] for boundary element methods (BEM). For some dynamic issues in physical modeling this work cites [13,14,15,16,17,18,19] for bio-mechanical models.
To illustrate properties of colliding bodies, this study performs theoretical analysis and numerical simulation of the dynamic contact problem in a two-dimensional (2D) setting. In our context, one dimension is time, and the second dimension is space. For benchmark, this work considers a 1D elastic bar of the prescribed initial position and initial velocity, for which an exact solution is derived. The bar undergoes a rigid body motion until its end collides with the rigid obstacle. Is stays in contact during elastic waves travel through the body and then moves back as the waves reach the bar end. This benchmark of collision is relevant to the considerations from [20,21], where an undeformed bar was dropped against a rigid ground surface with a given initial velocity. In the other relevant benchmark from [22,23,24], a rigid obstacle was impacted by an initially deformed elastic bar with zero initial velocity.
From the mathematical point of view, the impact of bodies is characterized by a discontinuous velocity; see [25]. For time integration, there are the well-established semi-discrete methods of Newmark [26] and Hilber–Hughes–Taylor [27]. For extension of the HHT method to dynamic contact problems within a semi-smooth Newton approach, the reader is referred to [28,29,30]. However, when determining the acceleration from an expansion in Taylor series, these numerical integration schemes assume continuity of velocity. The variational theory of discontinuous solutions to problems stated in non-smooth domains was elaborated in [31,32] and relevant works [33,34,35,36]. The reader is referred to proper numerical methods in [37,38,39] and to asymptotic methods using boundary layers in [40,41,42].
For efficient iterative solution of complementarity problems, there are well-known semi-smooth Newton (SSN) methods, which have a locally super-linear convergence rate. Moreover, the realization of SSN methods as a primal–dual active set (PDAS) iteration converges globally in a monotone way for stiffness matrices obeying the M-matrix property; see [43]. The a priori and a posteriori numerical analysis of PDAS algorithms for static unilaterally constrained problems in mechanics was given in [44,45]. In the theory of dynamic multi-body and discrete contact problems, for the realization of the PDAS strategy and corresponding numerical simulations, this work refers to [46,47].
To take the velocity discontinuity into account, in [48,49], we first realized a space-time PDAS approach, which is based on a full discretization of dynamic variational inequalities within space-time finite elements, referred to here as ST-PDAS for short. The reader can find studies of the space-time approximation for second-order hyperbolic equations in [50,51]. Unconditionally stable conforming finite element discretization with piecewise polynomial functions in space and time was studied in the literature performing continuous solutions for heat and wave equations. In constrast, this study’s contribution to the field pays attention to solutions with discontinuous derivatives offering analytical–numerical synergy of impact phenomena. In this research’s previous works, the dynamic contact condition was stated at a 1D boundary. In contrast, in the current contribution, this study presents contact sets over the whole 2D space-time domain. The novelty consists in developing the ST-PDAS algorithm for contact conditions imposed in two dimensions. This study constructs an analytical benchmark of non-smooth solutions of the wave equation, which is given by piecewise linear functions along characteristics on a suitable partition of rectangular domains.
In Section 2, the collision problem is formulated as a variational inequality for the wave equation given in a rectangle and subject to a one-sided inequality constraint. The analytical solution having discontinuous time and spatial derivatives is proven in Section 3. For its numerical realization, in Section 4, the problem within ST-FEM is approximated by piecewise linear polynomial functions on uniform triangular grids, and it is solved with the help of PDAS. In Section 5, numerical experiments of the benchmark are presented, and properties of the full approximation are discussed. Namely, the ST-PDAS algorithm converges in only few iterations; its numerical solution almost coincides with the analytical solution at grid points. The discrete energy is non-dissipative and converges super-linearly when the mesh size decreases.

2. Formulation of the Collision Problem

In the following, we neglect the force of gravity for simplicity. We consider a bar of length L > 0 made of a linear elastic isotropic material of unit density and unit modulus of rigidity. In the undeformed configuration x ( 0 , L ) , where t = 0 , let the bar be posed below the origin at initial depth H > 0 without initial deformation. Pushed with an initial velocity v 0 > 0 , Figure 1 illustrates motion of the bar in the deformed configuration x + u ( t , x ) .
Its displacement u ( t , x ) in the rectangle Q = ( 0 , T ) × ( 0 , L ) with the boundary Q , defined for some fixed final time T > 0 , is described by the inhomogeneous wave equation:
u t t ( t , x ) u x x ( t , x ) = λ ( t , x ) for ( t , x ) Q ,
where λ is a contact force such that
λ ( t , L ) = u x ( t , L ) for t ( 0 , T ) .
Here, u t t stands for the second time derivative (the acceleration) u x and u x x for the first and second space derivatives, respectively. The equation of motion (1) is supported by the following initial conditions:
u ( 0 , x ) = 0 , u t ( 0 , x ) = v 0 for x ( 0 , L ) ,
where u t is the first time derivative (the velocity). Let the lower bar end x = 0 be free and defined as
u x ( t , 0 ) = 0 for t ( 0 , T ) ,
where u x denotes the first space derivative.
The upper end x = L collides with the rigid obstacle occupying the half-space x 0 . Therefore, the following complementarity conditions should hold for all space-time points:
u ( t , x ) L x , λ ( t , x ) 0 , λ ( t , x ) u ( t , x ) L + x = 0 for ( t , x ) Q ˜
on the set Q ˜ = Q Γ , where Γ = { t ( 0 , T ) , x = L } . In (5), the former inequality yields non-penetration over the obstacle, that is, u ( t , L ) 0 at the upper end x = L and u ( t , 0 ) L approaching the lower end x = 0 of the bar. Under contact, the force should be non-expansive; hence, λ is non-positive. The non-penetration equations and inequalities (5) imply that u ( t , x ) L x and λ ( t , x ) = 0 before and after collision; otherwise, u ( t , x ) = L x and λ ( t , x ) 0 during the collision.
Remark 1. 
By continuity, the non-penetration condition u ( t , x ) L x can be extended to the the closure cl ( Q ) = Q Q .
Remark 2. 
For comparison, if contact conditions (2) and (5) are stated at the boundary portion Γ only, then they turn into the complementarity relations:
λ ( t , L ) = u x ( t , L ) , u ( t , L ) 0 , λ ( t , L ) 0 , λ ( t , L ) u ( t , L ) = 0 for t ( 0 , T ) .
The particular case (6) can be treated as described in the previous works [48,49].
After integration by parts using Green’s formula for smooth functions u , v in cl ( Q ) , we have
Q ( u t t u x x ) v d x d t = Q ( u t v t + u x v x ) d x d t + 0 L u t v d x | t = 0 T 0 T u x v d t | x = 0 L
and we give a weak formulation to the initial boundary value problems (1)–(5). For this task, the following notation of linear sub-spaces from [50] is employed:
H 0 , 1 ( 0 , T ) = { v H 1 ( 0 , T ) , v ( 0 ) = 0 } , H , 0 1 ( 0 , T ) = { v H 1 ( 0 , T ) , v ( T ) = 0 } .
We look for a solution u V 0 , from the trial space
V 0 , = L 2 ( 0 , T ; H 0 , 1 ( 0 , L ) ) H 0 , 1 ( 0 , T ; L 2 ( 0 , L ) )
such that u ( t , x ) L x for ( t , x ) Q ˜ , which satisfies the following variational inequality:
Q u t ( v t u t ) + u x ( v x u x ) d x d t 0 L v 0 v d x | t = 0
for all functions v u V , 0 such that v ( t , x ) L x , for ( t , x ) Q ˜ , from the test space
V , 0 = L 2 ( 0 , T ; H 0 , 1 ( 0 , L ) ) H , 0 1 ( 0 , T ; L 2 ( 0 , L ) ) .
Conversely, if the variational solution to (8) is smooth such that u , u x C ( cl ( Q ) ) , then the Green Formula (7) justifies the initial boundary value problems (1)–(5).
The variational inequality (8) can be rewritten as the following system of primal and dual relations: Find solution pair ( u , λ ) V 0 , × L 2 ( Q ) L 2 ( Γ ) such that
u L x , λ 0 in Q ˜ , Q λ ( u L + x ) d x d t + 0 T λ u d t | x = L = 0 , Q ( u t v t + u x v x ) d x d t = 0 L v 0 v d x | t = 0 + Q λ v d x d t + 0 T λ v d t | x = L
for all test functions v V , 0 . Indeed, introducing the contact force λ according to Equations (1) and (2) and using Green’s Formula (7) for v u yields
Q λ ( v u ) d x d t = Q ( u t t u x x ) ( v u ) d x d t = Q u t ( v t u t ) + u x ( v x u x ) d x d t + 0 L u t ( v u ) d x | t = 0 T 0 T u x ( v u ) d t | x = 0 L = Q u t ( v t u t ) + u x ( v x u x ) d x d t 0 L v 0 v d x | t = 0 0 T λ ( v u ) d t | x = L .
Through the variational inequality (8), it follows that
Q λ v L + x ( u L + x ) d x d t + 0 T λ ( v u ) d t | x = L 0
for all functions such that v L x in Q ˜ . These relations imply the primal–dual system (9).
Conversely, testing (9) with v u V , 0 , we derive that
Q u t ( v t u t ) + u x ( v x u x ) d x d t = 0 L v 0 ( v u ) d x | t = 0 + Q λ v L + x ( u L + x ) d x d t + 0 T λ ( v u ) d t | x = L = 0 L v 0 v d x | t = 0 + Q λ ( v L + x ) d x d t + 0 T λ v d t | x = L .
It follows the variational inequality (8) if λ ( t , x ) 0 and v ( t , x ) L x for ( t , x ) Q ˜ .

3. Analytical Solution to the Variational Inequality

Below, an analytical solution to the variational inequality (8) is provided drawn in three plots of Figure 2: the displacement u ( t , x ) , velocity u t ( t , x ) , and space derivative u x ( t , x ) for ( t , x ) cl ( Q ) . The piecewise linear solution is constructed explicitly along characteristics x + t = const before collision, which begins at the time τ = H / v 0 and along x t = const afterwords. By this, the time and space derivatives are discontinuos across the characteristics x + t = τ + L and x t = τ L . The magnitudes of the velocity u t and the gradient u x discontinuities equal v 0 .
Theorem 1. 
Let the final time be T τ + 2 L and the initial velocity be v 0 1 . Set the partition cl ( Q ) = i = 1 3 K i , where
K 1 = { ( t , x ) cl ( Q ) : x + t τ + L } , K 2 = { ( t , x ) cl ( Q ) : x + t τ + L , x t τ L } , K 3 = { ( t , x ) cl ( Q ) : x t τ L } .
A unique solution to the variational inequality (8) is given by
u ( t , x ) = v 0 ( t τ ) in K 1 , v 0 ( L x ) in K 2 , v 0 ( τ + 2 L t ) in K 3 .
Proof. 
For the elements K 1 K 3 in the partition (10), let us denote by Γ 12 the joint side between K 1 and K 2 with the normal ( 1 , 1 ) / 2 and by Γ 23 the interface between K 2 and K 3 with the normal ( 1 , 1 ) / 2 . The jump of a discontinuous field w ( t , x ) is denoted by
[ [ w ] ] = w | K 2 Γ 12 w | K 1 Γ 12 , [ [ w ] ] = w | K 3 Γ 23 w | K 2 Γ 23 .
We apply to the elements in partition the Green Formula (7) written for piecewise smooth functions u , v with discontinuous derivatives such that
i = 1 3 K i ( u t t u x x ) v d x d t = i = 1 3 K i ( u t v t + u x v x ) d x d t Γ 12 [ [ ( u t u x ) v ] ] 1 2 d Γ Γ 23 [ [ ( u t + u x ) v ] ] 1 2 d Γ + 0 L u t v d x | t = 0 T 0 T u x v d t | x = 0 L .
The piecewise linear function in (11) is continuous and satisfies the following relations:
u t t = u x x = 0 in K 1 K 3 , [ u t ] ] = [ [ u x ] ] = v 0 on Γ 12 , [ u t ] ] = v 0 , [ [ u x ] ] = v 0 on Γ 23 , u t | t = 0 = v 0 , u x | x = 0 = 0 on Q , u ( t , L ) = v 0 ( t τ ) , u x ( t , L ) = 0 for t [ 0 , τ ] , u ( t , L ) = 0 , u x ( t , L ) = v 0 for t [ τ , τ + 2 L ] , u ( t , L ) = v 0 ( 2 L + τ t ) , u x ( t , L ) = 0 for t [ τ + 2 L , T ] .
Inserting (13) into (12) with smooth functions v such that [ [ ( u t u x ) v ] ] = [ [ u t u x ] ] v at Γ 12 and [ [ ( u t + u x ) v ] ] = [ [ u t + u x ] ] v at Γ 23 yields the variational equation
Q ( u t v t + u x v x ) d x d t 0 L v 0 v d x | t = 0 = 0 T u x v d t | x = L = τ τ + 2 L v 0 v d t | x = L 0
for all functions v V , 0 such that v ( t , L ) 0 for t ( τ , τ + 2 L ) . In particular, testing (14) with v = u χ , where a cutoff function χ ( t ) is compactly supported in ( 0 , T ) and χ ( t ) = 1 for t ( 0 , T ζ ) with small ζ > 0 , we get the identity
Q u t ( u χ ) t + u x u x χ d x d t = 0 T u x u χ d t | x = L = 0 .
The subtraction of (15) from (14) leads to the following variational inequality
Q u t ( v t u t ) + u x ( v x u x ) d x d t 0 L v 0 v d x | t = 0
which holds for all test functions v u V , 0 such that v ( t , L ) 0 for t ( 0 , T ) .
Moreover, the function in (11) justifies the following equations on the partition:
u L + x = ( v 0 1 ) ( t τ ) + x + t τ L , u x ( t , L ) = 0 in K 1 , u L + x = ( v 0 1 ) ( L x ) , u x ( t , L ) = v 0 in K 2 , u L + x = ( v 0 1 ) ( 2 L + τ t ) + x t + τ + L , u x ( t , L ) = 0 in K 3 .
For t τ , the position yields u L + x = v 0 ( t τ ) L + x 0 in (11) for all points x L . Let v 0 1 0 in (17). Then, u L + x = ( v 0 1 ) ( t τ ) + x + t τ L 0 for t τ and x + t τ L 0 in K 1 . In K 2 , there holds u L + x = ( v 0 1 ) ( L x ) 0 for all x L . If t τ + 2 L and x t + τ + L 0 , then u L + x = ( v 0 1 ) ( 2 L + τ t ) + x t + τ + L 0 in K 3 . For all t τ + 2 L , we have u L + x = v 0 ( 2 L + τ t ) 0 in (11). Therefore, the non-penetration condition u ( t , x ) L x holds globally. To fulfill with (17) the complementarity conditions (5), we set a discontinuous contact force in the following form:
λ ( t , x ) = 0 in Q , u x on Γ .
The uniqueness of solution to the problem (8) follows by an energy method.    □
Remark 3. 
The function pair ( u , λ ) defined in (11) and (18) solves the primal–dual problem (9).
Remark 4. 
The global solution in (11) holds true when restricted for smaller values T < τ + 2 L , also for larger velocities v 0 > 1 within the time t ( 0 , τ ) , when u L + x 0 in (17).
Next, we consider the time-dependent energy of the bar as
E ( t ) = 1 2 0 L ( u t 2 + u x 2 ) d x , t [ 0 , T ] .
Since the collision is supposed to be elastic, the energy is conserved, as justified below.
Corollary 1. 
Under the assumptions of Theorem 1, the energy defined in (19) remains constant in time as
E ( t ) = E ( 0 ) = 1 2 L v 0 2 for t [ 0 , T ] .
Proof. 
Consider the intersection of elements K 1 K 3 from (10) with the rectangle [ 0 , s ] × [ 0 , L ] at fixed s [ 0 , T ] . We test with the discontinuous function v = u t the Green Formula (12) and skip integration by parts over time to calculate the following expression:
i = 1 3 K i { t < s } ( u t t u x x ) u t d x d t = 1 2 i = 1 3 K i { t < s } ( u t 2 + u x 2 ) t d x d t + Γ 12 { t < s } [ [ u x u t ] ] 1 2 d Γ Γ 23 { t < s } [ [ u x u t ] ] 1 2 d Γ 0 s u x u t d t | x = 0 L .
Using properties (13) and zero product u x u t = 0 in K 1 K 3 , integration of (21) by parts over time yields
0 = 1 2 i = 1 3 K i { t < s } ( u t 2 + u x 2 ) t d x d t = E | t = 0 s 1 2 ( Γ 12 Γ 23 ) { t < s } [ [ u t 2 + u x 2 ] ] 1 2 d Γ = E | t = 0 s
due to u t 2 + u x 2 = v 0 2 in K 1 K 3 . This identity and E ( 0 ) = L v 0 2 / 2 prove the assertion (20).    □
In the next section, we discretize the primal–dual problem (9) by using ST-FEM approach on a uniform triangular mesh, and we adapt PDAS for its numerical solution.

4. ST-PDAS Approximation

Let cl ( Q ) = i I T i be divided into equal triangles T i indexed by a set I comprising a uniform grid of size h > 0 , where h = 1 / ( N 1 ) for prescribed N N . The grid nodes ( t h , x h ) = { ( t j , x j ) } account for the number of degrees of freedom DOF = ( T / h + 1 ) ( L / h + 1 ) , with the number M = ( T / h 1 ) L / h of nodes ( t h , x h ) Q ˜ . For T = 4 and L = 1 , an example grid with h = 0.25 constituting DOF=85 and M = 60 is shown in Figure 3: before deformation in the left plot (a) and after deformation in the right plot (b). A full space-time discretization of the variational problem in the space of continuous piecewise linear functions is introduced below:
V h = v h C ( cl ( Q ) ) , v h | T i P 1 ( T i ) 2 for i I ,
where the trial V 0 , and the test V , 0 spaces are respectively,
V 0 , h = v h V h , v h ( 0 , · ) = 0 , V , 0 h = v h V h , v h ( T , · ) = 0 .
Let us denote by ϕ h = { ϕ j } , j = 1 , , DOF, standard hat functions spanning the nodal basis in V h such that each ϕ j = 1 at the corresponding node ( t j , x j ) and zero otherwise. For the discrete initial velocity v 0 h V h , we approximate the system of primal and dual relations (9): Find a solution pair ( u h , λ h ) V 0 , h × R M such that
u h ( t h , x h ) L x h , λ h 0 , λ h u h ( t h , x h ) L + x h = 0 for ( t h , x h ) Q ˜ , Q ( u h t ϕ h t + u h x ϕ h x ) d x d t = 0 L v 0 h ϕ h d x | t = 0 + λ h
for all basis functions ϕ h V , 0 h . In contrast to an integral approach providing for non-penetration within whole elements, the nodal enforcement of constraints in (22) imposes for non-penetrating both on an individual element as well as at the boundary. Here, λ h is referred to as a Lagrange multiplier compared to the contact force λ in (1) and (2).
Theorem 2. 
Let the complementary sets of active and inactive nodes be defined as
A ( u h , λ h ) = ( t h , x h ) Q ˜ : r λ h u h ( t h , x h ) + L x h < 0 , I ( u h , λ h ) = ( t h , x h ) Q ˜ : r λ h u h ( t h , x h ) + L x h 0 ,
for r > 0 . Using (23), system (22) can be realized as an implicit variational equation for the primal variable on a linear subspace: Find u h V 0 , h such that
u h ( t h , x h ) = L x h on A ( u h , λ h ) , Q ( u h t ϕ h t + u h x ϕ h x ) d x d t = 0 L v 0 h ϕ h d x | t = 0
for all test functions ϕ h V , 0 h with ϕ h ( t h , x h ) = 0 on A ( u h , λ h ) . In contrast, a dual variable (the Lagrange multiplier) λ h R M is defined such that
λ h = r h on A ( u h , λ h ) , 0 on I ( u h , λ h ) ,
can be determined from the residual r h R DOF as
r h = Q ( u h t ϕ h t + u h x ϕ h x ) d x d t 0 L v 0 h ϕ h d x | t = 0 .
Proof. 
According to the definition of active–inactive sets in (23) and complementarity conditions in (22), we have two options:
u h ( t h , x h ) L + x h = 0 , λ h < 0 on A ( u h , λ h ) , u h ( t h , x h ) L + x h 0 , λ h = 0 on I ( u h , λ h ) .
Therefore, relations (22) turns into (23)–(26) and vice versa.    □
As a consequence of Theorem 2, we derive space-time iteration of the problems (23)–(26) over active sets, yielding a solution to the discretized primal–dual variational problem (22).
Some heuristics for stable implementation of Algorithm 1 are given, avoiding numerical instabilities and cycling.
Algorithm 1: (ST-PDAS).
Initialization: set iteration number k = 0 and initialize active set A 0 = .
Iteration: solve the linear system: Find u h k V 0 , h such that
u h k ( t h , x h ) = L x h on A h k , Q ( u h t k ϕ h t + u h x k ϕ h x ) d x d t = 0 L v 0 h ϕ h d x | t = 0
for all ϕ h V , 0 h with v h = 0 on A h k ; compute the residual r h k R DOF :
r h k = Q ( u h t k ϕ h t + u h x k ϕ h x ) d x d t 0 L v 0 h ϕ h d x | t = 0
and the Lagrange multiplier λ h k R M :
λ h k = r h k on A h k , 0 on I h k ;
update the active and inactive sets:
A h k + 1 = ( t h , x h ) Q ˜ : r λ h k u h k ( t h , x h ) + L x h < tol , I h k + 1 = ( t h , x h ) Q ˜ : r λ h k u h k ( t h , x h ) + L x h tol .
Termination: stop if the iteration cycles, or the stopping condition holds:
A h k + 1 = A h k .
  • The factors are r = 1 and tol = 10 5 in the definition of active and inactive sets (30).
  • The computational domain Q is extended to ( 0 , T + 2 h ) × ( 0 , L ) to fit the final time in the trial V 0 , h and the test V , 0 h spaces.
  • At the contact boundary Γ , for extended grid points { t = T + h , x = L } , { t = T + 2 h , x = L } , and for t * ( 0 , T ) , where the inactive set meets the active set (here t * = τ ), we realize the Neumann condition λ h k = u h x k = 0 in (18) by using the finite difference defined as
    u h k ( t , L ) u h k ( t , L h ) = 0 for t { t * , T + h , T + 2 h } .
    The finite difference approximation (32) for t = t * preserves iterates from instabilities happening near discontinuities.
  • To avoid the instability of iteration (30) that becomes possible after collision for k 2 , we use re-initialization of the inactive set I h k with I h k , satisfying the monotony condition
    λ j k = 0 for j = 1 , , DOF such that I j k 1 = I j k 2 .
    The heuristic re-initialization (33) remedies the M-property of the stiffness matrix and prevents iterates from cycling without it during contact transitions.
  • If the stopping condition (31) is attained, then r λ h k < tol on A h k and u h k ( t h , x h ) L + x h tol on I h k are guaranteed by (30). In the case of tol 0 and u h k ( t h , x h ) L x h on I h k , the iteration ( u h k , λ h k ) solves the reference problems (23)–(26) exactly.
We justify the ST-PDAS algorithm on the analytical benchmark from Theorem 1.

5. Numerical Benchmark

For numerical tests, this study set the parameters of bar length L = 1 , initial depth H = 0.5 , and velocity v 0 = 0.5 such that the collision time τ = 1 and the final time T = 4 , as shown in Figure 3. According to Theorem 1 and Remark 3, the analytical solution to the primal–dual problem (9) is given for the displacement as
u ( t , x ) = 1 2 t 1 in K 1 = { 0 t 4 , 0 x 1 : x + t 2 } , 1 x in K 2 = { 0 t 4 , 0 x 1 : x + t 2 , x t 2 } , 3 t in K 3 = { 0 t 4 , 0 x 1 : x t 2 } ,
and for the Lagrange multiplier as
λ ( t , x ) = 0 in Q = { 0 < t < 4 , 0 < x < 1 } , 0.5 if 1 < t < 3 0 otherwise on Γ = { 0 < t < 4 , x = 1 } .
After discretization of the collision problem in the finite element space V h , the choice of the integer number N determines the discrete parameters used in the following numerical tests. They are presented in Table 1: the mesh size h, the number of DOF in the closure cl ( Q ) , the number M of constrained nodes in Q ˜ = Q Γ , and the M/DOF ratio.
According to Theorem 2, numerical solution to the corresponding discrete problem is computed with the help of Algorithm 1. For N = 5 , an example solution is drawn in Figure 4. Here, the displacement u h ( t , x ) , velocity u h t ( t , x ) , and gradient u h x ( t , x ) are presented over the uniform triangle grid in the left (a), middle (b), and right (c) plots, respectively, where the color of triangles varies according to its heights. The time and space derivatives in the latter two plots are discontinuous. The numerical solution u h computed at nodes x h is almost equal to the exact solution u ( x h ) , with the error being less then 10 14 . Indeed, the exact solution is given by a piecewise linear function on the partition K 1 K 3 . Then, the piecewise linear interpolation differs only with respect to the elements crossing the interface Γ 23 , which does not coincide with the diagonal grid.
For physical consistency, the discrete energy is calculated from Formula (19) on the grid at equidistant time points t j = ( j 1 ) h for j = 1 , , 4 ( N 1 ) + 1 such that
E h ( t j ) = 1 2 i = 1 3 K i { t = t j , x ( 0 , 1 ) } ( u h t 2 + u h x 2 ) d x .
According to Corollary 1, the exact energy E = 0.125 is constant at all times. We measure the relative error with respect to the discrete L 2 -norm as
Err h = E h E E × 100 ( % ) .
The numerical energy E h computed from (36) and the relative energy error Err h obtained by (37) are portrayed in the left (a) and right (b) plots of Figure 5, respectively. Here, one can observes piecewise constant values of E h with jumps at the times t = 2 and t = 3 . These times correspond to the interface between regions K 2 and K 3 in the partition (37), which does not coincide with the diagonal grid. In contrary, the interface between regions K 1 and K 2 coincides with the diagonal grid, and energy at the time t = 1 is continuous without jump. The curves E h are visually indistinguishable from E for t < 2 and t > 3 ; otherwise, they tend to E when decreasing the step size h. The order of accuracy is estimated to be 1.5. The convergence rate is super-linear, that is, inherent for SSN methods.
Finally, the convergence behavior of the ST-PDAS algorithm is demonstrated. For N = 51 , implying about 10 4 constrained nodes, Algorithm 1 terminates successfully with A h k + 1 = A h k at the final k = 4 iterate. The iteration history of active sets A h 0 A h k + 1 is shown in the dark color over Q ˜ in Figure 6. Here, we realize the Neumann condition (32) and apply the monotony condition (33) by re-initializing the inactive set I h 2 with I h 2 . Namely, λ j 2 = 0 is set for the nodes j where the both previous iterates I j 1 = I j 0 were inactive. Here, one can observe at iterates 1 and 2 that the active sets A h 1 and A h 2 are bounded by lines x + t = 3 and x + t = 2 , where the latter is characteristic, but the former is not.
We have observed the same behavior of active sets for all numbers N tested. For illustration purposes, the iterates of the displacement u h 0 u h 4 in cl ( Q ) are shown in Figure 7 as N = 3 . For N = 5 , the iterates of the Lagrange multiplier λ h 0 λ h 4 over Q ˜ are presented in Figure 8. Here various colors are used for visualization reason to distinguish between portions of the reference rectangle Q.

6. Concluding Remarks

A space-time method of finite-element approximation has been developed and endowed with a primal–dual active set iteration treating unilateral constraints in two dimensions. The ST-PDAS algorithm has been tested for an analytical benchmark of a rigid obstacle collided by an elastic bar, which is characterized by a discontinuous velocity. The numerical tests on a uniform triangular grid converge in few iterations when processing some heuristic conditions before and after collision and provided by re-initialization. On grid points, the numerical solution is visually indistinguishable from the exact solution, and the energy converges super-linearly under grid refinement. If the initial velocity of the bar is v 0 1 , then the analytical solution is given by a piecewise linear function.
From the physical point of view, at time t = τ , the bar collides with the obstacle at its upper end. An elastic wave propagates through the bar with a velocity 1 and reaches its opposite end when moving with a kinematic velocity v 0 1 . Otherwise, the bar lower end reaches the obstacle before then at the elastic wave. For v 0 > 1 , there is a known bounce effect, which might be a subject of future research.

Funding

This research received no external funding.

Data Availability Statement

The data are contained within the article.

Acknowledgments

The author acknowledges the financial support by the University of Graz.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Aguirregabiria, J.M.; Hernández, A.; Rivas, M. Falling elastic bars and springs. Am. J. Phys. 2007, 75, 583–587. [Google Scholar] [CrossRef]
  2. Younis, M.I. MEMS Linear and Nonlinear Statics and Dynamics; Springer: New York, NY, USA, 2011. [Google Scholar] [CrossRef]
  3. He, J.H. Periodic solution of a micro-electromechanical system. Facta Univ. Ser. Mech. Eng. 2024, 22, 187–198. [Google Scholar] [CrossRef]
  4. Gwinner, J.; Jadamba, B.; Khan, A.A.; Raciti, F. Uncertainty Quantification in Variational Inequalities: Theory, Numerics, and Applications; Chapman and Hall/CRC: New York, NY, USA, 2021. [Google Scholar] [CrossRef]
  5. Migórski, S.; Ochal, A.; Sofonea, M. Nonlinear Inclusions and Hemivariational Inequalities: Models and Analysis of Contact Problems; Springer: New York, NY, USA, 2013. [Google Scholar] [CrossRef]
  6. Lebeau, G.; Schatzman, M. A wave problem in a half-space with a unilateral constraint at the boundary. J. Differ. Equ. 1984, 53, 309–361. [Google Scholar] [CrossRef]
  7. Laursen, T.A. Computational Contact and Impact Mechanics; Springer: Berlin/Heidelberg, Germany, 2003. [Google Scholar] [CrossRef]
  8. Wriggers, P. Computational Contact Mechanics; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar] [CrossRef]
  9. Chouly, F.; Hild, P.; Renard, Y. Finite Element Approximation of Contact and Friction in Elasticity; Birkhäuser: Cham, Switzerland, 2023. [Google Scholar] [CrossRef]
  10. Haslinger, J.; Neittaanmäki, P. Finite Element Approximation for Optimal Shape, Material and Topology Design; Wiley: Chichester, UK, 1996. [Google Scholar]
  11. Gwinner, J.; Stephan, E.P. Advanced Boundary Element Methods. Treatment of Boundary Value, Transmission and Contact Problems; Springer: Cham, Switzerland, 2018. [Google Scholar] [CrossRef]
  12. Steinbach, O.; Wendland, W.L. Boundary element methods for contact problems. In Advanced Multibody System Dynamics; Schiehlen, W., Ed.; Springer: Dordrecht, The Netherlands, 1993; pp. 433–438. [Google Scholar] [CrossRef]
  13. Bauer, E.; Kovtunenko, V.; Krejčí, P.; Monteiro, G.; Paoli, L.; Petrov, A. Non-convex sweeping processes in contact mechanics. Nonlinear Anal. Real World Appl. 2025, 87, 104456. [Google Scholar] [CrossRef]
  14. Kashiwabara, T.; Itou, H. Unique solvability of a crack problem with Signorini-type and Tresca friction conditions in a linearized elastodynamic body. Phil. Trans. R. Soc. A 2022, 380, 20220225. [Google Scholar] [CrossRef]
  15. Piersanti, P.; White, K.; Dragnea, B.; Temam, R. A three-dimensional discrete model for approximating the deformation of a viral capsid subjected to lying over a flat surface in the static and time-dependent case. Anal. Appl. 2022, 20, 1159–1191. [Google Scholar] [CrossRef]
  16. Rudoy, E.M.; Sazhenkov, S.A. The homogenized dynamical model of a thermoelastic composite stitched with reinforcing filaments. Phil. Trans. R. Soc. A 2024, 382, 20230304. [Google Scholar] [CrossRef]
  17. Efendiev, M.; Vougalter, V. On the well-posedness of some model with the cubed Laplacian arising in the Mathematical Biology. arXiv 2025, arXiv:2504.10628. [Google Scholar] [CrossRef]
  18. Egger, H.; Fellner, K.; Pietschmann, J.F.; Tang, B.Q. Analysis and numerical solution of coupled volume-surface reaction-diffusion systems with application to cell biology. Appl. Math. Comput. 2018, 226, 351–367. [Google Scholar] [CrossRef]
  19. Liu, W.; Borikarnphanichphaisal, K.; Song, J.; Vasilieva, O.; Svinin, M. Safe 3D coverage control for multi-agent systems. Actuators 2025, 14, 186. [Google Scholar] [CrossRef]
  20. Dirani, N.; Monasse, L. An explicit pseudo-energy conservative scheme for contact between deformable solids. Int. J. Numer. Meth. Engng. 2024, 125, e7395. [Google Scholar] [CrossRef]
  21. Doyen, D.; Ern, A.; Piperno, S. Time-integration schemes for the finite element dynamic Signorini problem. SIAM J. Sci. Comput. 2011, 33, 223–249. [Google Scholar] [CrossRef]
  22. Dabaghi, F.; Krejčí, P.; Petrov, A.; Pousin, J.; Renard, Y. A weighted finite element mass redistribution method for dynamic contact problems. J. Comput. Appl. Math. 2019, 345, 338–356. [Google Scholar] [CrossRef]
  23. Dabaghi, F.; Petrov, A.; Pousin, J.; Renard, Y. A robust finite element redistribution approach for elastodynamic contact problems. Appl. Numer. Math. 2016, 103, 48–71. [Google Scholar] [CrossRef]
  24. Khenous, H.B.; Laborde, P.; Renard, Y. Comparison of two approaches for the discretization of elastodynamic contact problems. C. R. Acad. Sci. Paris Ser. I 2006, 342, 791–796. [Google Scholar] [CrossRef]
  25. Paoli, L.; Schatzman, M. A numerical scheme for impact problems I: The one-dimensional case. SIAM J. Numer. Anal. 2002, 40, 702–733. [Google Scholar] [CrossRef]
  26. Newmark, N.M. A method of computation for structural dynamics. J. Eng. Mech. Div. 1959, 85, 67–94. [Google Scholar] [CrossRef]
  27. Hilber, H.M.; Hughes, T.J.R.; Taylor, R.L. Improved numerical dissipation for time integration algorithms in structural dynamics. Earthq. Eng. Struct. Dyn. 1977, 5, 283–292. [Google Scholar] [CrossRef]
  28. Kovtunenko, V.A.; Atlasiuk, O.M. Poroelastic medium with non-penetrating crack driven by hydraulic fracture: FEM approximation using HHT-α and semi-smooth Newton methods. Algorithms 2025. submitted for publication. [Google Scholar]
  29. Kovtunenko, V.A.; Renard, Y. Convergence analysis of semi-smooth Newton method for mixed FEM approximations of dynamic two-body contact and crack problems. J. Comput. Appl. Math. 2025, 471, 116722. [Google Scholar] [CrossRef]
  30. Kovtunenko, V.A.; Renard, Y. FEM approximation of dynamic contact problem for fracture under fluid volume control using HHT-α and semi-smooth Newton methods. Appl. Numer. Math. 2025, 218, 148–158. [Google Scholar] [CrossRef]
  31. Khludnev, A.; Kovtunenko, V. Analysis of Cracks in Solids; Advances in Fracture Mechanics Series; WIT-Press: Southampton, UK; Boston, MA, USA, 2000; Volume 6. [Google Scholar]
  32. Khludnev, A.M.; Sokolowski, J. Modeling and Control in Solid Mechanics; Birkhäuser: Basel, Switzerland, 1997. [Google Scholar] [CrossRef]
  33. Fernando, M.P.; Mallikarjunaiah, S.M. An AT1 phase-field framework for quasi-static anti-plane shear fracture: Unifying ξ-based adaptivity and nonlinear strain energy density function. arXiv 2025, arXiv:2506.23249. [Google Scholar] [CrossRef]
  34. Itou, H.; Kovtunenko, V.; Rajagopal, K. The Boussinesq flat-punch indentation problem within the context of linearized viscoelasticity. Int. J. Eng. Sci. 2020, 151, 103272. [Google Scholar] [CrossRef]
  35. Khludnev, A.M.; Kovtunenko, V.A.; Tani, A. Evolution of a crack with kink and non-penetration. J. Math. Soc. Japan 2008, 60, 1219–1253. [Google Scholar] [CrossRef]
  36. Nikolaeva, N. Junction problem for elastic Timoshenko inclusions in elastic bodies with a crack. J. Appl. Ind. Math. 2024, 18, 775–787. [Google Scholar] [CrossRef]
  37. Ghosh, S.; Bhatta, D.; Mallikarjunaiah, S.M. Computational insights into orthotropic fracture: Crack-tip fields in strain-limiting materials under non-uniform loads. arXiv 2025, arXiv:2507.01150. [Google Scholar] [CrossRef]
  38. Kovtunenko, V.A.; Lazarev, N.P. Variational inequality for a Timoshenko plate contacting at the boundary with an inclined obstacle. Phil. Trans. R. Soc. A 2024, 382, 20230298. [Google Scholar] [CrossRef]
  39. Popova, T. Numerical solution of the equilibrium problem for a two-dimensional elastic body with a delaminated rigid inclusion. Lobachevskii J. Math. 2024, 45, 5402–5413. [Google Scholar] [CrossRef]
  40. Alekseev, G.; Spivak, Y. Optimization-based numerical analysis of three-dimensional magnetic cloaking problems. Comput. Math. Math. Phys. 2021, 61, 212–225. [Google Scholar] [CrossRef]
  41. Fellner, K.; Kovtunenko, V.A. A singularly perturbed nonlinear Poisson–Boltzmann equation: Uniform and super-asymptotic expansions. Math. Meth. Appl. Sci. 2015, 38, 3575–3586. [Google Scholar] [CrossRef]
  42. Lyu, J.H.; Lin, T.C. Asymptotic analysis of boundary layer solutions to Poisson–Boltzmann type equations in general bounded smooth domains. arXiv 2025, arXiv:2506.20953. [Google Scholar] [CrossRef]
  43. Ito, K.; Kunisch, K. Lagrange Multiplier Approach to Variational Problems and Applications; SIAM: Philadelphia, PA, USA, 2008. [Google Scholar] [CrossRef]
  44. Hintermüller, M.; Kovtunenko, V.A.; Kunisch, K. Generalized Newton methods for crack problems with non-penetration condition. Numer. Meth. Partial Differ. Equ. 2005, 21, 586–610. [Google Scholar] [CrossRef]
  45. Hintermüller, M.; Kovtunenko, V.A.; Kunisch, K. A Papkovich–Neuber-based numerical approach to cracks with contact in 3D. IMA J. Appl. Math. 2009, 74, 325–343. [Google Scholar] [CrossRef]
  46. Abide, S.; Barboteu, M.; Cherkaoui, S.; Danan, D.; Dumont, S. Inexact primal–dual active set method for solving elastodynamic frictional contact problems. Comput. Math. Appl. 2021, 82, 36–59. [Google Scholar] [CrossRef]
  47. Nguyen, V.A.T.; Abide, S.; Barboteu, M.; Dumont, S. An improved normal compliance method for non-smooth contact dynamics. Banach Center Publ. 2024, 124, 191–217. [Google Scholar] [CrossRef]
  48. Kovtunenko, V.A. Space-time finite element based primal-dual active set method for the non-smooth problem of impact of rigid obstacle by elastic bar. Comput. Math. Model. 2025, 36. [Google Scholar] [CrossRef]
  49. Kovtunenko, V.A.; Petrov, A.; Renard, Y. Space-time FEM solution of dynamic contact problem with discontinuous velocity for multiple impact of deformed bar using PDAS method. Math. Meth. Appl. Sci. 2025. submitted for publication. [Google Scholar]
  50. Zank, M. Inf-Sup Stable Space-Time Methods for Time-Dependent Partial Differential Equations; Verlag der TU Graz: Graz, Austria, 2020. [Google Scholar]
  51. Zlotnik, A. Convergence rate estimates of finite-element methods for second order hyperbolic equation. In Numerical Methods and Applications; Marchuk, G.I., Ed.; CRC Press: Boca Raton, FL, USA, 1994; pp. 155–220. [Google Scholar] [CrossRef]
Figure 1. The collision benchmark in the deformed configuration x + u ( t , x ) for ( t , x ) Q .
Figure 1. The collision benchmark in the deformed configuration x + u ( t , x ) for ( t , x ) Q .
Computation 13 00210 g001
Figure 2. Analytical solution: displacement (a); velocity (b); space derivative (c).
Figure 2. Analytical solution: displacement (a); velocity (b); space derivative (c).
Computation 13 00210 g002
Figure 3. The diagonal triangle grid for N = 5 before deformation (a) and after deformation (b).
Figure 3. The diagonal triangle grid for N = 5 before deformation (a) and after deformation (b).
Computation 13 00210 g003
Figure 4. Example solution for N = 5 : displacement u h (a), velocity u h t (b), and gradient u h x (c).
Figure 4. Example solution for N = 5 : displacement u h (a), velocity u h t (b), and gradient u h x (c).
Computation 13 00210 g004
Figure 5. The discrete energy E h (a) and relative energy error Err h (b).
Figure 5. The discrete energy E h (a) and relative energy error Err h (b).
Computation 13 00210 g005
Figure 6. ST-PDAS iterates A h 0 A h 5 of the active set as N = 51 .
Figure 6. ST-PDAS iterates A h 0 A h 5 of the active set as N = 51 .
Computation 13 00210 g006
Figure 7. ST-PDAS iterates u h 0 u h 4 of the displacement as N = 3 .
Figure 7. ST-PDAS iterates u h 0 u h 4 of the displacement as N = 3 .
Computation 13 00210 g007
Figure 8. ST-PDAS iterates λ h 0 λ h 4 of the Lagrange multiplier as N = 5 .
Figure 8. ST-PDAS iterates λ h 0 λ h 4 of the Lagrange multiplier as N = 5 .
Computation 13 00210 g008
Table 1. Discrete parameters determined by the number N.
Table 1. Discrete parameters determined by the number N.
NhDOFMM/DOF
110.14513900.86
210.05170115800.92
310.033375135700.95
410.025660163600.96
510.0210,25199500.97
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kovtunenko, V.A. Space-Time Primal-Dual Active Set Method: Benchmark for Collision of Elastic Bar with Discontinuous Velocity. Computation 2025, 13, 210. https://doi.org/10.3390/computation13090210

AMA Style

Kovtunenko VA. Space-Time Primal-Dual Active Set Method: Benchmark for Collision of Elastic Bar with Discontinuous Velocity. Computation. 2025; 13(9):210. https://doi.org/10.3390/computation13090210

Chicago/Turabian Style

Kovtunenko, Victor A. 2025. "Space-Time Primal-Dual Active Set Method: Benchmark for Collision of Elastic Bar with Discontinuous Velocity" Computation 13, no. 9: 210. https://doi.org/10.3390/computation13090210

APA Style

Kovtunenko, V. A. (2025). Space-Time Primal-Dual Active Set Method: Benchmark for Collision of Elastic Bar with Discontinuous Velocity. Computation, 13(9), 210. https://doi.org/10.3390/computation13090210

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop