Skip to main content
Entropy logoLink to Entropy
. 2020 Jan 28;22(2):155. doi: 10.3390/e22020155

Thermodynamical Extension of a Symplectic Numerical Scheme with Half Space and Time Shifts Demonstrated on Rheological Waves in Solids

Tamás Fülöp 1,2,*, Róbert Kovács 1,2,3, Mátyás Szücs 1,2, Mohammad Fawaier 4
PMCID: PMC7516568  PMID: 33285930

Abstract

On the example of the Poynting–Thomson–Zener rheological model for solids, which exhibits both dissipation and wave propagation, with nonlinear dispersion relation, we introduce and investigate a finite difference numerical scheme. Our goal is to demonstrate its properties and to ease the computations in later applications for continuum thermodynamical problems. The key element is the positioning of the discretized quantities with shifts by half space and time steps with respect to each other. The arrangement is chosen according to the spacetime properties of the quantities and of the equations governing them. Numerical stability, dissipative error, and dispersive error are analyzed in detail. With the best settings found, the scheme is capable of making precise and fast predictions. Finally, the proposed scheme is compared to a commercial finite element software, COMSOL, which demonstrates essential differences even on the simplest—elastic—level of modeling.

Keywords: symplectic numerical methods, rheology, solids, waves

1. Introduction

Numerical solution methods for dissipative problems are important and are a nontrivial topic. Already for reversible systems, the difference between a symplectic and nonsymplectic finite difference method is striking: the former can offer reliable prediction that stays near the exact solution even at extremely large time scales, while the latter may provide a solution that drifts away from the exact solution steadily. For dissipative systems, the situation is harder. Methods that were born with reversibility in mind may apparently fail for a nonreversible problem. For example, a finite element software is able to provide, at the expense of a large run time, a quantitatively and even a qualitatively wrong outcome, while a simple finite difference scheme solves the same problem fast and precisely [1].

Partly inspired by, and partly based on, the intensive development on symplectic schemes for reversible problems, remarkable research has been done in recent years to develop geometric methods for dissipative systems, more on ones with finite degrees of freedom (including [2,3,4,5,6,7]) and less for continua (see, e.g., [8,9,10,11]).

Thermodynamics also modifies the way of thinking concerning numerical modeling. Even if quantities known from mechanics form a closed system of equations to solve numerically, monitoring temperature (or other thermodynamical quantities) for a nonreversible system can give insight on the processes and phenomena, for example, pointing out the presence of viscoelasticity/rheology, and displaying when plastic changes start [12]. In addition, temperature can also react in the form of thermal expansion and heat conduction, even in situations where one is not prepared for this “surprise” [13].

Furthermore, in a sense, thermodynamics is a stability theory. Therefore, how thermodynamics ensures asymptotic stability for systems may give new ideas on how the stability and suppression of errors can be achieved for numerical methods. A conceptually closer relationship is desirable between these two areas.

Along these lines, we present a study where a new numerical scheme is suggested and applied for a continuum thermodynamical model. The scheme proves to be an extension of a symplectic method. In parallel, our finite difference scheme introduces a staggered arrangement of quantities by half space and time steps with respect to each other, according to the spacetime nature of the involved quantities and the nature of equations governing them. The shifts can be introduced by inspecting the equations. It turns out that balances, kinematic equations, and Onsagerian equations all have their own distinguished discretized realization. The shifts also render the scheme with one order of accuracy higher than the original symplectic scheme.

The continuum system that we take as the subject of our investigation is important on its own—it is the Poynting–Thomson–Zener (PTZ) rheological model for solids. This model exhibits both dissipation and wave propagation (actually, dispersive wave propagation), and this is thus ideal for testing various aspects and difficulties. Meanwhile, its predictions are relevant for many solids, typically ones with complicated micro- or mesoscopic structure, such as rocks [14,15,16], plastics [12], and asphalt. This non-Newtonian rheological model can explain why slow and fast measurements and processes give different results.

Solutions in the force-equilibrial and space-independent limit have proved successful in explaining experimental results [12]. Space-dependent—but still force-equilibrial—analytical solutions can model the opening of a tunnel, the gradual loading of thick-walled tubes and spherical tanks, and other problems [17]. The next level is to leave the force-equilibrial approximation, partly in order to cover and extend the force-equilibrial results but also to be utilized for evaluating measurements that include wave propagation as well. The present work is, in this sense, the next step in this direction.

2. Properties of the Continuum Model

The system that we consider is a homogeneous solid with Poynting–Thomson–Zener rheology, in small-strain approximation (hence, there is no need to distinguish between Lagrangian and Eulerian variables, or between material manifold vectors, covectors, tensors, etc. and spatial spacetime ones), in one space dimension (1D). Notably, the numerical scheme we introduce in the following section can be generalized to 2D and 3D with no difficulty (the results of our ongoing research on 2D and 3D are to be communicated later). For the present 1D treatment, we keep the technical details at a minimum so that we can focus on the key ideas.

The set of equations we discuss is, accordingly,

ϱvt=σx (1)
εt=vx (2)
σ+τσt=Eε+E^εt (3)

where ϱ is mass density (constant in the small-strain approximation), (1) tells us how the spatial derivative of stress σ determines the time derivative of the velocity field v (volumetric force density being omitted for simplicity), (2) is the kinematic relationship between the strain field ε and v, and the rheological relationship (3) contains, in addition to Young’s modulus E, two positive coefficients E^,τ. (We note that, in the present context, ε can be used as the thermodynamical state variable for elasticity, but not in general; see [18,19]).

The PTZ model is a subfamily within the Kluitenberg–Verhás model family, which can be obtained via a nonequilibrium thermodynamical internal variable approach [20]. The PTZ model looks particularly simple, after eliminating the internal variable, both in specific energy etotal and in specific entropy s:

etotal=ekinetic+ethermal+eelastic+erheological12v2+cσT+E2ϱε2+τ2ϱI^σEε2 (4)
s=cσlnTTaux (5)

where thermal expansion and heat conduction are neglected, and the “isobaric” specific heat cσ is assumed constant for simplicity (a)long the lines of [20], Appendix B. T is the absolute temperature, the auxiliary constant Taux is present on dimensional grounds, and the “index of damping” I^ [20] is

I^=E^τE>0, (6)

the inequality being a consequence of the second law of thermodynamics. Moreover, in this simple setting, the entropy production rate density

1TσEε2I^ (7)

increases temperature directly:

ϱcσTt=σEε2I^. (8)

Equation (8) can be derived by taking ϱT times the time derivative of (5), together with the balance of entropy and the fact that, with neglected heat conduction, entropy current density has also been set to zero.

Remarkably, also thanks to our simplifications, the closed system of Equations (1)–(3) to be solved is linear. Having the solution for v, ε, and σ, the further quantities (T, s, and the various energy terms) can be obtained.

Our system admits two distinguished time scales, τ and

τ^=E^E>τ, (9)

the inequality following from (6). For phenomena much slower than these time scales, the rule-of-thumb approximation of keeping only the lowest time derivative for any quantity present in (3) gives the Hooke model

σ=Eε, (10)

formally the τ0, E^0 (τ^0) limit of (3). The system of Equations (1) and (2), (10) leads to a wave equation for v, σ, ε each, with wave speed

c=Eϱ. (11)

On the other side, for processes much faster then the two time scales, keeping the highest time derivatives leads to

τσt=E^εt,σt=E^τεt,t1t2dtgivesΔt1t2σ=E^τΔt1t2ε; (12)

that is, for stress and strain changes (e.g., for deviations from initial values), the system effectively behaves like a Hooke model, with a “dynamic” Young’s modulus

E=E^τ,E>E. (13)

The corresponding effective wave equation possesses the wave speed

c^=Eϱ=E^τϱ,c^>c. (14)

For a more rigorous and closer investigation of these aspects, the dispersion relation can be derived. Namely, on the line <x<, any (not too pathological) field can be given as a continuous linear combination of eikx space dependences, where the “wave number” k is any real parameter. If such a (Fourier) decomposition is done at, say, t=0, then the subsequent time dependence of one such mode may be particularly simple:

vεσ(0,x)=iAvkAεkAσkeikx,vεσ(t,x)=iAvkAεkAσkeiωteikx (15)

with some appropriate ω, which is complex, in general; the factor i in the first component is introduced in order to be in tune with later convenience. A space and time dependence

eiωteikx=eImωteiReωteikx=e(Imω)teikxReωkt (16)

expresses traveling with a constant velocity Reωk and an exponential decrease (for dissipative systems like ours, Imω<0). In general, how many ω variables are possible depends on the number of fields and on the order of time derivatives. In our case, deriving the relationship between compatible ω and k—the dispersion relation—is straightforward:

ω21iτω1iτ^ω=c2k2. (17)

In the limit ω0 (limit of slow processes), we find

ω2=c2k2,ω=±ck,Reωk=ωk=±c, (18)

while in the opposite limit ω (limit of fast processes), the result is

ω2iτωiτ^ω=ω2ττ^=c2k2,ω=±c^k,Reωk=ωk=±c^. (19)

Both results confirm the findings above ((11) and (14), respectively).

This is a point where we can see the importance of the PTZ model. Namely, when measuring Young’s modulus (or, in 3D, the two elasticity coefficients) of a solid, the speed of uniaxial loading or the frequency of sound in an acoustic measurement may influence the outcome, and an adequate/sufficient interpretation may come in terms of a PTZ model. Indeed, in rock mechanics, dynamic elastic moduli are long known to be larger than their static counterparts (a new and comprehensive study on this, [21], is in preparation), in accordance with the thermodynamics-originated inequality in (14) (or its 3D version).

3. The Numerical Scheme

The classic attitude to finite difference schemes is that all quantities are registered at the same discrete positions and at the same discrete instants. An argument against this practice is that, when dividing a sample into finite pieces, some physical quantities have a meaning related to the bulk, the center of a piece, while others have a physical role related to the boundaries of a unit. For example, in Fourier heat conduction, heat flux is proportional to the gradient of temperature. A natural discretization of this, in one space dimension, is that temperature values sit at the centers and heat flux values at the boundaries—in other words, at a half space step distance from the centers [1]. In addition, in heat conduction, the change rate of specific internal energy is determined by the divergence of the heat flux. The natural one space dimensional discretization is then that, since heat flux values sit at the boundaries, specific internal energy values ethermal are placed at the centers (at the same places where temperature values T are put, which is in tune with the fact that the two are related to one another via ethermal=cσT) [1]. More generally, in continuum theories, specific extensive and density quantities would naturally live at a center, while currents/fluxes are boundary-related by their physical nature/role.

Here, we generalize this approach. Namely, when one has a full—at the general level, 4D—spacetime perspective (which unfolds that traditional physical quantities are time- and spacelike components of four-vectors, four-covectors, four-cotensors etc. governed by 4D equations with four-divergences, four-gradients etc.), then it turns out that quantities may “wish” to be staggered with respect to each other by a half in time as well. Taking again the example of the balance of internal energy in heat conduction, the finite-difference discretization of the change rate of specific internal energy ethermal contains the change Δethermal corresponding to a finite time difference Δt. This change is caused by the flux of heat leaving the spatial unit during this time interval Δt, which is the time average of the flux naturally realized at half-time Δt/2. Accordingly, heat flux values would be realized as half-shifted in time with respect to specific internal energy.

More generally, if an equation relates the change rate of a quantity to another quantity, then these two quantities would be realized as half-shifted in time with respect to one another.

To sum up, the space and time derivatives suggest how we can arrange the quantities with space and time half-shifts, respectively.

This approach is what we realize for the present system. Discrete space and time values are chosen as

xn=nΔx,n=0,1,,N,tj=jΔt,j=0,1,,J, (20)

and discrete values of stress are prescribed to these spatial and temporal coordinates:

σnjattj,xn. (21)

Next, investigating (1), we decide to put velocity values half-shifted with respect to stress values both in space and time:

vn+1/2j1/2attjΔt2,xn+Δx2, (22)

and discretize (1) as

ϱvn+1/2j+1/2vn+1/2j1/2Δt=σn+1jσnjΔx. (23)

Next, studying (2) suggests analogously that we should have strain values half-shifted with respect to velocity values both in time and space. Therefore, strain is to reside at the same spacetime location as stress:

εnjattj,xn, (24)

and (2) is discretized as

εnj+1εnjΔt=vn+1/2j+1/2vn1/2j+1/2Δx. (25)

Finally, for the Hooke model, (10) is discretized plainly as

σnj=Eεnj, (26)

as stress and strain are assigned to the same locations. In the Hooke case, bookkeeping both stress and strain is redundant.

Rewriting the scheme for the Hooke case as

vn+1/2j+1/2=vn+1/2j1/2+EϱΔtΔxεn+1jεnj,εnj+1=εnj+ΔtΔxvn+1/2j+1/2vn1/2j+1/2, (27)

we can recognize the steps of the symplectic Euler method [22] (with the Hamiltonian corresponding to ekinetic+eelastic). Now, a symplectic method is highly favorable because of its extremely good large-time behavior, including the preservation of energy conservation. While (27) coincides with the symplectic Euler method computationally, the present interpretation of the quantities is different, because of the space and time staggering. One advantageous consequence is that, due to the reflection symmetries (see Figure 1), our scheme makes second-order accurate predictions (understood in powers of Δt and Δx), while the symplectic Euler method makes only first-order accurate ones [22]. Indeed, setting

t=tj,x=xn+Δx2 (28)

and assuming that

vn+1/2j1/2=vtΔt2,x,εn+1j=εt,x+Δx2,εnj=εt,xΔx2 (29)

exactly, the error of the prediction for vnj+1 is

vn+1/2j+1/2vt+Δt2,x=vn+1/2j1/2+EϱΔtΔxεn+1jεnjvt+Δt2,x=vtΔt2,xvt+Δt2,x+EϱΔtΔxεt,x+Δx2εt,xΔx2=vtt,xΔt+OΔt3+EϱΔtΔxεxt,xΔx+OΔx3=OΔt3+OΔtΔx2 (30)

after Taylor series expansion, cancellations, and the use of (1).

Figure 1.

Figure 1

Visualization of the finite difference numerical scheme. Velocity values stay at triangles, strain and stress values at rhombuses, and filled symbols denote values calculated via the scheme, while empty ones represent initial and boundary conditions. First, new velocities are determined from (23), new strains are obtained according to (25), and new stress values are obtained from (26) or (32). Grey indicates initial condition values (which are typically known for a whole time interval in practice). If the “grey dashed triangles” are not available, then an explicit Euler step can be used to produce the “white dashed triangles” for starting the scheme.

Analogously, with

t=tj+Δt2,x=xn, (31)

the second-order accuracy of prediction εnj+1 can be proved.

In case of the PTZ model, we need to discretize (3). Here, both σ and its derivative, and both ε and its derivative, appear. Hence, staggering does not directly help us. This is what one can expect for dissipative, irreversible, relaxation-type equations in general. However, an interpolation-like solution is possible:

ασnj+(1α)σnj+1+τσnj+1σnjΔt=Eαεnj+(1α)εnj+1+E^εnj+1εnjΔt (32)

where α=1/2 is expected to provide second-order accurate prediction, and other seminal values are α=1 (the explicit case, which is expected to be stiff) and α=0 (the fully implicit case).

For a generic α, (32) looks implicit. However, thermodynamics has brought in an ordinary differential equation-type extension to the Hooke continuum, not a partial one, and a linear one, in fact. Thus, (32) can be rewritten in explicit form:

σnj+1=11α+τΔtτΔtασnj+Eαεnj+(1α)εnj+1+E^εnj+1εnjΔt (33)

assuming

1α+τΔt0. (34)

Verifying the second-order accuracy of (33) for α=1/2 is then straightforward, in complete analogy to the two previous proofs.

4. Stability

One may specify a space step Δx according to the given need, adjusted to the desirable spatial resolution. In parallel, the time step Δt is reasonably chosen to be considerably smaller than the involved time scales (e.g., τ and τ^ of our example system). Now, a finite difference scheme may prove to be unstable for the taken Δx and Δt, making numerical errors (which are generated unavoidably because of floating-point round-off) increase essentially exponentially and ruining the usefulness of what we have done. Therefore, first, a stability analysis is recommended, to explore the region of good pairs of Δx, Δt for the given scheme and system.

We continue with this step for our scheme and system, performing a von Neumann investigation [23], where the idea is similar to the derivation of the dispersion relation. There, the time evolution of continuum Fourier modes was studied (see (15)), while here we examine whether errors, expanded in modes with eikxn space dependence, increase or not, during an iteration by one time step. For such linear situations as ours, when the iteration step means a multiplication by a matrix, such a mode may simply obtain a growth factor ξ (that is k-dependent but space-independent); in other words, the iteration matrix (frequently called the “transfer matrix”) has these modes as eigenvectors with the corresponding eigenvalues ξ. Thus, ξ<1 (for all k) ensures stability. Furthermore, ξ=1 means stability if the algebraic multiplicity of ξ—its multiplicity as a root of the characteristic polynomial of the transfer matrix—equals its geometric multiplicity—the number of linearly independent eigenvectors (eigenmodes), i.e., the dimension of the eigensubspace ([24], page 186, Theorem 4.13; [25], page 381, Proposition 2).

We find it important to emphasize the following. The stability of the corresponding physical model, the Poynting–Thomson–Zener body, is ensured by the second law of thermodynamics. Thus, asymptotic stability of the solutions is guaranteed. The numerical method, and thus the stability analysis, must reflect the thermodynamical (physical) requirements as well, together with the particular conditions related to the applied discretization method. In overall, these aspects are not independent of each other. Such a way of thinking is also emphasized in [26], in which a numerical method is developed for electrodynamical problems using staggered fields and expecting similar properties as in our case.

With boundary conditions specified, one can say more. (Actually, all continuum problems require boundary or asymptotic conditions—we also specify some in the forthcoming section on applications.) Boundary conditions may allow only certain combinations of eikxn as eigenmodes of the transfer matrix. Consequently, this type of analysis is more involved and is, therefore, usually omitted. As a general rule of thumb, one can expect that ξ>1 for some eikxn indicates instability for modes obeying the boundary conditions, while ξ1 for all eikxn suggests stability for all modes allowed by the boundary conditions. (Namely, the problem of differing multiplicities for ξ=1 can be wiped out by the boundary conditions.)

4.1. The Hooke Case

In the Hooke case, the “plane wave modes” for the two bookkept quantities v, ε can, for later convenience, be written as

vn+1/2j1/2=iAvjeikn+12Δx,εnj=AεjeiknΔx,kΔx[0,2π), (35)

and the condition on k related to that k outside such a “Brillouin zone” makes the description redundant.

Realizing the iteration steps (27) as matrix products leads, for the amplitudes introduced in (35), to

Avj+1Aεj+1=102ΔtΔxS1·Avj+1Aεj=102ΔtΔxS1·12c2ΔtΔxS01·AvjAεj=12c2ΔtΔxS2ΔtΔxS14c2Δt2Δx2S2·AvjAεjT·AvjAεj (36)

with

S=sinkΔx2,0S1. (37)

For space dependences (35),

vn+1/2j+1/2=ξvn+1/2j1/2,εnj+1=ξεnjleadtoAvj+1=ξAvj,Aεj+1=ξAεj, (38)

in other words, to the eigenvalue problem

Ty=ξywithy=AvjAεj. (39)

Let us introduce the notation

C=cΔtΔx (40)

for the Courant number of our scheme for the Hooke system. Comparing the characteristic polynomial of T,

Pξ=ξ2+4C2S22ξ+1 (41)

with its form written via its roots,

ξξ+ξξ=ξ2ξ++ξξ+ξ+ξ, (42)

reveals, on one side, that, in order to have both ξ+1 and ξ+1, both magnitudes have to be 1 (since their product is 1), which, on the other side, also implies

4C2S22=ξ+ξξ++ξ2C2S21,CS1, (43)

as both C and S are non-negative.

If CS<1, then the two roots,

ξ±=12C2S2±4C2S2C2S21, (44)

are complex, with a unit modulus, and are the complex conjugate of one another. Especially simple—and principally distinguished, as we see in the next sections—is the case C=1. Thus,

ξ±=e±ikΔx, (45)

with the remarkable property that argξ± linearly depends on k—which is to say that both branches of the discrete dispersion relation are linear.

In parallel, if CS=1, then the two roots coincide, ξ±=1. The algebraic multiplicity 2 is accompanied with geometric multiplicity 1: only the multiples of

y=c1 (46)

are eigenvectors. If C=1, then this affects only one mode, S=1, k=πk, and if that mode is prohibited by the boundary conditions, then the choice C=1 ensures a stable scheme.

With C>1, CS1 would be violated by a whole interval for k (recall (37)), which may not be cured by boundary conditions, so the best candidate (the largest Δt for a fixed Δx, or the smallest possible Δx for fixed Δt) to have stability is C=1.

4.2. Poynting–Thomson–Zener Case

For the PTZ system, the von Neumann stability analysis of our discretization studies the modes

vn+1/2j1/2=iAvjeikn+12Δx,εnj=AεjeiknΔx,σnj=AσjeiknΔx, (47)

on which iteration via

vn+1/2j+1/2=vn+1/2j1/2+1ϱΔtΔxσn+1jσnj,εnj+1=εnj+ΔtΔxvn+1/2j+1/2vn1/2j+1/2, (48)
σnj+1=11α+τΔtτΔtασnj+Eαεnj+(1α)εnj+1+E^εnj+1εnjΔt, (49)

gives

Avj+1Aεj+1Aσj+1=1000100E1α+E^Δt1α+τΔtτΔtα1α+τΔt·1002ΔtΔxS10001·102ΔtϱΔxS010001·AvjAεjAσj+0000000EαE^Δt1α+τΔt0·AvjAεjAσjT^AvjAεjAσj (50)

with

T^=102ΔtϱΔxS2ΔtΔxS14Δt2ϱΔx2S22E1α+E^Δt1α+τΔt·ΔtΔxSE1α+τΔtτΔtα1α+τΔt4E1α+E^Δt1α+τΔt·Δt2ϱΔx2S2. (51)

The characteristic polynomial is now

P^ξ=a3ξ3+a2ξ2+a1ξ+a0, (52)
a0=ατΔt1α+τΔt,a1=324ατ^ΔtC2S21α+τΔt,a2=3+1+41α+τ^ΔtC2S21α+τΔt,a3=1. (53)

Three roots are considerably more difficult to directly analyze. One alternative is to use Jury’s criteria [27] for whether the roots are within the unit circle of the complex plane, and another possibility is to apply the Möbius transformation ξ=η+1η1 on (52) and utilize the Routh–Hurwitz criteria to determine whether the mapped roots are within the left half plane. The two approaches provide the same result. Nevertheless, one criterion provided by one of these two methods may not directly be one criterion of the other method. It is only the combined result (the intersection of the conditions) that agrees. Accordingly, it can be beneficial to perform both investigations because it may be laboring to recognize a simple condition provided by one of the routes as a consequence of the conditions directly offered by the other route.

Jury’s criteria, for our case, are as follows. First, P^1>0 gives

4C2S21α+τΔt>0,1α+τΔt>0. (54)

Second, 13P^1>0 yields

8812+12α+τ^ΔtC2S21α+τΔt>0, (55)

which, in light of (54), reduces to

12α+τΔt>12α+τ^ΔtC2S2. (56)

Third, the matrices a3a20a3±0a0a0a1 have to be positive innerwise. Following Jury [27], a matrix is positive innerwise if the determinant of the matrix and its all inners are positive. Here, the inner Δm2 of an m×m matrix is formed by deleting its first and mth rows and columns. Inner Δm4 is the inner of Δm2, and the procedure is continued until Δ1 or Δ2 is reached. Inners enter the picture only for m3, so, in our case, only positive definiteness of the matrices themselves is to be ensured. Now, the ‘+’ branch leads to

12α+τΔt>τ^τΔtC2S2, (57)

which is weaker than (56), because there the rhs is larger by 1α+τΔtC2S2 (and cf. (54)). Meanwhile, the ‘−’ branch induces condition

τ^>τ, (58)

which we have already encountered in (9) as the thermodynamical requirement (6) at the continuum level, and which also induces, via (57),

12α+τΔt>0, (59)

which is stronger than (54). This also allows us to rearrange (56) and exploit it as

C2S2<12α+τΔt12α+τ^Δt<1forall0S1C2<12α+τΔt12α+τ^Δt<1. (60)

Conditions (58)–(60) summarize the obtained stability requirements, the first referring to the constants of the continuum model only, the second relating α and Δt of the scheme, and the third limiting Δx (through C) in light of α and Δt.

If, instead of Jury’s criteria, one follows the Routh–Hurwitz path on the Möbius transformed polynomial,

Q^η=η13P^η+1η1=b3η3+b2η2+b1η+b0, (61)
b0=8ϱΔx212α+τΔt12α+τ^ΔtC2S2,b1=4ϱΔx21C2S2Δt, (62)
b2=812α+τΔtEΔt2S2,b3=4EΔt3S2, (63)

then, having b3>0, roots lie in the left half plane if all corner subdeterminants of b2b00b3b100b2b0 are positive; i.e., b2>0, b1b2b0b3>0 and b0b1b2b0b3>0 (hence, b0>0) are needed. As expected, these conditions prove to be equivalent to the ones obtained via Jury’s criteria—we omit the details to avoid redundant repetition.

4.2.1. The Kelvin–Voigt Model

Although the focus of the present paper is on the hyperbolic-like case corresponding to τ>0, the above calculations are valid for τ=0, the Kelvin–Voigt subfamily as well. As a brief analysis of this case, (58) is trivially satisfied with τ^>0. (59) gives the nontrivial condition α<1/2. (Together with boundary conditions, this may be weakened to α12.) Finally, (60) gives

12αΔt2+τ^Δt<12αc2Δx2, (64)

which looks like some mixture of a stability condition for a scheme for a parabolic problem, such as Fourier heat conduction, and of a condition for a simple reversible wave propagation.

4.2.2. Beyond Kelvin–Voigt

When τ>0, then

C^=c^ΔtΔx>C (65)

becomes important (recall (14)).

The most interesting case is α=1/2, where the scheme yields second-order accurate predictions: (59) holds trivially, and (60) can be rewritten as

C^<1. (66)

With boundary conditions also present, we may extend this condition to

C^1. (67)

We considered the two other potentially interesting cases as well. If α=1, then (59) induces Δt<2τ, which is not a harsh requirement since the time step must usually be much smaller than the time scales of the system in order to obtain a physically acceptable numerical solution. In parallel, C^ is limited from above by a number smaller than 1. On the other side, when α=0, then (59) is automatically true again, and now C^ is limited from above by a number larger than 1. Since we may need Δtτ for a satisfactory solution, this OΔtτ gain over 1 is not considerable.

4.2.3. Hooke Case

It is worth looking back to the Hooke limit of (60): τ=τ^=0 (with whatever α) tells C<1. One can see that the ξ<1 stability requirement yields conservative results and does not tell us how far the obtained inequalities are from equalities.

5. Numerical Results

The calculations communicated here are carried out with zero v,ε,σ as initial conditions, and with stress boundary conditions: on one end of the sample, a cosine-shaped pulse is applied (see Figure 2), while the other end is free (stress is zero). With τb denoting the temporal width of the pulse, the excitation is, hence,

σt,0=σb21cos2πtτbif0tτb,0otherwise. (68)

Figure 2.

Figure 2

Snapshot of the shape of the fully born stress pulse near the left end of the sample.

Temperature is calculated via the discretized form of (8), with the natural choice that temperature values reside at the same place as stress and strain, but half-shifted in time (Tnj1/2 at tjΔt2,xn).

When plotting, say, elastic energy of the whole sample at time tj, a simple E2nεnj2Δx type sum is used, with two adjustments. First, terms living at the outer endpoint of an outermost space cell, such as ε0j2 and εNj2, are counted with weight 12. Second, kinetic energy and thermal energy, both being based on quantities half-shifted in time, are calculated as a time average, their value at tj taken as the average of their value at tjΔt2 and tj+Δt2.

The numerical calculations are performed for dimensionless quantities. For making the quantities dimensionless, the following units are used: the length of the sample X, c (so a Hookean wave arrives at the other end during unit time), E, σb, and cσ. Accordingly, dimensionless position, time, velocity, stress, strain, energy, temperature, and wave number are defined as

x˜=1Xx,t˜=cXt,v˜=1cv,σ˜=1σbσ,ε˜=Eσbε,e˜=E2c2σb2e,T˜=E2cσc2σb2T,k˜=Xk. (69)

The results are presented for dimensionless time constants

τ˜b=0.2,τ˜=1.25,τ^˜=5, (70)

the latter two implying c^/c=2.

5.1. Hookean Wave Propagation

For the Hooke system, our scheme is symplectic, with very reliable long-time behavior. This is well visible in Figure 3: the shape is nicely preserved, no numerical artefacts are visible in the spacetime picture, and the sum of elastic and kinetic energy is conserved.

Figure 3.

Figure 3

Left: Snapshot of the stress pulse right before its 15th bouncing back from the boundary. Middle: Spacetime picture of the wave propagation. Bouncing back from free ends makes stress change sign. Right: Elastic energy, kinetic energy, and their sum as functions of time. Calculation done with N=200 space cells and C=1.

5.2. Poynting–Thomson–Zener Wave Propagation

For the PTZ system, we find that the principally optimal choice of α=1/2 does outperform α=0 (with C^=1). Figure 4 shows such a comparison: α=1/2 produces a reliable signal shape quite independently of space resolution, while α=0 needs more than N=1000 space cells to reach the same reliability.

Figure 4.

Figure 4

Upper row:α=1/2; Lower row:α=0—calculation of the stress signal when it starts its 7th bouncing, with C^=1. From left to right:N=400,800,1600 space cells.

α=1/2 suggests that realibility already at N=50, and even N=25, “does a decent job,” as depicted in Figure 5.

Figure 5.

Figure 5

The same α=1/2 prediction with N=25,50,100 space cells, from left to right, respectively.

With α=1/2, the spacetime picture and total energy conservation are not less satisfactory, as visible in Figure 6.

Figure 6.

Figure 6

α=1/2, C^=1 spacetime picture and energy conservation, N=200.

The physical explanation of the signal shape (Figure 4 and Figure 5) is that the fastest modes propagate with speed c^ (recall Section 2), transporting the front of the signal, while slow modes travel with c<c^, gradually falling behind, and forming, little by little, a thickening tail.

In parallel, the spacetime picture shows that this tail effect is less relevant than the overall decrease of the signal, due to dissipation.

Finally, concerning the energy results, the remarkable fact is that all ingredients v,ε,σ,T are calculated via discretized time integration, so total energy conservation is not built in, but is a test of the quality of the whole numerical approach. The observed good energy conservation behavior would deserve deeper analysis in the future, possibly analogously to [6].

6. Dissipation Error and Dispersion Error

6.1. Hooke Case

The Hooke system might appear as a simple introductory task for numerics. This is actually far from true. The Hooke case already displays both dissipation error and dispersion error if not treated with appropriate care (see Section 7 below, as well as [28]). While the greatest danger, instability, is about an exponential exploding of error, dissipation error is “the opposite”: when the signal decreases in time, losing energy due to numerical artefact only. This type of error is related to ξ<1 modes, which indicates that one should try to stay on the unit circle with ξ. On the other side, in addition to the modulus of ξ, its argument can also cause trouble: if argξ is not linear in k, then dispersion error is induced, which is observable as unphysical waves generated numerically around signal fronts. These errors are present even in a symplectic scheme such as ours, as illustrated in Figure 7. More insight is provided by Figure 8.

Figure 7.

Figure 7

Wavy dispersion error and decrease by dissipative error for the Hooke system when C=1/2, with N=100.

Figure 8.

Figure 8

Upper row: Case of C=1; lower row: case of C=1/2. Left: The two roots ξ± in the complex plane; right: k dependence of the argument of ξ±.

6.2. Poynting–Thomson–Zener Case

In case of a dissipative system such as the PTZ one, it is hard to detect the dissipative error, i.e., to distinguish it from the physical dissipation. The dispersion error remains visible, as Figure 9 shows.

Figure 9.

Figure 9

The stress signal provided by the scheme with C^=1/2, N=200, for comparison with Figure 5. (All other settings are the same.)

Usually, one would need to set Δt to be much smaller than τ, τ^ (and τb) to obtain a physically acceptable approximation. Rewriting the coefficients (53) as

a0=αΔtτ11αΔtτ+1=1+OΔtτ,a1=32Δtτ4αΔtττ^τC2S21αΔtτ+1=34C^2S2+OΔtτ,a2=3+Δtτ+41αΔtτ+τ^τC2S21αΔtτ+1=3+4C^2S2+OΔtτ,a3=1, (71)

in the limit Δtτ0, the characteristic polynomial reduces to

ξ3+3+4C^2S2ξ2+34C^2S2ξ1=ξ1ξ2+2+4C^2S2ξ+1, (72)

with roots satisfying ξ0=ξ+=ξ=1, excluding thus the dissipation error. Especially simple and distinguished is the case C^=1, when the roots are

ξ0=1,ξ±=e±ikΔx, (73)

providing dispersion relations linear in k and, hence, getting rid of dispersion error as well.

With slightly nonzero Δtτ, these nice properties are detuned but only up to OΔtτ, as shown in Figure 10, Figure 11 and Figure 12 (prepared at a dimensionless time step value of 0.01; the detuning appears weaker for α=1/2 than for α=0).

Figure 10.

Figure 10

Visualization of the three branches ξ0k,ξ+k,ξk for C^=1. Upper row: α=1/2; lower row:α=0.

Figure 11.

Figure 11

Same as Figure 10, but with C^=1/2.

Figure 12.

Figure 12

In Figure 10 and Figure 11, the roots are not exactly on the unit circle—here, Δt dependence of ξ0 and ξ± is displayed, at a neutral value kΔx=π/4, for C^=1 and α=1/2.

7. Solutions Using the Finite Element Software COMSOL

Finally, for comparative reasons, we present solutions obtained via a commercial finite element software, namely, COMSOL v5.3a. We considered the Hookean case, for which the COMSOL implementation is straightforward since the built-in mathematical environment offers the possibility to solve such classical partial differential equations, too.

For the finite element realization, we chose the displacement field as the primary field variable. Velocity, plotted in the figures below, is then obtained by taking its time derivative.

To conform with the units used for defining the dimensionless quantities, we set both the propagation speed and the sample length to unity. The spatial domain consisted of 100 elements, obtained using the options of a “physics-controlled mesh” and an “extremely fine” element size. On the boundaries, the gradients were prescribed, and the excitation was given analogously to our above simulations (see (68) and Figure 2). We examined the schemes for two different pulse lengths, τ˜b=0.2 and τ˜b=0.04.

In what follows, we tested five different settings for time stepping, in order to find the appropriate ones and to compare their effectiveness. For the simulations, we used a configuration of an i7-7700 CPU with 3.6 GHz and 16 GB RAM. COMSOL supports parallel computing, which is an option that has been exploited. Although the run time strongly depends on other factors, it provides a good picture for comparing the effectiveness of the commercial approach and the scheme presented in this paper.

Our scheme, using the same number of spatial elements and time interval, ran in around 0.2 s in Matlab (using 1 core only) for both pulse lengths, as measured by Matlab. First, we present the results of our scheme (see Figure 13). The solutions are apparently free of dissipation and of dispersion.

Figure 13.

Figure 13

Applying the proposed scheme in the case of two different pulse lengths; τ˜b=0.2 (left) and τ˜b=0.04 (right). The dimensionless space and time steps are Δx˜=Δt˜=0.01. This time step is actually not much smaller than the shorter pulse length, so, for example, the tips cannot be plotted accurately when τ˜b=0.04, but the solution still performs well.

Next, we present the outputs obtained via COMSOL used with various settings.

7.1. Backward Differentiation Formula (BDF), Order 2 and Order 5

In its simplest version, it is the backward Euler scheme that has good stability properties, with artificial damping effects. As shown by the comparison in Figure 14, artificial damping is stronger for the lower-order version (i.e., maximum BDF order is 2), while, with higher-order schemes, the damping is less significant; therefore, the artificial oscillations are less suppressed. The run time is between 30–40 s.

Figure 14.

Figure 14

Rear-side velocity history in time for τ˜b=0.2, with maximum BDF order being 2 (left) and 5 (right), respectively.

7.2. Runge–Kutta-Based Schemes: Cash–Karp 5

This scheme results in unstable solutions, independently of the corresponding settings (initial time step, time step control, and stiffness control).

7.3. Runge–Kutta-Based Schemes: Dormand–Prince 5

With this scheme, the numerical stability of the solution strongly depends on the settings of the maximum step size growth ratio and the step size safety factor. At default settings, the solution is unstable. Using 0.1 for the step size safety factor and 0.01 for the maximum step size, the results can be seen in Figure 15. Only small oscillations are observable at the wave front; however, the computation requires almost 2 GB RAM. The run time is strongly influenced by the pulse length. For τ˜b=0.2, it runs at around 300–320 s, using all available computing capacity. Meanwhile, for the shorter pulse length τ˜b=0.04, it needs more than 580 s. In addition, for smaller pulse length, dispersive and dissipative errors are also visible.

Figure 15.

Figure 15

Rear-side velocity history in time, using the Dormand–Prince time stepping method (left: τ˜b=0.2; right: τ˜b=0.04).

7.4. Runge–Kutta-Based Schemes: RK34

Using stiffness detection, this scheme solves the problem in the fastest and most efficient way. However, when the pulse length is τ˜b=0.04, then both its damping and dispersive properties become apparent (see Figure 16). With this method, the run time was around 45 s.

Figure 16.

Figure 16

Rear-side velocity history in time, using the RK34 time stepping method (left: τ˜b=0.2, right: τ˜b=0.04).

Since this COMSOL option proved the best, in order to test the mesh dependence of its solution, we examined the τ˜b=0.04 case with 300 space cells (Δx˜=Δt˜=0.0033) as well, for a longer process (100 bounces). With these settings, our scheme required 0.3 s in Matlab and shows no numerical artefact, while the COMSOL solution took 9649 s and exhibits apparent dissipative error and mild but increasing dispersion error around the rear of the pulse (see Figure 17).

Figure 17.

Figure 17

Rear-side velocity history in time, for pulse length τ˜b=0.04, with 300 nodes. (Left) solution by our scheme; (right) COMSOL RK34 result.

To summarize, compared to our scheme realized in Matlab, COMSOL run times are 100–1000–10,000 times larger, with large memory demand, and various settings have to be tuned to obtain a stable solution with moderate artificial dissipation and dispersion.

8. Discussion

Choosing a good finite difference numerical scheme for a continuum thermodynamical problem is not easy. A good starting point can be a symplectic scheme for the reversible part, as done here, too. Another advantage is provided by a staggered arrangement of quantities by half space and time steps, suited to balances, to the kinematic equations, to the Onsagerian equations, etc.

Even with all such preparations, instability is a key property to ensure. When all these are settled, dissipative and dispersive errors can invalidate our calculation, which may not be recognized when the continuum system is dissipative or when it allows wave propagation.

Notably, there is a principal difference between the stability problems of a numerical method and the stability issues for a continuum phenomenon itself. The former are induced by the approximations and depend on the type of approximation, while the original continuum system may be fine regarding stability—for example, ensured by thermodynamical consistence. It is interesting to realize that, nevertheless, these two types of instability are not completely independent. In one of the directions, the stability investigation of a numerical scheme may provide information for the underlying continuum phenomenon as well. An example for this has been provided by our (58) above, which is a condition that is independent of the time step, the space step, the parameter α that parametrizes the scheme, and any other aspect of the scheme. Rather, it is a condition on the underlying continuum model. In the present case, we already know this condition as one of the stability requirements imposed by thermodynamical consistency, seen at (9). This example illustrates that, in more complicated problems, it is also worth investigating the stability conditions of the numerical method and trying to distill scheme-independent information on the continuum system from them.

In parallel, the other direction is when the stability of a continuum system can be used to devise stable numerical methods. One such example is the case of symplectic numerical schemes, which are actually exact integrators of a certain Hamiltonian system—a slightly different one from the original system. The generalization of this way of thinking to nonconservative systems is a promising research direction.

Concerning the future prospects of the study provided here, the findings can be supplemented by comparison with analytical solutions and further finite element calculations, performed for the whole PTZ system.

Another logical continuation of the present line of research is extension of the scheme to 2D and 3D space—this is actually a work in progress [28].

Regarding the thermodynamical system to be investigated, the whole Kluitenberg–Verhás family—which the present PTZ model is a subclass of—could be studied. The presence of the second derivative of strain, and actually already the Kelvin–Voigt subfamily, brings in the aspect of parabolic characteristics, so useful implications may be gained for other thermodynamical areas such as non-Fourier heat conduction.

Reliable numerical methods for thermodynamical systems, which avoid all the various pitfalls, are an important direction for future research.

Acknowledgments

The authors thank Hans Christian Öttinger, Miroslav Grmela, Miklós Mincsovics, and Mercédesz Vass for stimulating discussions and suggestions for literature.

Author Contributions

T.F.: conceptual idea, accuracy analysis, manuscript text. R.K.: stability analysis, finite element analysis with COMSOL, figures, manuscript text. M.S.: stability analysis, figures, manuscript text. M.F.: numerical simulations, figures. All authors have read and agreed to the published version of the manuscript.

Funding

The work was supported by the grants National Research, Development and Innovation Office (NKFIH 116375 & 116197, NKFIH KH 130378, and NKFIH K124366(124508)), by FIEK-16-1-2016-0007, and by the National Research, Development and Innovation Fund (TUDFO/51757/2019-ITM), of the Thematic Excellence Program.

Conflicts of Interest

The authors declare that there is no conflict of interest.

References

  • 1.Rieth Á., Kovács R., Fülöp T. Implicit numerical schemes for generalized heat conduction equations. Int. J. Heat Mass Transf. 2018;126:1177–1182. doi: 10.1016/j.ijheatmasstransfer.2018.06.067. [DOI] [Google Scholar]
  • 2.Zinner C.P., Öttinger H.C. Numerical stability with help from entropy: Solving a set of 13 moment equations for shock tube problem. J. Non-Equilib. Thermodyn. 2019;44:43–69. doi: 10.1515/jnet-2018-0038. [DOI] [Google Scholar]
  • 3.Shang X., Öttinger H.C. Structure-preserving integrators for dissipative systems based on reversible-irreversible splitting. arXiv. 2018 doi: 10.1098/rspa.2019.0446.1804.05114 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Portillo D., García Orden J.C., Romero I. Energy-Entropy-Momentum integration schemes for general discrete non-smooth dissipative problems in thermomechanics. Int. J. Numer. Methods Eng. 2017;112:776–802. doi: 10.1002/nme.5532. [DOI] [Google Scholar]
  • 5.Vermeeren M., Bravetti A., Seri M. Contact variational integrators. J. Phys. A Math. Theor. 2019;52:445206. doi: 10.1088/1751-8121/ab4767. [DOI] [Google Scholar]
  • 6.Gay-Balmaz F., Yoshimura H. Variational discretization of the nonequilibrium thermodynamics of simple systems. Nonlinearity. 2018;31:1673. doi: 10.1088/1361-6544/aaa10e. [DOI] [Google Scholar]
  • 7.Couéraud B., Gay-Balmaz F. Variational discretization of thermodynamical simple systems on Lie groups. Discret. Cont. Dyn. Syst. Ser. S. 2020;13 doi: 10.3934/dcdss.2020064. [DOI] [Google Scholar]
  • 8.Romero I. Algorithms for coupled problems that preserve symmetries and the laws of thermodynamics: Part I: Monolithic integrators and their application to finite strain thermoelasticity. Comput. Methods Appl. Mech. Eng. 2010;199:1841–1858. doi: 10.1016/j.cma.2010.02.014. [DOI] [Google Scholar]
  • 9.Romero I. Algorithms for coupled problems that preserve symmetries and the laws of thermodynamics: Part II: fractional step methods. Comput. Methods Appl. Mech. Eng. 2010;199:2235–2248. doi: 10.1016/j.cma.2010.03.016. [DOI] [Google Scholar]
  • 10.Berezovski A., Ván P. Internal Variables in Thermoelasticity. Springer; Cham, Switzerland: 2017. [Google Scholar]
  • 11.Janečka A., Málek J., Průša V., Tierra G. Numerical scheme for simulation of transient flows of non-Newtonian fluids characterised by a non-monotone relation between the symmetric part of the velocity gradient and the Cauchy stress tensor. Acta Mech. 2019;230:729–747. doi: 10.1007/s00707-019-2372-y. [DOI] [Google Scholar]
  • 12.Asszonyi C., Csatár A., Fülöp T. Elastic, thermal expansion, plastic and rheological processes—Theory and experiment. Period. Polytech. Civ. Eng. 2016;60:591–601. doi: 10.3311/PPci.8628. [DOI] [Google Scholar]
  • 13.Fülöp T., Kovács R., Lovas Á., Rieth Á., Fodor T., Szücs M., Ván P., Gróf G. Emergence of non-Fourier hierarchies. Entropy. 2018;20:832. doi: 10.3390/e20110832. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Lin W., Kuwahara Y., Satoh T., Shigematsu N., Kitagawa Y., Kiguchi T., Koizumi N. A case study of 3D stress orientation determination in Shikoku Island and Kii Peninsula, Japan; Proceedings of the Eurock’09, Rock Engineering in Difficult Ground Conditions (Soft Rock and Karst); Cavtat, Croatia. 28–29 October 2009; pp. 277–282. [Google Scholar]
  • 15.Matsuki K., Takeuchi K. Three-dimensional in situ stress determination by anelastic strain recovery of a rock core. Int. J. Rock Mech. Min Sci. Geomech. Abstr. 1993;30:1019–1022. doi: 10.1016/0148-9062(93)90064-K. [DOI] [Google Scholar]
  • 16.Matsuki K. Anelastic strain recovery compliance of rocks and its application to in situ stress measurement. Int. J. Rock Mech. Min Sci. 2008;45:952–965. doi: 10.1016/j.ijrmms.2007.10.005. [DOI] [Google Scholar]
  • 17.Fülöp T., Szücs M. Analytical solution method for rheological problems of solids. arXiv. 20181810.06350 [Google Scholar]
  • 18.Fülöp T., Ván P. Kinematic quantities of finite elastic and plastic deformation. Math. Methods Appl. Sci. 2012;35:1825–1841. doi: 10.1002/mma.2558. [DOI] [Google Scholar]
  • 19.Fülöp T. Objective thermomechanics. arXiv. 20151510.08038 [Google Scholar]
  • 20.Asszonyi C., Fülöp T., Ván P. Distinguished rheological models for solids in the framework of a thermodynamical internal variable theory. Contin. Mech. Thermodyn. 2015;27:971–986. doi: 10.1007/s00161-014-0392-3. [DOI] [Google Scholar]
  • 21.Davarpanah S.M., Ván P., Vásárhelyi B. Investigation of relationship between dynamic and static deformation moduli of rocks; Proceedings of the GEOMATES 2019 International Congress on Geomathematics in Earth-Environmental Sciences; Pécs, Hungary. 16–18 May 2019. [Google Scholar]
  • 22.Hairer E., Lubich C., Wanner G. Geometric Numerical Integration. 2nd ed. Springer; Berlin/Heidelberg, Germany: 2006. [Google Scholar]
  • 23.Charney J.G., Fjörtoff R., von Neumann J. Numerical integration of the barotropic vorticity equation. Tellus. 1950;2:237–254. doi: 10.3402/tellusa.v2i4.8607. [DOI] [Google Scholar]
  • 24.Elaydi S. An Introduction to Difference Equations. 3rd ed. Springer; New York, NY, USA: 2005. [Google Scholar]
  • 25.Matolcsi T. Ordinary Thermodynamics – Nonequilibrium Homogeneous Processes. Society for the Unity of Science and Technology; Budapest, Hungary: 2017. [(accessed on 20 January 2020)]. Available online: http://energia.bme.hu/~fulop/Matolcsi_Ordinary_Thermodynamics_2017-04-26.pdf. [Google Scholar]
  • 26.Balsara D.S., Käppeli R. Von Neumann stability analysis of globally divergence-free RKDG schemes for the induction equation using multidimensional Riemann solvers. J. Comput. Phys. 2017;336:104–127. doi: 10.1016/j.jcp.2017.01.056. [DOI] [Google Scholar]
  • 27.Jury E.I. Inners and Stability of Dynamical Systems. John Wiley & Sons; New York, NY, USA: 1974. [Google Scholar]
  • 28.Józsa V., Kovács R. Solving Problems in Thermal Engineering – A Toolbox for Engineers. Springer; Cham, Switzerland: 2020. [DOI] [Google Scholar]

Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES