1. Introduction
Modern theoretical methods of non-equilibrium thermodynamics (NET), through a suitable choice of variables, allow one to summarize and, to some extent, classify the behavior of materials using a limited set of parameters known as phenomenological and state coefficients [
1]. These coefficients, fundamental in NET, relate entropy sources to irreversible processes occurring within a medium, thus describing essential physical phenomena taking place in the system under study. A central aspect of this formalism is the definition of thermodynamic generalized forces (also known as affinities) and fluxes, which together account for entropy variation. These quantities are connected by phenomenological equations which, in many cases, are assumed to be linear. The coefficients appearing in such linear relations, called phenomenological coefficients [
1], are often treated as constant in time, although they actually vary dynamically and depend on the frequency spectrum of the excitations. Recognizing that standard thermodynamic variables are sometimes insufficient to describe certain phenomena, Kluitenberg introduced the concept of internal variables, represented by vector fields acting as thermodynamic internal degrees of freedom [
2,
3]. These variables account for various relaxation phenomena, such as mechanical or dielectric relaxations [
4,
5]. This theoretical framework enables the formulation of additional vector fields, dependent on the phenomenological and state coefficients, that provide a more complete description of relaxation behavior in materials.
In our previous paper [
6,
7], Kluitenberg’s non-equilibrium thermodynamics was extended to include variables within special relativity. This formulation is based on the principle of relativity, which expresses the invariability of the laws of physics under a change between two inertial reference frames. In [
6], after determining the transformation law for the strain tensor, we assumed that the entropy density in an arbitrary inertial reference frame depends on the energy density (expressed by means of the temporal component of the energy tensor), the relativistic strain tensor, and the anelastic part of the total strain tensor. This allowed us to determine the law of temperature transformation, namely Ott’s law [
8], and to introduce the equilibrium and affinity stress tensor in a general inertial frame. Through these entities, it has been possible to determine the relativistic entropy production. Furthermore, the transformation law of the elastic tensor [
9] and the relativistic phenomenological equations, along with the transformation law of the corresponding coefficients, were derived. In [
6], these results have been obtained in three–dimensional form.
Following this framework, the present paper aims to develop a consistent formulation of thermodynamic quantities, such as the viscous stress tensor and the equilibrium stress tensor, within a relativistic framework. These quantities can be regarded as terms of the energy-momentum tensor. The derivation of their transformation laws under general coordinate changes is essential to ensure the consistency of any relativistic theory, particularly when dealing with non-inertial frames or curved spacetimes. Furthermore, we emphasize that, unlike in Newtonian mechanics, where the metric tensor
is Euclidean, in our treatment, the metric tensor is not Euclidean. Instead, it respects the equivalence principle and employs a covariant formulation suitable for a general relativistic setting. In particular, in the present paper, we focus on mechanical phenomena and attempt a further generalization of the aforementioned theory to general relativity. Since this requires a four-dimensional approach, we begin by recalling some concepts from special relativistic thermodynamics, which provide the foundation for the four-dimensional formulation. Our approach is in agreement with Tolman’s framework [
10,
11,
12].
The paper is organized as follows. In
Section 2, we briefly recall the second law in special relativity and illustrate the four-dimensional formalism. In
Section 3, we introduce Riemannian space and derive the energy tensor. The generalization of the Kluitenberg’ approach to general relativity is developed in
Section 4. In
Section 5, the balance equation for entropy and the corresponding entropy production are derived. Finally, in
Section 6, we provide concluding remarks on the proposed theory.
2. Remarks on the Second Law of Thermodynamics in Special Relativity: Four-Dimensional Form
Let
A be an elementary portion of a continuous medium with a volume
, and let
be the entropy density evaluated at the point
P of
A. The entropy of the element
A will be
and the second law of thermodynamics can be written as follows [
10]:
This relation connects the entropy variation of
A during the time interval
to the heat
that flows inside
A supplied at the temperature
T in time
. From relation (
1), it follows that
Recalling that
where
is the fluid velocity, Equation (
2) becomes
Taking into account that (see eq. 4.3 of [
6])
after using the Einstein summation convention, it follows that
We state that the Latin index assumes the values
while the Greek index takes the values
. Let us consider the well-known pseudo-Euclidean metric [
13,
14,
15]
wherein
and
c is the speed of light in a vacuum. In this space, the relation (
4) can be rewritten as
and the expression (
6) becomes
Dividing Equation (
7) by
, we obtain
Moreover, the following relation is well known [
6,
10]
or
where
is the entropy density in the proper frame. Taking into account Equations (
10) and (
12), the inequality (
9) becomes
By defining the entropy density four-vector
as follows [
11,
12],
Equation (
13) assumes the following form [
10,
16,
17]
where the following well-known equation is used:
from Tolman (1958) [
10], as this expression remains valid due to the invariance of the ratio of heat to temperature under Lorentz transformations. In relation (
16), the terms
and
represent the heat flux and the temperature in the proper system, respectively. This equation is introduced within the framework of special relativity. As for the definition of temperature in general relativity, it has been defined, following the ideas of Levi-Civita, as a natural generalization of the special relativistic case, in accordance with the definition proposed in one of our previous papers, and consistent with Ott’s definition. In any case, the formulation respects the equivalence principle.
4. Generalization to General Relativity
The natural generalization of Equation (
15), which satisfies both the equivalence principle and general covariance, is given by [
10,
11,
12,
21,
22]
where
and
The quantity
that appears in Equation (
25) is evaluated taking into account the metric given by Equation (
20). It can be shown that Equation (
24) can be written [
11,
12]:
or
Here, we do not explain the physical content of Equations (
24)–(
28), for further detail, and the reader may refer to Tolman’s exposition [
10]. Furthermore, for our purpose, we consider the four-vector given in Equation (
23):
In particular, we focus on its time component
After substituting Equation (
23) we obtain
This equation reduces to Equation (
11) when the metric (
20) becomes the one expressed by (
7) [
6]. Now, observing that Equation (
11) represents the expression of the entropy density in a generic inertial frame, it is reasonable to interpret Equation (
31) as its extension to a Riemannian space with metric (
20). Therefore, we consider
, as defined in Equation (
31), to represent the entropy density in such a space. By analogy with Equation (
11), we define
where the subscript
g stands for “general”. Rewriting Equation (
31) in this form, we obtain
This expression also satisfies the equivalence principle [
20]. In the following, a bar over a quantity indicates that it is evaluated in the proper frame. At this point, a natural question arises: what are the variables upon which entropy density (
33) depends, in a frame of reference with the metric given by (
20)?
As previously mentioned,
depends on the energy density (given by the temporal component of the energy tensor
), as well as on the total strain tensor
and the anelastic part of the total strain tensor
according to [
6]:
In special relativity, this dependence is preserved by invoking the relativity principle [
6]. In that context, the entropy density expressed by Equation (
11) was considered a function of the transformed quantities
as derived in [
6]. The considerations made in [
6] were based exclusively on the principle of relativity and, consequently, on Lorentz transformations. However, since we are now extending the discussion to general relativity, it becomes necessary to consider general coordinate transformations [
13,
16]:
which admits the inverse transformation
Unlike in special relativity, we cannot postulate a principle of general relativity, as such a principle is not physically meaningful within the context of general relativity. Consequently, generalizing the form of Equation (
34) is non-trivial in this new framework.
The only two principles we have to satisfy are [
10]
- (a)
The general covariance principle
- (b)
The equivalence principle.
However, the following considerations allow us to obtain a functional dependence similar to that exepressed by Equation (
34), but with a different meaning of the variables. Obviously, the functions
, on which depends
, will have the corresponding form in a generic reference frame, and their law of transformation will follow those of tensors under a general transformation of coordinates, as given by Equation (
35). Therefore, for the component
we have [
13]
where
is the energy-momentum tensor in the general frame. Equation (
37) shows that
The term
in this approach depends on the tensor
, and not just on
as in special relativity [
6]. All this, taking into account Equation (
33), allows us to consider
as function of
.
As for the correspondence of and in a generic frame, denoted by and respectively, it is important to observe that, under a general coordinate transformation, the physical meaning of the phenomena described by and may change.
In other words, due to the presence of a gravitational field, an elastic phenomenon can, for example, be transformed into an inelastic one. Therefore, under a general coordinate transformation (
35), we never have a purely elastic phenomenon.
Likewise, an inelastic phenomenon can be transformed into an elastic one. Because
and
correspond to
and
, respectively, according to the transformation law of the tensors, if [
2,
3,
6]
then we can naturally define the corresponding of
as
The transformation law of tensors allows us to write the following functional dependences:
remembering the differences in the physical meaning of the phenomena to which the strain tensor refers in the proper system and in a generic system. These considerations allow us to write the following relation:
From Equations (
28), (
38) and (
43), it follows that
whose components are
For analogy with special relativity, we define the temperature
T in a general frame of reference [
6]
where
is the temperature in the proper frame [
6]. By defining
Equation (
48) becomes
This equation satisfies the equivalence principle because Equation (
50) becomes
If the metric is defined by relation (
7) [
6], then Equation (
52) can be written as follows
in accordance with the Ott transformation law of special relativity [
8]. It can be observed that Equation (
46) represents the entropy variation due to variation of the components of the energy flow along the
direction, while Equation (
47) represents the entropy variation due to components of the stress exerted on a surface element normal to the
direction. From Equations (
33), (
34), and (
43), it follows that
It is well known that [
6]
where
is the equilibrium stress tensor in the proper system [
2,
3,
6]. Then, Equation (
54) becomes
From Equation (
48), one has
and Equation (
56) can be written as
or
Now, we define the equilibrium stress tensor
in a generic frame, with the metric given by Equation (
20), as
by analogy with special relativity [
6]. Then, Equation (
59) becomes
Equations (
59)–(
61) satisfy the equivalence principle if the metric is expressed by relation (
7) (see [
6]). From Equation (
43), following a similar procedure, we define the affine stress tensor
as
and
This also satisfies the equivalence principle, as can be easily shown. Equations (
61) and (
62) express a transformation law for stress tensors. Since this law must be the same for each type of stress, it follows that
or
Here, we assume that even in general relativity, the gravitational field does not influence the meaning of stress, which is naturally defined as the ratio of force to surface. Therefore, the transformation of the generic stress tensor can be obtained from the following tensor:
This is a fourth-rank tensor with 81 components. Now it is easy to adopt a special relativity approach to thermodynamics and introduce the viscous stress tensor. Recalling that in a proper frame, the viscous stress tensor is defined as [
2,
3,
6]:
we define the viscous stress tensor
in a general frame of reference with metric given by Equation (
20), as the transformation of tensor (
67) via tensor (
66):
Here too, the principle of equivalence holds.
We define specific contributions to the energy–momentum tensor, namely those given by Equations (
61), (
62), (
67) and (
68), which nevertheless satisfy the equivalence principle. Naturally, these are not equations but rather tensorial expressions incorporated into the energy–momentum tensor appearing in Einstein’s field equations. We consider the energy–momentum tensor in various formulations, but for our purposes, we restrict attention to a subset of its contributions (see Equations (
38) and (
45)–(
53)), assuming the metric given by Equation (
17). We have considered the metric tensor, which is used to express the gravitational field tensor, and therefore, we are implicitly accounting for Einstein’s field equations.
6. Conclusions
Non-equilibrium thermodynamics in general relativity finds significant application in cosmology, particularly in analyzing the large-scale behavior of cosmic fluids, as well as in studying galaxy formation and the evolution of mass and energy densities through the energy–momentum tensor. As such, it proves to be especially suited to investigating the expansion of the universe. A more detailed approach, based on non-equilibrium thermodynamics with internal variables, can therefore make a substantial contribution to the understanding of these phenomena. In this framework, the energy–momentum tensor plays a central role, and a refined formulation of its contributions becomes necessary. This paper aims precisely to introduce specific constituents of the energy-momentum tensor, including various types of stress tensors, within a general relativistic framework that incorporates internal variables. Such a tensor is, of course, an integral part of Einstein’s field equations.
The extension of Kluitenberg’s non-equilibrium thermodynamics with internal variables to general relativity has been developed using the Levi-Civita formalism to construct the energy tensor. Additionally, the Tolman approach was adopted to formulate special relativity in four-dimensional pseudo-Euclidean space, and its extension to Riemannian space was achieved through a natural generalization of these frameworks.
A particularly significant result is the definition of equilibrium, inelastic, and viscous stress tensors in Riemannian space. These have been formulated by introducing the strain tensor into spacetime and applying our non-equilibrium thermodynamic model with internal variables. From a physical point of view, we have demonstrated that the strain tensor, whether elastic or inelastic, acquires new interpretative meaning in the presence of gravitation, as its behavior in a proper system does not necessarily remain unchanged in a curved spacetime.
Based on these considerations, we were able to specify the functional dependence of entropy density in a Riemannian setting, thereby allowing for the definition of temperature within general relativity. Finally, the corresponding entropy production was derived.
These results are consistent with both the principle of general covariance and the equivalence principle. It is worth emphasizing that the results presented here can be applied to astrophysical scenarios where special relativity no longer suffices, for example, in the study of black holes.