1 Introduction

Physical phenomena displaying long memory (i.e., non-exponential relaxation) and non-local effects have been attracting increasing attention in both mathematical and physical communities for the past three decades. Within this research field, fractional calculus turns out to be probably the most fashionable approach when it comes to the mathematical modelling of a wide class of effects featuring non-localities in space and/or time.

Notably, fractional calculus finds one of its major physical motivations in rheology. As discussed in [24], in order to provide a theoretical justification for Nutting’s law [21] G. W. Scott Blair and collaborators proposed (a version of) the constitutive relation (see [29], and references therein)

$$ \sigma (t) = \kappa _\alpha \, D_t ^\alpha \epsilon (t) \, , \quad \alpha \in (0,1) \, , $$

with \(D_t ^\alpha \) denoting a “precursor” of the Caputo fractional derivative. The main feature of this model, which is known in the literature as the Scott Blair model of viscoelasticity, is that it is somewhat intermediate between the behaviour of an Hookean elastic body (\(\alpha = 0\)) and a viscous Newtonian substance (\(\alpha = 1\)). For a complete account of the role of Fractional Calculus in viscoelasticity we refer the interest reader to [19] and the monograph [18].

Fractional calculus is a branch of mathematics that aims at extending the notions of derivative and repeated integration to arbitrary real, or even complex, orders (see e.g., [9, 26]). The standard procedure leading to the standard definitions of fractional operators relies on the analytic continuation of the Cauchy formula for repeated integration that leads to the so-called Riemann-Liouville fractional integral [9]. A fractional derivative is then defined as the left-inverse operator to the Riemann-Liouville integral (this condition known as the fundamental theorem of fractional calculus [3]). If we take this requirement as the defining property of fractional derivatives then there exist several distinct operators that satisfy this condition. For instance, both the Riemann-Liouville and the Caputo derivative satisfy the fundamental theorem of fractional calculus with respect to the Riemann-Liouville integral [9]. If we then consider generalisations of Riemann-Liouville fractional integral as starting point for the formulation of a generalised fractional calculus then the main features of fractional operators are [3, 12]: (i) the fact that such operators are convolution-type integro-differential operators with weakly-singular kernels; (ii) generalised fractional integrals and derivatives must satisfy the fundamental theorem of fractional calculus. These properties can then be recast as conditions on the integral kernels for these operators, see e.g., [14,15,16].

A natural question that comes to mind then is “what happens if the order of a fractional operator is a function of space and/or time?”. This opens up the broader subject of variable-order fractional calculus (for a partial overview on this topic we refer the reader to [22, 25, 30]). In this work we shall focus on a recently revived proposal for the definition of variable-order fractional derivative known as Scarpi derivative (originally presented in [27, 28]). In particular, we will employ the main results of [4,5,6], where Scarpi’s approach has been framed within the framework of the theory of general fractional operators (see e.g., [14,15,16]). Furthermore, we will take advantage of the computational methods for exponential-type variable-order fractional differential equations involving the Scarpi derivative developed in [5]. It is worth stressing, again, that, to the best of our knowledge, Scarpi’s approach to fractional calculus is the only variable-order framework consistent with the theory of general fractional operators (see e.g., [14,15,16]).

This work is therefore organised as follows. In Sec. 2 we discuss the generalities of Scarpi’s approach to variable-order fractional calculus. In Sec. 3 we investigate the properties of the Maxwell model of linear viscoelasticity, as a toy example. In Sec. 4 we present a critical assessment of the shortcomings of the previous literature [11] on the application of Scarpi’s variable-order fractional calculus in viscoelasticity. Lastly, in Sec. 5 we present some concluding remarks.

2 Variable-order fractional operators: Scarpi’s approach

In this section we briefly summarise the basics of Scarpi’s approach to variable-order fractional calculus. This part of the work is based on [4, 5], hence we refer the interested readers to these pivotal studies for further details.

Let \(\alpha \,: \, [0, +\infty ) \, \longrightarrow \, (0,1)\) be a (bounded) function such that:

(i):

\(\alpha \) is locally integrable on \([0, +\infty )\).

(ii):

The Laplace transform of \(\alpha (t)\), i.e.,

$$\begin{aligned} A(s) = \mathcal {L} \left( \alpha (t) \, ; \, s \right) = \int _0 ^\infty \textrm{e}^{- s t} \, \alpha (t) \, \textrm{d} t \, , \end{aligned}$$

exists and its analytical expression is known explicitly.

(iii):

The following condition holds:

$$\begin{aligned} \lim _{t \rightarrow 0^+} \alpha (t) = \bar{\alpha } \in (0, 1) \, . \end{aligned}$$

Then, we define the (variable-order) fractional integral operator

$$\begin{aligned} I^{\alpha (t)} f(t) := \int _0 ^t \psi _\alpha (t - \tau ) \, f(\tau ) \, \textrm{d} \tau \, , \,\,\, \text{ with } \,\,\, \psi _\alpha (t) := \mathcal {L}^{-1} \left( s^{-s A(s)} \, ; \, t \right) \, , \end{aligned}$$
(2.1)

and the associated Caputo-type fractional derivative as

$$\begin{aligned} D^{\alpha (t)} f(t) := \int _0 ^t \phi _\alpha (t - \tau ) \, f'(\tau ) \, \textrm{d} \tau \, , \,\,\, \text{ with } \,\,\, \phi _\alpha (t) := \mathcal {L}^{-1} \left( s^{s A(s)-1} \, ; \, t \right) \, , \end{aligned}$$
(2.2)

where f is a sufficiently regular function on \([0, +\infty )\) (see [4, 5]), \(f'\) denotes the first derivative of f with respect to its variable and \(\mathcal {L}^{-1}\) indicates the inverse Laplace transform operation.

As proven in [4], the kernels \(\psi _\alpha (t)\) and \(\phi _\alpha (t)\) form a Sonine pair, which implies that

$$\begin{aligned} D^{\alpha (t)} I^{\alpha (t)} f(t) = f(t) \quad \text{ and } \quad I^{\alpha (t)} D^{\alpha (t)} f(t) = f(t) - f(0^+) \, , \end{aligned}$$
(2.3)

for sufficiently regular functions (see [4, 5]). Lastly, it is easy to show that

$$\begin{aligned} \mathcal {L}\Big ( D ^{\alpha (t)} f(t) \, ; \, s \Big ) = s^{sA(s)}F(s) - s^{sA(s)-1} f(0^+) \, , \end{aligned}$$
(2.4)

and

$$\begin{aligned} \mathcal {L}\Big ( I ^{\alpha (t)} f(t) \, ; \, s \Big ) = s^{-sA(s)}F(s) \, , \end{aligned}$$
(2.5)

where \(F(s):= \mathcal {L} \left( f(t) \,; \, s \right) \). We refer again the reader to [4] for detailed proofs of these important results.

2.1 Exponential-type transition functions

In this work we will focus on a specific class of variable-order exponents \(\alpha (t)\) known as exponential-type transition functions. This type of evolution laws for the order of a fractional derivative have been originally introduced and discussed in detail in [5]. We therefore refer the interested reader to [5] for details on both theoretical and numerical aspects of variable-order operators involving these transition functions. In the following we simply summarise some key results that will be then employed in the following sections of this work.

Let \(0<\alpha _1<1 \) and \(0<\alpha _2<1\), and consider an order function \(\alpha (t)\) on \([0,+\infty )\) such that

$$\begin{aligned} \alpha (t) = \alpha _2 + (\alpha _1 - \alpha _2) \text {e}^{-ct} \, , \end{aligned}$$
(2.6)

where \(c>0\) is known as transition rate. Such a transition function starts-off at \(\alpha (0^+) = \alpha _1\) and smoothly approaches \(\alpha (+\infty ) = \alpha _2\) at late times.

The Laplace transform of \(\alpha (t)\) in (2.6) is easily computed with standard methods and yields

$$\begin{aligned} A(s) = \frac{\alpha _2 c + \alpha _1 s}{s(c+s)} \,, \quad \Re (s) >0 \, . \end{aligned}$$
(2.7)

Then, the Laplace transform of the kernel \(\Psi _{\alpha _1, \alpha _2} (s)\) of the associated Scarpi fractional integral reads

$$\begin{aligned} \Psi _{\alpha _1, \alpha _2} (s) = s^{-sA(s)} = s^{- \frac{\alpha _2 c + \alpha _1 s}{c+s}} \, , \end{aligned}$$
(2.8)

while the kernel for the fractional derivative, in the Laplace domain, is given by

$$\begin{aligned} \Phi _{\alpha _1, \alpha _2} (s) = s^{sA(s)-1} = s^{-\frac{(1-\alpha _2)c + (1-\alpha _1)s}{c+s}} \,. \end{aligned}$$
(2.9)

2.2 Mittag-Leffler-type transition functions

Another type of transition function that we shall consider in the following rely on the Mittag-Leffler function [8, 17] (see e.g., [7] for its role in the generalisation of fractional calculus). Specifically, let \(0<\alpha _1<1 \), \(0<\alpha _2<1\), \(\beta >0\), \(c>0\), and

$$\begin{aligned} \alpha (t) = \alpha _2 + (\alpha _1 - \alpha _2) E_\beta (-c \, t^\beta ) \, , \qquad t>0 \, , \end{aligned}$$
(2.10)

where

$$ E_\beta (t) := \sum _{k=0} ^\infty \frac{t^k}{\Gamma (\beta k + 1)} $$

denotes the (one-parameter) Mittag-Leffler function.

Eq. (2.10) describes a function that starts-off at \(\alpha _1\) and continuously approaches \(\alpha _2\) at late time. Its Laplace transform is easily computed and reads

$$\begin{aligned} A(s) = \frac{\alpha _2 c + \alpha _1 s^\beta }{s(c+s^\beta )} \,, \quad |s|>|c|^{1/\beta } \, . \end{aligned}$$
(2.11)

The corresponding integral kernels for Scarpi’s operators, in the Laplace domain, then read

$$\begin{aligned} \Psi _{\alpha _1, \alpha _2} (s) = s^{-sA(s)} = s^{- \frac{\alpha _2 c + \alpha _1 s^\beta }{c+s^\beta }} \end{aligned}$$
(2.12)

and

$$\begin{aligned} \Phi _{\alpha _1, \alpha _2} (s) = s^{sA(s)-1} = s^{-\frac{(1-\alpha _2)c + (1-\alpha _1)s^\beta }{c+s^\beta }} \, . \end{aligned}$$
(2.13)

3 Variable-order Fractional Maxwell model

Over the past decade, a significant effort has been devoted to the study of applications of variable-order fractional operators in applied sciences. In particular, as an example we refer to [13] and references therein.

In this work we wish to provide an implementation of a variable-order fractional linear theory of viscoelasticity based on Scarpi’s approach to fractional calculus, which has recently been given new life in [4]. To this end, we will discuss a generalisation of the Maxwell model as a toy example. The generalisation of other models of linear viscoelasticity, preserving the linearity of the model, can the be carried out following a similar procedure to the one discussed here.

The standard (ordinary) Maxwell model is defined in terms of the constitutive law (see e.g., [18, 19])

$$\begin{aligned} \sigma +\frac{\eta }{E}\, \sigma ' = \eta \, \epsilon ' \, , \end{aligned}$$
(3.1)

where \(\sigma = \sigma (t)\) and \(\epsilon = \epsilon (t)\) are the stress and strain functions, respectively, \(\eta \) denotes the viscosity coefficient, E is the elastic modulus, and the prime denotes the derivative with respect to time.

This model is easily generalised to the well-known fractional Maxwell model (see e.g., [18, 19]), defined in terms of the constitutive equation

$$\begin{aligned} \sigma + a_1 D^{\alpha } \sigma = b_1 D^{\alpha } \epsilon \, , \qquad \alpha \in (0,1) \, , \quad a_1, b_1 > 0 \, , \end{aligned}$$
(3.2)

where \(D ^{\alpha }\) denotes either the (constant-order) Riemann-Liouville fractional derivative or the (constant-order) Caputo fractional derivative. Employing either of the two operators does not lead to significantly different physical behaviours for the system, and it mostly relates to the analysis of the initial conditions for both the stress and strain [18, 19]. The key difference is however in the dimensions of the (constant) coefficients \(a_1\) and \(b_1\). Indeed, since \([D^{\alpha }] = (\text{ time})^{-\alpha }\), then \([a_1] = (\text{ time})^{\alpha }\) and \([ b_1 \, D^{\alpha } \epsilon ] = [\sigma ]\). This implies \([b_1] = [\sigma ] (\text{ time})^{\alpha }\), since the strain is dimensionless (i.e., \([\epsilon ] = 1\)). To avoid this explicit dependence on the fractional power in the coefficients of the constitutive law, we observe that \(a_1, b_1 \propto T^\alpha \), with T a characteristic time-scale for the model. Hence, we can always write \(a_1 = \bar{a}_1 \, T^\alpha \) and \(b_1 = \bar{b}_1 \, T^\alpha \), with \(\bar{a}_1\) being a dimensionless positive real constant and \(\bar{b}_1\) denoting a coefficient with the dimensions of an elastic modulus. If we then reabsorb T in the definition of \(D^\alpha \), via a time redefinition \(t \rightarrow \bar{t} =t/T\), then the reparametrised fractional Maxwell model reads

$$\begin{aligned} \sigma + \bar{a}_1 \bar{D}^{\alpha } \sigma = \bar{b}_1 \bar{D}^{\alpha } \epsilon \, , \qquad \alpha \in (0,1) \, , \quad \bar{a}_1, \bar{b}_1 > 0 \, , \end{aligned}$$
(3.3)

with \(\bar{D}^{\alpha }\) denoting a fractional derivative with respect to the dimensionless time \(\bar{t}\), \([\bar{a}_1] =1\), and \([\bar{b}_1] = [\sigma ]\). From this point on we will adopt this second representation (i.e., the one provided in Eq. (3.3)) for our operators and constitutive relations and we will drop the “overlines” to lighten the notation.

The above reformulation of the model in terms of a dimensionless time allows us to perform an unambiguous variable-order generalisation of the model (3.3) that preserves its linearity. Specifically, starting from Eq. (3.3) we define the constitutive relation of the variable-order fractional Maxwell model as

$$\begin{aligned} \sigma + {a}_1 \, {D}^{\alpha (t)} \sigma = {b}_1 \, {D}^{\alpha (t)} \epsilon \, , \quad {a}_1, {b}_1 > 0 \, , \end{aligned}$$
(3.4)

with t denoting the dimensionless time, \([{a}_1] = 1\), \([{b}_1]=[\sigma ]\), and \(\alpha (t)\) being a function on \([0, + \infty )\) such that \(0<\alpha (t)<1\) for all \(t \in [0, + \infty )\) and satisfying the conditions (i–iii) in Sec. 2.

Following standard procedures (see e.g., [10, 18, 19, 23]) we can now compute the creep compliance J(t) and relaxation modulus G(t) for our system. In detail, assuming \(a_1 \sigma (0^+) = b_1 \epsilon (0^+)\), since we are considering a Caputo-type fractional derivative (for further details on this matter we refer the reader to [19, Appendix B] and to [10, 18]), we have that the Laplace domain representation of Eq. (3.4) reads

$$\begin{aligned} \widetilde{\sigma } (s) = s \, \widetilde{G} (s) \, \widetilde{\epsilon } (s) \, , \end{aligned}$$
(3.5)

with

$$\begin{aligned} \widetilde{G} (s) = b_1 \, \frac{s^{s A(s) - 1}}{1 + a_1 \, s^{s A(s)}} \, , \end{aligned}$$
(3.6)

where the tilde denotes the Laplace transform of the corresponding time-dependent functions. The Laplace transform of the creep compliance is then obtained taking advantage of a fundamental relation of linear viscoelasticity [10, 18], i.e.,

$$ s^2 \, \widetilde{G} (s) \, \widetilde{J} (s) = 1 \, , $$

which yields

$$\begin{aligned} \widetilde{J} (s) = \frac{1}{b_1} \, \frac{1 + a_1 \, s^{s A(s)}}{s^{s A(s) + 1}} \, . \end{aligned}$$
(3.7)

The representation in time of the creep compliance and of the relaxation modulus is obtained by inverting the Laplace transforms \(\widetilde{J} (s)\) and \(\widetilde{G} (s)\), respectively. This procedure, for the case of variable-order operators, is however only possible via numerical methods, as detailed in [4, 5].

Let us stress that G(t) and J(t), derived as above, generate the solutions of the stress relaxation (constant strain) and creep (constant stress) experiments. Indeed, let us consider, for instance, a constant-strain experiment with \(\epsilon (t) = \epsilon _0\), with \(\epsilon _0 \ne 0\) being a constant, \(\forall t\ge 0\). Plugging this condition into Eq. (3.4) yields

$$\begin{aligned} \sigma + {a}_1 \, {D}^{\alpha (t)} \sigma = 0 \, . \end{aligned}$$
(3.8)

Taking the Laplace transform of Eq. (3.8) gives

$$\begin{aligned} \widetilde{\sigma } (s) + a_1 \left[ s^{s A(s)} \, \widetilde{\sigma } (s) - s^{s A(s)-1} \, \sigma (0^+)\right] = 0 \, , \end{aligned}$$
(3.9)

that can be rewritten as

$$\begin{aligned} \widetilde{\sigma } (s) = a_1 \, \sigma (0^+) \, \frac{s^{s A(s) - 1}}{1 + a_1 \, s^{s A(s)}} = \frac{a_1 \, \sigma (0^+)}{b_1} \, \widetilde{G} (s) \, , \end{aligned}$$
(3.10)

namely

$$\begin{aligned} \sigma (t) = \frac{a_1 \, \sigma (0^+)}{b_1} \, G(t) \, . \end{aligned}$$
(3.11)

Similarly, one can show that for a creep experiment, i.e., \(\sigma (t) = \sigma _0 \ne 0\), \(\forall t\ge 0\), one finds

$$\begin{aligned} \epsilon (t) = \sigma _0 \, J_\star (t) \, , \end{aligned}$$
(3.12)

where

$$ \widetilde{J}_\star (s) = \frac{1}{b_1} \, \frac{1 + \frac{b_1 \epsilon (0^+)}{\sigma _0} \, s^{s A(s)}}{s^{s A(s) + 1}} \, . $$

Then, if one assumes the constraint on the initial conditions \(a_1 \sigma (0^+) = b_1 \epsilon (0^+)\), mentioned at the beginning of this section, then the response to a constant strain is given by \(\sigma (t) = \epsilon _0 \, G(t)\), while the creep experiment yields \(\epsilon (t) = \sigma _0 \, J(t)\).

3.1 Physical motivation and discussion

The driving motivation for the study of variable-order fractional operators, beside a purely mathematical interest, lays in the fact that these operators have the capability of describing physical systems whose underlying structure evolves with time. This allows mathematical models based on such variable-order operators to adapt to the changing properties of the system. Although one could argue that this would represent just an emerging description of the system at large, a model that “averages” over the complexities of a system providing a reliable macroscopic description of the latter would still serve many practical purposes.

Coming to the choice of the transition functions \(\alpha (t)\) in Eq. (2.6) and (2.10), this was not random. Indeed, assuming that variable-order fractional calculus can be employed successfully to describe some physical systems, then this raises questions concerning the physical nature of the order function \(\alpha (t)\). Physical intuition would suggest that \(\alpha (t)\) should not be regarded as a mere best-fit tool that can be tuned at one’s pleasure, but rather as a quantity associated to its own evolution equation. Such evolution equation would then deserve a fundamental justification to the same extent as the equation involving the variable-order operators acting on physical observables.

Eq. (2.6) is the solution of the relaxation-type problem, i.e.,

$$\begin{aligned} \left\{ \begin{aligned}&\alpha ' (t) = - c \, \alpha (t) + c \, \alpha _2 \, , \\&\alpha (0^+) = \alpha _1 \, , \end{aligned} \right. \end{aligned}$$

whereas Eq. (2.10) is the solution of the Caputo-type fractional relaxation-type problem that reads

$$\begin{aligned} \left\{ \begin{aligned}&{{}^\textrm{C} \! D}^\beta \alpha (t) = - c \, \alpha (t) + c \, \alpha _2 \, , \\&\alpha (0^+) = \alpha _1 \, , \end{aligned} \right. \end{aligned}$$

where \({{}^\textrm{C} \! D}^\beta \) denotes the Caputo fractional derivative of order \(\beta \in (0,1)\) with respect to t. These evolution equations play a key role in several, radically different, physical scenarios. So, due to their ubiquity in physics these evolution equation have directed our focus toward transition functions of the form (2.6) and (2.10) for this work.

3.2 Numerical evaluation of the material functions

As discussed in this section, the material functions G(t) and J(t) determine the stress relaxation and creep response of the system. Therefore it is of interest to study the qualitative behaviour of the variable-order Maxwell model (3.4) given a legitimate expression for \(\alpha (t)\) and some values for the model parameters by studying the numerical evaluation of the relaxation modulus and creep compliance.

In the following we will focus on the dimensionless version of the material functions, i.e.,

$$\begin{aligned} G_{\textrm{d}} (t) := G(t)/ b_1 \quad \text{ and } \quad J_{\textrm{d}} (t) := b_1 \, J (t) \, , \end{aligned}$$
(3.13)

thus providing a numerical evaluation of the inverse Laplace transform of

$$\begin{aligned} \widetilde{G}_{\textrm{d}} (s) = \frac{s^{s A(s) - 1}}{1 + a_1 \, s^{s A(s)}} \end{aligned}$$
(3.14)

and

$$\begin{aligned} \widetilde{J}_{\textrm{d}} (s) = \frac{1 + a_1 \, s^{s A(s)}}{s^{s A(s) + 1}} \, , \end{aligned}$$
(3.15)

by taking advantage of a modified Talbot method (see [4, Appendix A] and [31]).

Furthermore, we shall also compare the behaviour of \(G_{\textrm{d}} (t)\) and \(J_{\textrm{d}} (t)\) for the variable-order fractional Maxwell model with the constant-order expressions

$$\begin{aligned} G^{(\alpha )} _{\textrm{M, d}} (t) = \frac{1}{a_1} \, E_\alpha \left( - \frac{t^\alpha }{a_1} \right) \end{aligned}$$
(3.16)

and

$$\begin{aligned} J^{(\alpha )} _{\textrm{M, d}} (t) = \frac{t^\alpha }{\Gamma (\alpha +1)} + a_1 \, , \end{aligned}$$
(3.17)

for \(t>0\), \(a_1>0\), and \(\alpha \in (0,1)\), at early and late times. For the sake of precision, in the following plots we will restore the dimension of time t via the replacement \(t \rightarrow t/T\), where again T is the characteristic timescale of the model as discussed above.

Additionally, here we further investigate a particular sub-case of the fractional Maxwell model, namely the Scott Blair model [18, 19] obtained by setting \(a_1 = 0\) in the constitutive law (3.4). For this model we also compare the asymptotic behaviour, at early and late times, of the dimensionless material functions with the known expression for the constant-order Scott Blair model, that are easily computed and read

$$\begin{aligned} G^{(\alpha )} _{\textrm{SB, d}} (t) = \frac{t^{-\alpha }}{\Gamma (1-\alpha )} \end{aligned}$$
(3.18)

and

$$\begin{aligned} J^{(\alpha )} _{\textrm{SB, d}} (t) = \frac{t^{\alpha }}{\Gamma (\alpha + 1)} \, , \end{aligned}$$
(3.19)

for \(t>0\) and \(\alpha \in (0,1)\).

Fig. 1
figure 1

Dimensionless relaxation modulus \({G}_\textrm{d}(\bar{t})\) as a function of \(\bar{t}=t/T\) for the variable-order fractional Maxwell model given an exponential-type transition \(\alpha (t)\) (see Eq. (2.6)) with \(\alpha _1 = 0.6\), \(\alpha _2=0.8\), \(c=2\), and \(a_1 = 1\) and comparison with the corresponding constant-order expressions

Fig. 2
figure 2

Dimensionless creep compliance \({J}_\textrm{d}(\bar{t})\) as a function of \(\bar{t}=t/T\) for the variable-order fractional Maxwell model given an exponential-type transition \(\alpha (t)\) (see Eq. (2.6)) with \(\alpha _1 = 0.6\), \(\alpha _2=0.8\), \(c=2\), and \(a_1 = 1\) and comparison with the corresponding constant-order expressions

Fig. 3
figure 3

Comparison of the relaxation modulus for the variable-order fractional Maxwell model with: (a) an exponential-type transition function; (b) a Mittag-Leffler-type transition function. Assuming: \(\alpha _1 = 0.4\), \(\alpha _2=0.8\), \(c=1\), \(a_1 = 1\), and the Mittag-Leffler parameter (see Eq. (2.10)) \(\beta = 0.5\)

In Figs. 1 and 2 we have plotted the numerical evaluation of the time-representation of the dimensionless relaxation modulus and creep compliance, respectively, for the variable-order fractional Maxwell model as a function of the rescaled time t/T. These figures clearly show that the model starts-off as a fractional Maxwell model of order \(\alpha _1\) at \(t=0\) and smoothly approaches a new “phase” given by a fractional Maxwell model of order \(\alpha _2\) at late time (i.e., as \(t\rightarrow +\infty \)). This transition is controlled by an exponential-type order function \(\alpha (t)\) as in Eq. (2.6). Replacing the exponential-type transition function with a Mittag-Leffler-type one does not lead to major qualitative differences in the overall behaviour of the dimensionless material functions, as shown in Fig. 3.

Fig. 4
figure 4

Dimensionless relaxation modulus \({G}_\textrm{d}(\bar{t})\) as a function of \(\bar{t}=t/T\) for the variable-order Scott Blair model given an exponential-type transition \(\alpha (t)\) (see Eq. (2.6)) with \(\alpha _1 = 0.6\), \(\alpha _2=0.8\), and \(c=2\) and comparison with the corresponding constant-order expressions

Fig. 5
figure 5

Dimensionless creep compliance \({J}_\textrm{d}(\bar{t})\) as a function of \(\bar{t}=t/T\) for the variable-order Scott Blair model given an exponential-type transition \(\alpha (t)\) (see Eq. (2.6)) with \(\alpha _1 = 0.6\), \(\alpha _2=0.8\), and \(c=2\) and comparison with the corresponding constant-order expressions

Figures 4 and 5 address the case of the variable-order Scott Blair model, corresponding to \(a_1 = 0\) in Eq. (3.4), and again these results confirm the discussion already presented for the case of the more general variable-order fractional Maxwell model.

4 Comments on previous literature

In this section we briefly discuss a recent attempt [11] to apply Scarpi’s fractional calculus in viscoelasticity and viscoplasticity that, while being of potential interest in the general sense, suffers of some conceptual shortcomings.

First, and most importantly, the choice of a linear transition function \(\alpha (t) = a \, t + b\) (assuming a dimensionless time t and dimensionless constants \(a, b>0\)) is not consistent with the formalism underlying Scarpi’s operators. Indeed, the transition function is supposed to be \(0< \alpha (t) < 1\) at all times and satisfy (i–iii) in Sec. 2. However, \(\alpha (t) = a \, t + b\) is unbounded on \([0,+\infty )\) and it violates the constraint \(\alpha (t) < 1\) for all \(t\ge (1-b)/a\). A proper reformulation of the problem would require a transition function \(\alpha (t)\) such that

$$ \alpha (t) = \left\{ \begin{aligned} 0 \, ,&\qquad \text{ if } \,\, t<0 \, ,&\\ a \, t + b \, ,&\qquad \text{ if } \,\, 0\le t \le \frac{1-b}{a} - \delta \, ,&\\ 1 - \delta \, a \, ,&\qquad \text{ if } \,\, t>\frac{1-b}{a} - \delta \, ,&\end{aligned} \right. $$

with \(a>0\), \(0<b<1\), and \(\delta >0\) a small real constant. However, this drastically affects the corresponding Laplace transform, that now yields

$$ A(s) = \frac{b}{s} + \frac{a}{s^2} \left\{ 1 - \exp \left[ - \left( \frac{1-b}{a} - \delta \right) \, s \right] \right\} \, , $$

which is significantly different from the \(A(s) = \frac{b}{s} + \frac{a}{s^2}\) considered in [11].

It is, in principle, possible to extend the variable-order \(\alpha (t)\) to \((n-1,n)\) with \(n \in \mathbb {N}\), as detailed in [4]. However, if we consider again \(\alpha (t) = a \, t + b\) for all \(t>0\), as in [11], it is easy to see that the characterisation of both relaxation and creep for a viscoelastic model would require the specification of a number of initial conditions that changes with time (along with the order of the system). This would be rather unreasonable form both mathematical and physical perspectives.

Second, the fractionalisation procedure for the Scott Blair model presented in [11], although interesting in itself, makes the model nonlinear. However, it is worth noting that basically the same idea was put forward by Gianbattista Scarpi in his 1972 fundamental paper [27]. The objective of our work is instead to provide a general prescription for implementing the Scarpi fractional calculus in linear viscoelasticity.

Lastly, although something similar to the fractionalisation proposed in this work seem to have been discussed in [11] concerning the fractional Zener model (albeit still considering a linear transition function in time that suffers of the same shortcomings discussed above), the dimensions of the model do not seem to be correct, differently from the nonlinear Scott Blair and the nonlinear visco-plastic models.

The scope of this comment is not to take away any merit to the investigation in [11], that might have its own realm of applicability that is however beyond the scope of our study. This is just meant to clarify some technical misconceptions concerning the Scarpi fractional calculus and its regime applicability.

5 Conclusions

In the recent literature, some attention has been devoted to the study of applications of variable-order fractional derivatives in viscoelasticity (see e.g., [13, 20], and references therein). However, there exists a plethora of different and nonequivalent approaches to variable-order fractional calculus and in the vast majority of applications of such operators the choice of the time-dependent order function \(\alpha (t)\) is motivated in terms of “best-fitting procedures” rather than physical intuition.

In this work we have built upon the previous literature [11] and provided for the first time a consistent formulation of a variable-order fractional linear theory of viscoelasticity based on Scarpi’s approach to fractional calculus. Moreover, we have suggested a theoretical formulation of the problem based on the idea that the evolution of the order of the fractional derivative can be governed by a specific differential equation, related to the physical process.

In Sec. 2 we have reviewed the essentials about the mathematical formulation of Scarpi’s operators, with particular regard for Exponential-type and Mittag-Leffler-type transition functions \(\alpha (t)\).

In Sec. 3 we have introduced the fractionalisation procedure aimed at consistently reformulating fractional linear viscoelasticity in terms of variable-order derivatives. We considered as a toy example the case of the fractional Maxwell model, that incidentally includes also the Scott Blair model as a particular case, and computed the associated creep compliance and relaxation modulus. Sec. 3.1 provides a physical motivation for the use of variable-order fractional calculus for physical applications and discusses the interpretation of variable-order scenarios as a system of coupled evolution equations for both the order and the physical observables. These evolution equations, capturing the full complexity of the (macroscopic) system, should therefore concurrently emerge from a theoretical (microscale) constructed out of fundamental principles. This is perhaps the most important and novel idea that we wish to highlight with this study. For this reason, we focused our attention on transition functions governed by relaxation processes that appear to be almost ubiquitous in all applied sciences. In Sec. 3.1 we then evaluated numerically these material functions taking advantage of the numerical methods discussed in [4, 5]) for Exponential-type and Mittag-Leffler-type transition functions \(\alpha (t)\). From the various plots of the relaxation functions associated to our variable-order model one can immediately observe that, although these functions are clearly decreasing with time, they are evidently not completely monotonic as opposed to the typical relaxation function of constant-order fractional viscoelasticity (cf. [18, 19]). This is consistent with the results in [2].

In Sec. 4 we provide a critical assessment of some shortcoming of a previous attempt to implementing the Scarpi fractional calculus in viscoelasticity and viscoplasticity [11]. In particular, we discuss how the mathematical formulation presented here preserves the linearity of the model post-fractionalisation and the need for a careful manipulation of the transition functions so that the problem remains well-defined within Scarpi’s approach. Additionally, we present our analysis for the fractional Maxwell model in order to remain fully complementary to [11].

To conclude, Scarpi’s approach has opened a window on brand new applications of variable-order fractional calculus in mechanical systems that deserve to be extensively explored in the future. Perhaps, [1] and references therein could serve as inspiration for future investigations.