Dirac structures in nonequilibrium thermodynamics for simple open systems
Fran\c{c}ois Gay-Balmaz, Hiroaki Yoshimura

TL;DR
This paper introduces a geometric framework using Dirac structures to model the dynamics of simple open thermodynamic systems exchanging heat and matter, extending the geometric approach to nonequilibrium thermodynamics.
Contribution
It develops a novel formulation of open thermodynamic systems using Dirac structures within a time-dependent nonholonomic mechanics framework, addressing explicit time dependence issues.
Findings
Formulation of Dirac dynamical systems for open thermodynamics
Introduction of variational principles for these Dirac systems
Application to simple systems with entropy as the state variable
Abstract
Dirac structures are geometric objects that generalize Poisson structures and presymplectic structures on manifolds. They naturally appear in the formulation of constrained mechanical systems and play an essential role in structuring a dynamical system through the energy flow between its subsystems and elements. In this paper, we show that the evolution equations for open thermodynamic systems, i.e., systems exchanging heat and matter with the exterior, admit an intrinsic formulation in terms of Dirac structures. We focus on simple systems, in which the thermodynamic state is described by a single entropy variable. A main difficulty compared to the case of closed systems lies in the explicit time dependence of the constraint associated to the entropy production. We overcome this issue by working with the geometric setting of time-dependent nonholonomic mechanics. We define three type of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsControl and Stability of Dynamical Systems · ATP Synthase and ATPases Research · Advanced Thermodynamics and Statistical Mechanics
Dirac structures in nonequilibrium thermodynamics for simple open systems
François Gay-Balmaz Hiroaki Yoshimura
CNRS, LMD, IPSL School of Science and Engineering
Ecole Normale Supérieure Waseda University
24 Rue Lhomond 75005 Paris, France Okubo, Shinjuku, Tokyo 169-8555, Japan
[email protected] [email protected]
(July 15, 2019)
Abstract
Dirac structures are geometric objects that generalize Poisson structures and presymplectic structures on manifolds. They naturally appear in the formulation of constrained mechanical systems and play an essential role in structuring a dynamical system through the energy flow between its subsystems and elements. In this paper, we show that the evolution equations for open thermodynamic systems, i.e., systems exchanging heat and matter with the exterior, admit an intrinsic formulation in terms of Dirac structures. We focus on simple systems, in which the thermodynamic state is described by a single entropy variable. A main difficulty compared to the case of closed systems lies in the explicit time dependence of the constraint associated to the entropy production. We overcome this issue by working with the geometric setting of time-dependent nonholonomic mechanics. We define three type of Dirac dynamical systems for the nonequilibrium thermodynamics of open systems, based either on the generalized energy, the Lagrangian, or the Hamiltonian. The variational formulations associated to the Dirac systems formulations are also presented.
1 Introduction
Nonequilibrium thermodynamics is a phenomenological theory that aims to identify and describe the relations among the observed macroscopic properties of a physical system and to determine the macroscopic dynamics of this system with the help of fundamental laws (e.g. Stueckelberg and Scheurer [1974]). The field of nonequilibrium thermodynamics naturally includes macroscopic disciplines such as classical mechanics, fluid dynamics, elasticity, and electromagnetism. The main feature of nonequilibrium thermodynamics is the occurrence of the various irreversible processes, such as friction, mass transfer, and chemical reactions, which are accompanied by entropy production. In particular, a crucial class of nonequilibrium systems in many applications is no doubt that of open systems, in which there is an exchange of energy and matter between the system and the surroundings through its ports.
The classical theory of nonequilibrium thermodynamics emerged with the work of Onsager [1931] on the reciprocal relations connecting the coefficients, which appear in the linear phenomenological relations between irreversible fluxes and thermodynamic forces. We refer to the classical books de Groot and Mazur [1969]; Glansdorff and Prigogine [1971]; Stueckelberg and Scheurer [1974]; Woods [1975]; Lavenda [1978]; Kondepudi and Prigogine [1998], for the general setting and various applications of nonequilibrium thermodynamics.
Several variational formulations have been developed in the context of nonequilibrium thermodynamics, such as those based on the principle of least dissipation of energy (Onsager [1931]; Onsager and Machlup [1953]; Machlup and Onsager [1953]) and those based on the principle of minimum entropy production (Prigogine [1947]; Glansdorff and Prigogine [1971]). The former utilized the reciprocity appeared in the linear phenomenological relations, while the latter was generalized in Ziegler [1968] to the case of systems with nonlinear phenomenological relations. We refer to Gyarmati [1970]; Lavenda [1978] for more information on the variational formulations related to nonequilibrium thermodynamics.
On the other hand, the geometric formulation of equilibrium thermodynamics was mainly studied in the context of contact geometry, see Hermann [1973]; Mrugala [1978, 1980]; Mrugala et al. [1991], following the initial works of Gibbs [1873a, b]; Carathéodory [1909]. In this geometric setting, thermodynamic properties are encoded by Legendre submanifolds of the thermodynamic phase space. A step toward a geometric formulation of irreversible processes was made in Eberard et al. [2007] by lifting port-Hamiltonian systems to the thermodynamic phase space. The underlying geometric structure in this construction is again a contact form.
Variational formulation and Dirac structures in nonequilibrium thermodynamics.
A novel variational formulation for the nonequilibrium thermodynamics of finite dimensional and continuum closed systems has been proposed in Gay-Balmaz and Yoshimura [2017a, b]. This variational formulation is an extension of the celebrated Hamilton principle of classical mechanics, which includes the irreversible processes and the entropy production equation. Namely, this formulation is based on a type of the Lagrange-d’Alembert principle associated with a special class of nonlinear constraints, which is called nonlinear constraints of thermodynamic type. This type of variational formulation involves two kinds of constraints, namely, the one imposed on the critical curve and the other on the variations. In the context of nonequilibrium thermodynamics, thanks to the concept of thermodynamic displacement introduced in Gay-Balmaz and Yoshimura [2017a, b] these two constraints are related in a systematic way as
[TABLE]
with the thermodynamic flux and the thermodynamic displacement of the process .
As shown in Gay-Balmaz and Yoshimura [2018c] to this variational formulation is naturally associated a geometric structure given by a Dirac structure that allows to systematically formulate the equations for simple isolated thermodynamic systems as Dirac dynamical systems. In absence of irreversible process, this geometric formulation consistently recovers the standard Hamiltonian formulation of classical mechanics.
Let us recall that Dirac structures are geometric objects that extend the notion of presymplectic and Poisson structures and were introduced in Courant [1990]; Courant and Weinstein [1988]. They have been successfully used for the formulation of electric circuits, van der Schaft and Maschke [1995a]; Bloch and Crouch [1997], nonholonomic mechanical systems, van der Schaft and Maschke [1995b], as well as constrained implicit Lagrangian systems Yoshimura and Marsden [2006a, b].
The variational formulation of nonequilibrium thermodynamics mentioned above has been extended to the case of discrete (finite dimensional) open systems in Gay-Balmaz and Yoshimura [2018a], see also Gay-Balmaz and Yoshimura [2019] for a review of both closed and open systems. For such open systems, the exchange of matter between the system and the exterior through it ports induces fundamental changes in the structure of the constraints, since they become explicitly dependent on time and the relation (1) is modified by additional terms that depend on the exterior of the system. The variational setting developed in Gay-Balmaz and Yoshimura [2018a] includes these main features.
It is natural to ask if the evolution equations for thermodynamic system can be formulated in the context of Dirac structures, as in nonholonomic mechanics. For the case of simple and adiabatically closed systems, the present authors have shown in Gay-Balmaz and Yoshimura [2018c] the construction of Dirac structures in nonequilibrium thermodynamics together with the associated Dirac dynamical systems.
In this paper, we will show an extension to the case of simple open systems. In order to carry out this, we will use the geometric setting of time-dependent nonholonomic mechanics, which is based on the extended configuration manifold , seen as a trivial vector bundle , , over . This is the geometric setting of classical field theories as it applies to time-dependent mechanics (see, Gotay, Isenberg, Marsden and Montgomery [1997]). Even though the bundle is trivial and the base is one-dimensional, having this abstract point of view turns out to be crucial for our developments, since it directly provides us with the intrinsic concept of the covariant energy, covariant Hamiltonian, as well as the covariant Pontryagin bundle, associated with , which turn out to be fundamentals of our Dirac formulation.
Organization of the paper.
We start by quickly recalling the notion of Dirac structures and Dirac dynamical systems in nonholonomic mechanics, as well as the associated variational formulations, for the case in which the kinematic constraints are linear with respect to velocities. Then, we briefly indicate some of the difficulties that need to be overcome in the geometric formulation, when passing from adiabatically closed to open systems. In §2 we first make a short review on the variational formulation for simple open systems. Then we describe an abstract variational setting that reflects the main feature of our variational formulation and explain how it applies to open systems. In §3, we describe an abstract setting involving two geometric objects, and , associated to the constraints used in the variational formulation of open systems and clarify geometrically the link between them in thermodynamics. Given a variational constraint , we construct a distribution on the covariant Pontryagin bundle, from which a Dirac structure is obtained. We then formulate the Dirac dynamical system associated to this Dirac structure and to the covariant generalized energy, and develop the evolution equations governed by this system. Two other Dirac formulations are also presented, which are respectively associated to the Lagrangian and the Hamiltonian, together with their associated variational formulations of Lagrange-d’Alembert-Pontryagin type. From these developments, we deduce in §4 the Dirac system formulation for open thermodynamic systems, and explicitly show that the complete set of evolution equations for the system can be obtained from the Dirac formulation. We also interpret physically the variables involved in the Dirac system formulation.
Dirac structures, Dirac dynamical systems, and application in nonholonomic mechanics.
Let be a manifold and consider the Pontryagin vector bundle over endowed with the symmetric fiberwise bilinear form
[TABLE]
for all . A Dirac structure on is by definition a vector subbundle , such that relative to , see Courant [1990].
For example, given a two-form and a distribution on (i.e., a vector subbundle of ), the subbundle defined by, for each ,
[TABLE]
is a Dirac structure on . In this paper, we shall extensively use this construction of Dirac structure.
Remark 1.1** (Integrability)**
A Dirac structure is called integrable if it is involutive with respect to the Dorfman bracket defined on the space of sections of by
[TABLE]
Note that this bracket is not skew-symmetric but satisfies a Jacobi identity. We refer to Kosmann-Schwarzbach [2013] for references and historical review on this bracket. What we call Dirac structures are sometime referred to as almost Dirac structures in the literature, where the name Dirac structure is only used for the integrable case. Since we are not concerned with the integrability condition in our applications to thermodynamics, we utilize for shortness the terminology ’Dirac structures’ even for the nonintegrable cases, following Yoshimura and Marsden [2006a].**
Given a Dirac structure on and a function , the associated Dirac dynamical system for a curve is
[TABLE]
where . Note that in general (3) is a system of implicit differential-algebraic equations and the questions of existence, uniqueness or extension of solutions for a given initial condition can present several difficulties.
The formulation (3) presents a unified treatment of formulating the equations of nonholonomic systems with a (possibly degenerate) Lagrangian. Let us quickly recall how this proceeds in the following. Consider a mechanical system with configuration manifold , a Lagrangian and a constraint distribution . Let be the Pontryagin bundle of and define the induced distribution , where is the projection defined by , where we use the local coordinates , and , respectively, for , the tangent bundle , and the cotangent bundle . We consider the Dirac structure induced, via (2), by the distribution and the presymplectic form on , where is the canonical symplectic form on and is the projection defined by . Then, the equations of motion for the nonholonomic system with and can be written in the form of a Dirac dynamical system (3) on the Pontryagin bundle as
[TABLE]
where is the generalized energy associated to , defined by . The system (4) is equivalent to the implicit differential-algebraic equation
[TABLE]
where denotes the annihilator of in . This system implies the Lagrange-d’Alembert equations for nonholonomic mechanical systems as
[TABLE]
The Lagrange-d’Alembert-Pontryagin principle.
For the Dirac dynamical system (4), there exists an associated variational formulation, in the sense that the critical curves for this principle are exactly the solutions of the system (5).
This variational formulation is called the Lagrange-d’Alembert-Pontryagin principle, which is given by the critical condition for curves as
[TABLE]
where the critical curve has to satisfy and where the variations considered in (6) are subject to the conditions and .
We can develop the intrinsic expression of the above variational formulation. To do this, defining the 1-form , where is the canonical one-form on and writing , it follows that the Lagrange-d’Alembert-Pontryagin principle can be written in the intrinsic form as
[TABLE]
where the critical curve has to satisfy and where the variations considered in (7) are subject to the conditions and . By direct computations, we obtain the following equations:
[TABLE]
These equations are clearly equivalent to the Dirac system \big{(}\dot{\mathrm{x}}(t),\mathbf{d}E(\mathrm{x}(t))\big{)}\in D_{\Delta_{P}}(\mathrm{x}(t)) in (4), and also are the intrinsic expressions of (5).
As to the details on the variational structures as well as the Dirac dynamical systems, see Yoshimura and Marsden [2006a, b].
Dirac structures in thermodynamics: from adiabatically closed to open systems.
Both the Dirac system formulation and the Lagrange-d’Alembert-Pontryagin variational formulation were developed in Gay-Balmaz and Yoshimura [2018a] for isolated thermodynamic systems, based on the variational formulation for nonequilibrium thermodynamics of Gay-Balmaz and Yoshimura [2017a, b]. The key step was the interpretation of the entropy production as a constraint, called a phenomenological constraint, as well as the introduction of the concept of thermodynamic displacements. This concept allows us to systematically relate the phenomenological constraint to the variational constraint, i.e., the constraints on the variations to be used in the variational condition. A main difficulty in the formulation of Dirac systems for thermodynamics lies in the fact that the phenomenological constraint is nonlinear, whereas a Dirac structure provides a fiber-wise linear structure induced from linear constraints (distributions) as in (2). Nevertheless, the special relation between the phenomenological and variational constraints allows for the development of a Dirac system formulation in the case of simple isolated systems, as shown in Gay-Balmaz and Yoshimura [2018a]. This special class of nonlinear constraints is called nonlinear constraints of thermodynamic type.
For open systems, the exchange of matter between the system and the exterior introduces two additional difficulties at the level of the constraints. First, the constraint becomes now explicitly time-dependent and second, the link between the phenomenological and variational constraints that held in the adiabatically closed case is now broken by additional terms that only depend on the exterior of the system. Remarkably, both difficulties are simultaneously solved by using the geometric setting of field theories as it applies to the case of time-dependent mechanics. In particular, the covariant Pontryagin bundle and the covariant generalized energy must be used instead of the Pontryagin bundle and generalized energy. In this setting, the time-dependent nonlinear constraint associated to the entropy production in the open thermodynamic system can be obtained from the Dirac system associated to a linear distribution on the covariant Pontryagin bundle, to which is naturally associated a Dirac structure.
2 Variational and geometric settings for open systems
In this section, we review the fundamental setting for open finite dimensional thermodynamic systems. First we recall in §2.1 the first and second laws of thermodynamics and their application to open systems. Then in §2.2 we review from Gay-Balmaz and Yoshimura [2018c] the variational formulation for open finite dimensional thermodynamic systems. This formulation is an extension of the Hamilton principle of classical mechanics. Finally in §2.3 we present an abstract setting that encodes the main features of the variational formulation for open systems since this will be the starting point for the development of the formulation in terms of Dirac structures.
2.1 The first and second laws for open systems
Before going into details on the fundamental laws in thermodynamics, we need to recall some basic terminology. We denote by a thermodynamic system and by its exterior. The state of the system is completely described by a set of state variables, which may comprise mechanical as well as thermodynamic variables. By definition, state functions are given as functions of these state variables. The evolution equations are to be differential equations that determine all the state variables, and hence all the state functions, at any time . We follow the formulation of the two laws as given by Stueckelberg and Scheurer [1974].
The first law of thermodynamics.
For every system , there exists an extensive scalar state function , called energy, which satisfies
[TABLE]
where is the power associated to the work done on the system, is the power associated to the transfer of heat into the system, and is the power associated to the transfer of matter into the system.
Given a thermodynamic system , the following terminology is generally adopted:
- •
is said to be closed if there is no exchange of matter, i.e., . When the system is said to be open.
- •
is said to be adiabatically closed if it is closed and there is no heat exchanges, i.e., .
- •
is said to be isolated if it is adiabatically closed and there is no mechanical power exchange, i.e., .
To describe , let us consider an open system with several ports, , through which matter can flow into or out of the system. We suppose, for simplicity, that the system involves only one chemical species and denote by the number of moles of this species. The mole balance equation is
[TABLE]
where is the molar flow rate into the system through the -th port, so that for flow into the system and for flow out of the system.
As matter enters or leaves the system, it carries its internal, potential, as well as kinetic energy. This energy flow rate at the -th port is the product of the energy per mole (or molar energy) and the molar flow rate at the -th port. In addition, as matter enters or leaves the system it also exerts work on the system that is associated with pushing the species into or out of the system. The associated energy flow rate is given at the -th port by , where and denote the pressure and the molar volume of the substance flowing through the -th port respectively. In this case, the power exchange due to the mass transfer is given by
[TABLE]
The second law of thermodynamics. For every system , there exists an extensive scalar state function , called entropy, which obeys the following two conditions:
- (a)
Evolution part:
If is adiabatically closed, the entropy is a non-decreasing function with respect to time , i.e.,
[TABLE]
where is the entropy production rate of the system accounting for the irreversibility of internal processes.
- (b)
Equilibrium part:
If is isolated, as time tends to infinity the entropy tends towards a finite local maximum of the function over all the thermodynamic states compatible with the system, i.e.,
[TABLE]
Finite dimensional simple systems.
A finite dimensional system , which is also sometimes called a discrete system, is defined by a collection of a finite number of interacting simple systems . Following Stueckelberg and Scheurer [1974], a simple system is a macroscopic system for which one (scalar) thermal variable and a finite set of non-thermal variables are sufficient to describe entirely the state of the system. From the second law of thermodynamics, we can always choose the thermal variable as the entropy .
Expression of the entropy production for open systems.
We shall recall the expression of the entropy production for the particular case, in which the system is simple, namely, the system has a single chemical component in a single compartment with constant volume , and with a single entropy attributed to the whole system. Also, we assume that there is no heat and work exchanges, except the ones associated to the transfer of matter and ignore all the mechanical effects. We refer to Gay-Balmaz and Yoshimura [2018c] for the expression of the entropy production in the general case. Regarding engineering applications and general treatments of open systems, see, for instance, Fuchs [2010]; Sandler [2006].
In this particular situation, the energy of the system is given by an internal energy , where is constant. The balance of mole and the balance of energy, i.e., the first law (see (9)), are respectively given by
[TABLE]
where is the molar enthalpy at the -th port and where , , and are respectively the molar internal energy, the pressure and the molar volume at the -th port. From these equations and the second law, one obtains the equations for the rate of change of the entropy of the system as
[TABLE]
where is the molar entropy at the -th port and is the rate of internal entropy production of the system given by
[TABLE]
with the temperature and the chemical potential. For our variational treatment, it is useful to rewrite the rate of internal entropy production as
[TABLE]
where we used the entropy flow rate as well as the relation . The thermodynamic quantities known at the ports are usually the pressure and the temperature , , from which the other thermodynamic quantities, such as or are deduced from the state equations of the gas.
The expression of the internal entropy production as rewritten in (12) is fundamental for the development of the variational formulation, as we will see below.
2.2 Variational formulation for open simple systems
Now we present the variational formulation for a simple discrete (finite dimensional) open thermodynamic system by following Gay-Balmaz and Yoshimura [2018c]. We shall focus on a simplified situation, namely, the case of an open system with only one entropy variable and one compartment with a single species. We refer to Gay-Balmaz and Yoshimura [2018c] for the more general cases.
State variables, Lagrangian, and thermodynamic displacements.
The state variables needed to describe the system are
[TABLE]
where denotes an -dimensional configuration manifold of the mechanical part of the system, is the configuration variable and is the velocity associated to the mechanical part of the system. The variable is the entropy of the system and is the number of moles of the chemical species. The Lagrangian is a function defined on the state space, namely,
[TABLE]
and is usually given by the kinetic energy minus the internal energy of the system. We assume that the system has ports, through which species can flow out or into the system and heat sources. As above, and denote the chemical potential and temperature at the -th port and denotes the temperature of the -th heat source.
An essential ingredient for our variational formulation of thermodynamics is the concept of thermodynamic displacements (Gay-Balmaz and Yoshimura [2017a, b, 2018c]). By definition, the thermodynamic displacement associated with an irreversible process is given by the primitive in time of a thermodynamic force (or affinity) of the process. For the process of heat transfer, such an affinity is given as the temperature , and hence the thermodynamic displacement is a variable such that . The variable is known as a thermal displacement. For the process of mass transfer, the affinity is the chemical potential , and hence the thermodynamic displacement is a variable such that . In addition to these thermodynamic displacements, our variational formulation also involves the variable , with entropy units, which is defined by the primitive in time of the rate of internal entropy production of the system, and therefore is distinct from .
Variational formulation for open systems.
With the setting mentioned above, the variational formulation is given as follows. Find the curves which are critical for the variational condition
[TABLE]
subject to the kinematic constraint
[TABLE]
and for variations subject to the variational constraint
[TABLE]
with , , and .
In the above, the variational constraint (15) follows from the phenomenological constraint (14) by formally replacing the time derivatives , , , by the corresponding virtual displacements , , , , and by removing all the terms that depend uniquely on the exterior, i.e., the terms , , and . Such a systematic correspondence between the phenomenological and variational constraints is at the core of the Dirac formulation that we will present below. We will consider in §2.3 a general setting that describes this systematic correspondence between the two constraints.
Taking variations of the integral in (13), integrating by parts, and using , , and and using the variational constraint (15), we get the following equations:
[TABLE]
By the second and fourth equations in (16), the variables and are thermodynamic displacements as before. Using (14), we get the following system of evolution equations for the curves , , :
[TABLE]
The energy balance for this system is computed as
[TABLE]
where the energy is given by . From the last equation in (17), the rate of entropy equation of the system is found as
[TABLE]
where is the rate of internal entropy production given by
[TABLE]
From the last equation (16) and (18) it follows that is the rate of internal entropy production. The second and third terms in (18) represent the entropy flow rate into the system associated to the ports and the heat sources. The second law requires , whereas the sign of the rate of entropy flow into the system is arbitrary.
2.3 A general setting for open thermodynamic systems
In order to formulate open thermodynamic systems in terms of Dirac structures, it is useful to develop a general variational setting that encodes the main features of the variational formulation (13)–(15). Details on how this setting applies to the thermodynamics of open systems are clarified in the last paragraph.
General setting.
Let us denote by an -dimensional configuration manifold of the system. An element represents all of the variables involved in the system, namely, not only mechanical variables but also the thermodynamic variables. The phenomenological constraint for open systems can be written in general form as
[TABLE]
where is a fiber preserving map, i.e., , for all , and , for all . Note that the phenomenological constraint (19) is nonlinear and time-dependent.
Consider a Lagrangian and an external force , with , for all . Note that in this general setting we allow both and to be time-dependent, although this is not the case in (13).
Variational formulation.
Given , , , and as above, consider the generalized version of the Lagrange-d’Alembert principle as follows: Find the curve critical for the variational condition
[TABLE]
subject to the kinematic constraint
[TABLE]
and for variations subject to the variational constraint
[TABLE]
with .
The generalized Lagrange-d’Alembert equations.
By direct computations, using Lagrange multipliers , , a curve is critical for the variational formulation (20)–(22) if and only if it is a solution of the following Lagrange-d’Alembert equations with time-dependent and nonlinear nonholonomic constraints and with external forces:
[TABLE]
Associated to the Lagrangian , we define the energy by
[TABLE]
On the solutions of the equations (23), we have the energy balance equation
[TABLE]
Application of the general setting to open systems.
The variational setting for open systems given in §2.2 can be obtained from the general setting above by choosing the configuration manifold
[TABLE]
where is the configuration manifold of the mechanical part of the system. The Lagrangian is time-independent and given by
[TABLE]
To describe the constraints, we choose the coefficients and such that
[TABLE]
Note that here , so that the exponent can be ignored. With these choices, the abstract kinematic constraint (21) and variational constraint (22) recover the kinematic constraint (14) and variational constraint (15) required in open thermodynamic systems.
It is important to observe that the molar flow rates , the entropy flow rates , , and the temperatures and chemical potentials , , at the ports may in general be explicit functions of time and some variables of the system, i.e., , , for instance. This is why it is important to allow the constraints to be explicitly dependent on time in our general setting. Although in general the Lagrangian, as shown in (26), is not explicitly dependent on time in our examples, we dare to regard the Lagrangian as a time-dependent one, since the time-dependence of the constraint demands to consider the geometric setting for time-dependent systems.
3 Dirac structures for time-dependent nonholonomic systems of thermodynamic type
In this section let us first consider two geometric objects, and , namely, the variational and kinematic constraints used in (21) and (22). We clarify the link between and that specifically appear in open thermodynamic systems, which are called the constraints of thermodynamic type. In this situation, we construct from a distribution on the covariant Pontryagin bundle. The Dirac structure is induced from this distribution and from a presymplectic form on the covariant Pontryagin bundle. Then, we can formulate the Dirac dynamical system associated to this Dirac structure and to the covariant generalized energy, and obtain the equations of evolution governed by this system. Finally, we show that there exists an associated variational formulation whose critical condition is exactly the condition given by the Dirac dynamical system. Furthermore, two other Dirac system formulations are presented, which are respectively associated with the Lagrangian and the Hamiltonian. These Dirac systems, called Lagrange-Dirac and Hamilton-Dirac systems, are based on the Dirac structure induced on the cotangent bundle rather than the covariant Pontryagin bundle.
3.1 Geometric setting for time-dependent constraints of thermodynamic type
For the definition of the Dirac structure below, it is useful to define two geometric objects and associated with the variational and kinematic constraints used in (21) and (22). Since these constraints depend explicitly on time, it is useful to establish a geometric setting that consistently includes time.
Given the configuration manifold considered above, we define the extended configuration manifold
[TABLE]
seen as a trivial vector bundle over , namely, , . This is known as the geometric setting of time-dependent mechanics in the context of classical field theories, as in Remark 3.2 below. In this setting, is the configuration bundle of the field theory. This setting will guide the developments made in this Section.
Time-dependent variational and kinematic constraints.
Consider the vector bundle over whose vector fiber at is given by . So an element in the fiber at each is denoted . By definition a variational constraint is a subset
[TABLE]
such that , defined by
[TABLE]
is a vector subspace of , for all . A kinematic constraint is by definition a submanifold
[TABLE]
This setting extends to the time-dependent case, the setting considered in Cendra, Ibort, de León, and Martín de Diego [2004] for mechanical systems, in which case and .
Constraints of thermodynamic type.
Given and without any specific relation between them, one can always develop a variational formulation based on the generalized Lagrange-d’Alembert principle. However, in general we cannot establish a Dirac structure in such a general situation. For the case of thermodynamic systems, it is remarkable that there is a specific relation between and , which directly follows from the variational setting developed as in Gay-Balmaz and Yoshimura [2018c], and allows for a formulation in terms of Dirac structures. This relation between and is stated as follows:
Definition 3.1
A variational constraint and a kinematic constraint are called of thermodynamic type if is defined in terms of as follows:
[TABLE]
For instance, the variational constraint associated to the functions and , , considered in §2.3, is given as follows
[TABLE]
Then, the associated kinematic constraint of thermodynamic type defined in (27) reads
[TABLE]
In the above, we employed Einstein’s summation convention, which will be used in the following sections unless otherwise stated.
3.2 Time-dependent Dirac systems on the covariant Pontryagin bundle
Recall that in mechanics with a configuration manifold , the Pontryagin bundle is the vector bundle over defined as the Whitney sum of the tangent and cotangent bundles of , i.e.,
[TABLE]
The Pontryagin bundle is the natural object on which the generalized energy is defined. Namely, for a given Lagrangian , the generalized energy is defined by
[TABLE]
Covariant Pontryagin bundle and generalized energy.
The analogue to the Pontryagin bundle (30) for time-dependent mechanics with an extended configuration manifold is the covariant Pontryagin bundle given by
[TABLE]
See Remark 3.2 for the justification of this definition. For the covariant Pontryagin bundle, an element in the fiber at is denoted by . Given a Lagrangian , the covariant generalized energy is defined on as
[TABLE]
We will also define the generalized energy by
[TABLE]
Remark 3.2** (Geometric setting for field theory and time-dependent mechanics)**
We shall now comment on the compatibility of the definitions (31) and (32) with the general definitions of the covariant Pontryagin bundle and covariant generalized energy in field theories, see Gotay, Isenberg, Marsden and Montgomery [1997], for the details. To describe field theories, one starts with a fiber bundle, , the configuration bundle, whose sections are the fields of the theory. The analogue to the tangent bundle of mechanics is the first jet bundle , whose fiber at is the affine space , where . The Lagrangian density of the theory is a map
[TABLE]
covering , where is an oriented manifold with and denotes the bundle of -form over . The analogue to the cotangent bundle of mechanics is the dual jet bundle , whose fiber at is the space of affine maps from to , i.e., . The field theoretic analogue to (30) is thus the covariant Pontryagin bundle defined as
[TABLE]
The covariant generalized energy density associated to is defined on as
[TABLE]
where and . In local coordinates , and the covariant generalized energy density reads
[TABLE]
It is well known that time-dependent mechanics can be geometrically formulated as a field theory. In this case, we have and the configuration bundle is the trivial bundle . We have the canonical identifications and . Therefore, in this case the general definition of the covariant Pontryagin bundle in (35) does recover (31), since , when .
The Lagrangian density (34) is in this case a map . The link with the Lagrangian considered above is . Note that the definition of in terms of depends on the chosen parameterization of time, i.e., of .
When , by using (36) we see that the covariant generalized energy density is related to the covariant generalized energy (32) as . Here again, this relation depends on the chosen parameterization of time. **
Distribution induced on the covariant Pontryagin bundle.
From a given variational constraint , we define the induced distribution on the covariant Pontryagin bundle defined as
[TABLE]
If is given as in (28), then the distribution is given by
[TABLE]
Dirac structures on the covariant Pontryagin bundle.
Consider the canonical symplectic form on given by , where is the canonical one-form on . In local coordinates, we have and . Using the projection , onto , we get the presymplectic form on the covariant Pontryagin bundle given by
[TABLE]
Its local expression is .
Given the distribution in (37) and the presymplectic form in (39), we consider the Dirac structure on defined as in (2) by, for all ,
[TABLE]
We now show explicitly this Dirac structure for the distribution given in (38). Writing , , , and , the condition reads
[TABLE]
where denotes the annihilator of , i.e.,
[TABLE]
By using (28), we get the annihilator
[TABLE]
Thus, the coordinate expressions in (41) are
[TABLE]
Dirac dynamical systems on the covariant Pontryagin bundle.
Given a variational constraint , consider the induced distribution on defined in (37) and the Dirac structure defined in (40). Given also a time-dependent Lagrangian , consider the associated covariant generalized energy defined in (32).
Definition 3.3
Given and as above, the associated time-dependent Dirac dynamical system for a curve of the form
[TABLE]
on the covariant Pontryagin bundle is
[TABLE]
Remark 3.4
Note that the curve in (43) is not an arbitrary curve in since its first component is . In the language of field theory, it is a section of the covariant Pontryagin bundle seen as a bundle over .**
From the expression (40), we have the equivalence
[TABLE]
Now, let us explicitly compute the equations of motion of the Dirac dynamical system. The differential of is given by
[TABLE]
Therefore, using the expression (41) of the Dirac structure, the Dirac dynamical system (44) gives following the conditions on the curve ,
[TABLE]
By using the local expressions in (42), we get the Dirac dynamical system in the following form:
[TABLE]
Since the second equation in (46) is always satisfied, and since the last equation in (46) can be solved apart from the others (as an output equation), (46) induces the evolution equations
[TABLE]
for the curve . Finally, system (47) yields the following equations for the curve :
[TABLE]
which recovers the Lagrange-d’Alembert equations with time-dependent nonlinear constraints as given in (23) in absence of external forces. In particular, we notice that the second equation in (48) recovers the kinematic constraints , although only was used to introduce the Dirac stricture . This is due to the special link between the constraints and of thermodynamic type, see Definition 3.1. We summarize the obtained results in the following theorem.
Theorem 3.5
Given a variational constraint as in (28), consider the induced Dirac structure on as in (40). Let be a time-dependent Lagrangian and be the associated covariant generalized energy. Then the following statements are equivalent:
- •
The curve satisfies
[TABLE]
- •
The curve satisfies the time-dependent Dirac system
[TABLE]
In other words, the Dirac system implies the system of equations (48) for the curve . In particular, the curve satisfies the kinematic constraint .
Let us recall that the Lagrange-d’Alembert equations with time-dependent and nonlinear nonholonomic constraints given in (48) are the general abstract type of equations that govern the time evolution of open simple thermodynamic systems, as explained in §2.3. Later in §4, we will apply this Dirac formulation to open thermodynamic systems.
Energy balance equations.
From the equations (46) we deduce that the covariant generalized energy defined in (32) is preserved along the solution curve of the Dirac dynamical system (46),
[TABLE]
Note that does not represent the total energy of the system. In fact, the total energy is represented by the generalized energy in (33). In terms of , equation (50) are to be
[TABLE]
This is the balance of energy for the Dirac system. Note that is interpreted as the power flowing out of the system. The first term on the right hand side is uniquely due to the explicit dependence of the Lagrangian on time. The second term is due to the affine characteristic of the kinematic constraint and will be interpreted later as the energy flowing in or out of the systems though its ports in the context of open systems. For the case where there does not exist any constraint, the energy balance equation of time-dependent mechanics can be recovered (see Lanczos [1970]).
It is interesting to note that the equation for is solved apart from the other equations. A natural initial condition for is , so that covariant generalized energy vanishes, i.e., for all , which is the generalized energy analogue of the super-Hamiltonian constraint.
Remark 3.6** (Time-dependent Dirac systems)**
Let us stress that (44) is called a time-dependent Dirac system, since it explicitly includes the time as a variable. The time-dependent Dirac structure is defined at each point of the covariant Pontryagin bundle, which includes the time as a variable. This is in contrast with the Dirac structure appearing in mechanics , which are defined at each point of the Pontryagin bundle and cannot incorporate time-dependent constraints.
From the field theoretic point of view, the time-dependent Dirac system (44) can be interpreted as a special instance of a multi-Dirac formulation for constrained field theories that extend the multi-Dirac field theory developed in Vankerschaver, Yoshimura, and Leok [2012]. **
A first Lagrange-d’Alembert-Pontryagin principle.
A first version of this principle can be obtained from (20)–(22) by a direct extension of the Lagrange-d’Alembert-Pontryagin principle for mechanical systems with linear constraints recalled in (6). This variational principle, which uses the generalized energy on , is given as
[TABLE]
subject to the kinematic constraints
[TABLE]
and for variations , , subject to the variational constraints
[TABLE]
with .
The principle in (52) is defined on curves . From the stationarity conditions, it follows
[TABLE]
One notes that only a subset of the conditions associated to the Dirac dynamical system (46) are recovered, namely, the equation for is missing. In order to include this equation as a stationarity condition, we shall first express the Lagrange-d’Alembert-Pontryagin principle (52) in the intrinsic form, as in (7), by using the one form on naturally induced from the canonical one-form on , namely,
[TABLE]
locally given by . Using and the covariant generalized energy in (32) the variational principle (52)–(54) can be intrinsically written as follows for sections of the form :
[TABLE]
subject to the kinematic and variational constraints
[TABLE]
with the endpoint conditions .
One indeed notes the equalities
[TABLE]
and, from (38), the equivalences
[TABLE]
that hold since and . As before, the stationary conditions for (56) are given by (55) and do not recover the equation for in (46). This is due to the fact that the curve and its variations are sections, see Remark 3.4, namely, we have
[TABLE]
and thus the first component of must be zero. In the language of fiber bundles, we say that is vertical, relative to the projection .
The Lagrange-d’Alembert-Pontryagin principle associated to the Dirac system.
In order to get all the equations for the Dirac system in (46) from the variational formulation, we shall define the action functional (56) on arbitrary curves in the covariant Pontryagin bundle , namely,
[TABLE]
rather than just on sections, while we still require that the critical curve is a section, i.e. . We shall denote by the derivative with respect to . For such curves, we consider the same Lagrange-d’Alembert-Pontryagin principle as in (56)–(57), and seek for a section critical for
[TABLE]
subject to the kinematic and variational constraints
[TABLE]
with the endpoint conditions .
Equivalently, the critical point condition (61) reads
[TABLE]
where is such that , for all . Taking arbitrary variations
[TABLE]
which are not necessarily vertical, (compare to (59)), this variational formulation yields the equations
[TABLE]
These equations are equivalent to the condition of the Dirac system, namely, \big{(}\dot{\mathrm{x}},\mathbf{d}\mathcal{E}(\mathrm{x})\big{)}\in D_{\Delta_{\mathcal{P}}}(\mathrm{x}).
We now write explicitly this variational condition. As opposed to (58), we have
[TABLE]
The Lagrange-d’Alembert-Pontryagin principle in (61)–(62) for a curve given in (60) reads explicitly
[TABLE]
subject to the kinematic constraints
[TABLE]
for variations subject to the variational constraints
[TABLE]
Note that (65) is imposed on the critical curve, which is a section, this is why and . On general curves this constraint would read A_{i}^{r}\big{(}t,x,v\big{)}\dot{x}^{\prime}{}^{i}+B^{r}\big{(}t,x,v\big{)}t^{\prime}=0.
A direct application of (64)–(66) yields the following equations
[TABLE]
together with . These equations are the local expressions of (63).
From the equations (63), we also get the equivalence between the Lagrange-d’Alembert-Pontryagin principle in (61)–(62) and the Dirac dynamical system in (44) written for arbitrary curves . This is the statement of the next theorem.
Theorem 3.7** (Equivalence of the Dirac and variational formulation)**
The following statements on a section are equivalent:
- •
The section is a solution of the Dirac dynamical system
[TABLE]
- •
The section satisfies
[TABLE]
- •
The section is a critical point of the variational formulation (61)–(62).
Moreover, the Dirac dynamical system deduces the system of equations for a curve as in (48).
Remark 3.8** (Inclusion of external forces)**
External forces can be included in all the formulations in §3.2, consistently with the equations obtained from (20) as follows.
Suppose that an external force field , with , for all is given. Consider the natural projection as , the external force field on can be lifted as a horizontal one-form on as
[TABLE]
where . Locally, we have .
Therefore, the Dirac dynamical system in (49) may be replaced by
[TABLE]
The associated variational formulation is given by the Lagrange-d’Alembert-Pontryagin principle for arbitrary curves in the covariant Pontryagin bundle seeking for a section , which is critical for
[TABLE]
subject to the kinematic and variational constraints in (62) with the endpoint conditions , where and the derivative with respect to .
Thus, the Dirac formulation in (68) and the variational formulation in (69) provide the same evolution equations
[TABLE]
which are given in coordinates by
[TABLE]
3.3 Lagrange-Dirac systems on the cotangent bundle
As in mechanics, we can construct another type of Dirac dynamical systems, called Lagrange-Dirac systems, based on an induced Dirac structure on the cotangent bundle as well as the Lagrangian (rather than the covariant generalized energy ). In fact, given a time-dependent Lagrangian , a key step of this formulation is the construction of the map , which allows to define a Dirac differential for the time-dependent Lagrangian. To do this, we shall use the iterated tangent and cotangent bundles over the extended configuration manifold , as illustrated in Fig. 3.
Induced Dirac structure on the cotangent bundle .
Now we shall define the Dirac structure on induced from a given variational constraint as given in (28).
First, consider the variational constraint defined from , for each , by
[TABLE]
where is determined such that . At first glance, it appears that the definition of from is only possible when the Lagrangian is nondegenerate. In fact, it only needs the nondegeneracy with respect to the velocity that appears explicitly in . As will be shown in §4, the definition of is always possible in thermodynamics, due to the specific form of the Lagrangian, even though it is degenerate.
Let , be the cotangent bundle projection. The constraint distribution on is defined by
[TABLE]
for each . If is given as in (28), then it follows from (70) and (71) that the distribution reads
[TABLE]
Further, from the distribution and the canonical symplectic form , the induced Dirac structure on is defined as in (2) by
[TABLE]
For , we write , and . Then, the condition reads
[TABLE]
In local coordinates, using the Lagrange multipliers , we get
[TABLE]
The covariant Legendre transform.
Given a time-dependent Lagrangian , possibly degenerate, the covariant Legendre transform is defined by
[TABLE]
This follows the general expression of the covariant Legendre transform used in field theories, Gotay, Isenberg, Marsden and Montgomery [1997]. The corresponding element in is thus given by
[TABLE]
where is the Lagrangian energy, see (24).
The iterated tangent and cotangent bundles over .
Recall from Yoshimura and Marsden [2006a] that there exists three symplectomorphisms among the iterated tangent and cotangent bundles , , and , which were originally considered by Tulczyjew [1977] in the context of the generalized Legendre transform.
Let denote the tangent bundle projection, locally given by . We have , for the projections , and , . Let denote the cotangent bundle projection, locally given by . Similarly as before, we have .
Denoting by the local coordinates on , we have the canonical symplectomorphisms
[TABLE]
as illustrated in Figure 3, with
[TABLE]
Here and are the canonical symplectic forms on and , while the symplectic form on is given by .
Besides the cotangent bundle projections and and the tangent bundle projection , we also need the tangent map of given by , .
Further, we can consider the symplectomorphism defined by , locally given by
[TABLE]
The Dirac differential of the Lagrangian.
Given a time-dependent Lagrangian , we define a map by
[TABLE]
where is the Lagrangian energy, given by . Then, the Dirac differential of the time-dependent Lagrangian , denoted , is defined by
[TABLE]
where is the symplectic diffeomorphism given in (76). Thus, using (76) and (77), we get the local expression of the map as
[TABLE]
This is an extension of the Dirac differential for time-independent Lagrangians introduced in Yoshimura and Marsden [2006a].
Lagrange-Dirac systems on .
Given a variational constraint , we define the induced distribution on defined in (71) and the Dirac structure as in (72). We consider a time-dependent Lagrangian .
Definition 3.9
Given and as above, the associated time-dependent Lagrange-Dirac dynamical system for a curve is
[TABLE]
where and .
More explicitly, the Lagrange-Dirac system reads
[TABLE]
Using the local expression (74) of the Dirac structure (72) we get the equations of motion as
[TABLE]
together with the base point condition in (78) which gives the relations
[TABLE]
Equations (79)-(80) yield the Lagrange-d’Alembert equations with time-dependent and nonlinear nonholonomic constraints considered in (23).
The Lagrange-Dirac formulation of the Lagrange-d’Alembert equations (48) with nonlinear time-dependent constraint of thermodynamic type is summarized in the following.
Theorem 3.10
Consider a variational constraint as in (28) and the associated kinematic constraint of the thermodynamic type given in (29). Let be a time-dependent Lagrangian, be the variational constraint as in (70), and define the induced Dirac structure as in (72). Then the following statements are equivalent:
- •
The curve satisfies the implicit first order differential-algebraic equations
[TABLE]
- •
The curve satisfies the time-dependent Lagrange-Dirac system
[TABLE]
Moreover, the Lagrange-Dirac system implies the equations in (48) for the curve .
Energy balance equation.
By using the second equations in (79) and (80), we get the energy balance equation along the solution curve as
[TABLE]
3.4 Hamilton-Dirac systems on the cotangent bundle
Recall that the Lagrangian is hyperregular if
[TABLE]
is a diffeomorphism. In this case we can define the time-dependent Hamiltonian by
[TABLE]
Then we will also introduce the covariant Hamiltonian given by
[TABLE]
This definition comes from the context of Hamiltonian field theories. Indeed, in the general setting of field theories, see Remark 3.2, a covariant Hamiltonian density is a map of the form , for some function . In the particular case , the covariant Hamiltonian density is thus of the form with given in (81).
Hamilton-Dirac systems on .
Given a variational constraint , we consider the induced distribution on defined in (71) and the Dirac structure defined in (72). Consider a time-dependent Hamiltonian and the associated covariant Hamiltonian .
Definition 3.11
Given and as above, the associated time-dependent Hamilton-Dirac dynamical system for a curve is
[TABLE]
Using the expression (74) of the Dirac structure (72) and the expression of the differential of locally given by
[TABLE]
we get from (82) the equations
[TABLE]
By recalling the construction of the Dirac structure from a given variational constraint , the Hamilton-Dirac formulation of the equations with nonlinear time-dependent constraint of thermodynamic type can be summarized as follows.
Theorem 3.12
Consider a variational constraint associated to as in (70), and define the induced Dirac structure as in (72). Given a Hamiltonian on , define the covariant Hamiltonian as in (81). Then the following statements are equivalent:
- •
The curve satisfies the implicit first-order differential-algebraic equations:
[TABLE]
- •
The curve satisfies the time-dependent Hamilton-Dirac system
[TABLE]
Moreover, the Hamilton-Dirac system yields equations that are equivalent to (48) when the Lagrangian is hyperregular.
Energy balance equations.
One checks that the covariant Hamiltonian is conserved along the solution of the Hamilton-Dirac system (83),
[TABLE]
Note however that does not represent the total energy of the system, which is given by . In terms of , the balance equation (84) yields
[TABLE]
Energy is not conserved, consistently with the fact that the equations describe the dynamics of an open system, see §4. The quantity is interpreted as the power flowing out of the system. The equation for is independent from the others. A natural choice of the initial condition of is , so that for all , which is called the super-Hamiltonian constraint.
A first Hamilton-d’Alembert-Pontryagin principle.
In order to develop the variational structure underlying the Hamilton-Dirac dynamical system with the time-dependent nonholonomic constraints of thermodynamic type, we begin with the Hamilton-d’Alembert-Pontryagin principle for curves , which is a critical condition
[TABLE]
for variations and , with subject to the variational constraint
[TABLE]
with and also subject to the nonlinear constraint
[TABLE]
The principle (85) yields the equations of motion:
[TABLE]
We note that the principle (85) does not yield all the equations associated to the Hamilton-Dirac system in (83), namely, the equation for is missing. Before formulating a principle that includes this equation, we shall first express the Hamilton-d’Alembert-Pontryagin principle (85) in the intrinsic form by using the canonical one-form on and the covariant Hamiltonian . The Hamilton-d’Alembert-Pontryagin principle in (85) can be intrinsically written as
[TABLE]
subject to the kinematic and variational constraints
[TABLE]
with the endpoint conditions .
As before, the stationary conditions for (87) are given in (86) and do not recover the equation for in (83). This is due to the fact that is a vertical vector, namely .
The Hamilton-d’Alembert-Pontryagin principle associated to the Hamilton-Dirac system.
In order to recover all the equations in (83) for the Hamilton-Dirac system from the variational formulation, we shall define the action functional (87) for arbitrary curves in , namely,
[TABLE]
rather than just on sections, while we still require that the critical curve is a section, i.e. . We thus get
[TABLE]
subject to the kinematic and variational constraints
[TABLE]
with the endpoint conditions . Using that is an arbitrary variation in (i.e. not necessarily vertical), we get the conditions
[TABLE]
which are exactly the conditions given by the Hamilton-Dirac system (82).
In local coordinates, the Hamilton-d’Alembert principle is given by the critical condition for arbitrary curves as
[TABLE]
subject to the constraint
[TABLE]
for variations subject to the variational constraint
[TABLE]
One directly computes that all the conditions of the Hamilton-Dirac system in (83) are recovered.
4 Dirac formulations for open thermodynamic systems
In this section we describe the Dirac system formulation for open thermodynamic systems, by using the formulation developed for time-dependent nonholonomic constraints of thermodynamic type in §3.
4.1 Geometric setting for simple open thermodynamics
We consider an open thermodynamic system, as described in §2.2. In particular, as in Fig.2, the system is described by a Lagrangian which depends on the mechanical variables as well as the thermodynamic variables, i.e., entropy and number of moles of the system. The system has ports denoted through which matter can flow in or out of the system. For simplicity, we do not consider the external heat sources, though they can be easily incorporated.
Lagrangian and constraints for open thermodynamic systems.
As explained in §2.3, in this situation, we choose and as
[TABLE]
[TABLE]
and also choose the coefficients and in the constraints such that
[TABLE]
Now, we employ the local coordinates with and , the local coordinates with and, the local coordinates with .
4.2 Dirac formulation on the covariant Pontryagin bundle
As before, let be the covariant Pontryagin bundle over , whose coordinates are given by . Recall that here .
From the canonical forms on , the one-form and presymplectic form induced on as and , whose local expressions are respectively given by
[TABLE]
The variational and kinematic constraints.
By using the definition of the variational constraint given in (28), we have
[TABLE]
where we note that the affine part of the constraint is now associated to . Following the construction of the kinematic constraint given in (27), i.e.,
[TABLE]
we obtain the constraint
[TABLE]
where we note that the affine part of the constraint is now associated with .
Dirac structures on for open thermodynamic systems.
Recall from (37) that the variational constraint induces a distribution on . As shown in (40), from the distribution and the presymplectic form , we can define the induced Dirac structure on .
We now describe the Dirac structure induced by the variational constraint (93). For each , we use the notation
[TABLE]
where , , , , and .
We utilize the expression of the annihilator , which is given by all covectors such that
[TABLE]
Using this and (41), the condition
[TABLE]
is given explicitly by
[TABLE]
Expression (96) is the local description of the Dirac structure .
Dirac system on for open thermodynamic systems.
Recall from (92) that the Lagrangian to be considered is given by . The covariant generalized energy, see (32), is here given by
[TABLE]
The differential of is obtained by
[TABLE]
where
[TABLE]
and
[TABLE]
By using this and the expression (96) of the Dirac structure, it follows that the Dirac dynamical system \big{(}(\dot{t},\dot{q},\dot{v},\dot{\mathsf{p}},\dot{p}),\mathbf{d}\mathcal{E}(t,q,v,\mathsf{p},p)\big{)}\in D_{\Delta_{\mathcal{P}}}(t,q,v,\mathsf{p},p) is equivalent to
[TABLE]
Since , we have from the equation in the fifth line. From this and , we obtain .
Making rearrangements, we get the following evolution equations:
[TABLE]
This formula is quite useful for making physical interpretations for the variables, as will be shown below. By further rearrangements, we finally get the required evolution equations:
[TABLE]
Notice that this recovers the equations (17) for the open system for the case in which there exist no external heat sources.
Interpretation of the thermodynamic variables.
Note that the two equations in the third line of (98) attribute to the variables and the meaning of thermodynamic displacements associated to the process of heat and matter transport. The conjugate momenta associated to is interpreted as the number of moles in the system, whose rate of change is indeed given by
[TABLE]
from the fourth equation in the second line of (98). The conjugate momenta associated to is given by and corresponds to the part of the entropy of the system that is due to the exchange of entropy with exterior. From the third equation in the second line of (98), its rate of change is indeed
[TABLE]
Thus, the rate of the total entropy change of the system can be written as
[TABLE]
where the internal entropy production is positive by the second law of thermodynamics, while is the rate of entropy flowing into the system and has an arbitrary sign. Equation (100) is often denoted in the form
[TABLE]
in physics textbooks (see, for instance, de Groot and Mazur [1969]), where denotes the infinitesimal change of the total entropy, the entropy produced inside the system and the entropy supplied to the system by its surroundings. In our formulation, it reads as and .
Finally, the momentum represents the part of the energy associated to the interaction of the system with the exterior through its ports. In fact, its rate of change is
[TABLE]
where is the total energy of the system, defined as
[TABLE]
We note that this energy coincides with the energy defined from the Lagrangian via the formula .
4.3 Lagrange-Dirac formulation on the cotangent bundle
We now quickly present the Lagrange-Dirac formulation on for the thermodynamic of open systems for the Lagrangian on given in (92).
The variational and kinematic constraints.
The first step is the construction of the variational constraint from by following (70). We assume that the constraint in (93) depends on only through its first component . This hypothesis means that the quantities , , do not depend on , , , , and . This assumption is verified for realistic examples. Dependence on all the other variables is however allowed, although only dependence on is assumed in practice.
The definition of the variational constraint from thus only needs that the Lagrangian is nondegenerate with respect to the mechanical variable . In this case, we can define the friction forces , where is such that . Following (70), the variational constraint is thus
[TABLE]
where , , and are all expressed in terms of the variables .
Dirac structures on for open thermodynamic systems.
Recall from (71) that the variational constraint induces a distribution on . As shown in (72), from the distribution and the presymplectic form , we can define the induced Dirac structure on .
We now describe the Dirac structure induced by the variational constraint (101). For each , we use the notation
[TABLE]
where , , and .
We will use the expression of the annihilator which is given by the same conditions as (95), with the only change that , , and are all expressed in terms of the variables rather than .
Using this and (73), the condition
[TABLE]
is given explicitly by the same expression as in (96) with all the equations in the second line removed, thereby giving the local description of the Dirac structure .
Lagrange-Dirac system on for open thermodynamic systems.
We shall not describe in details the Lagrange-Dirac system, as the computations are similar to those made in the previous case in §4.2. We shall just describe the Dirac differential of , namely, , which is given by
[TABLE]
where
[TABLE]
[TABLE]
Thus, it can be easily checked that the Lagrange-Dirac system
[TABLE]
does yield the system of equations (99) for the open system.
Remark.
Concerning the Hamiltonian setting for open systems, it should be noted that one cannot make the Legendre transformation for the Lagrangian on to get a Hamiltonian on , since the Lagrangian is degenerate. However, in this case, we may apply Dirac’s theory of constraints in the context of Dirac structures (see Yoshimura and Marsden [2007]), which may lead to a generalized Hamilton-Dirac system for open thermodynamics. This issue will be considered in a future work.
5 Conclusions
In this paper, we have shown that Dirac structures can be defined for open thermodynamic systems, specifically by focusing on simple systems. We have presented both the Dirac dynamical system formulation as well as the associated variational structures. In particular, we have shown that the underlying geometric structure is given by a time-dependent Dirac structure on the covariant Pontryagin bundle over the extended thermodynamic configuration manifold , where denotes the space of time and the thermodynamic configuration space. This Dirac structure is induced from a variational constraint , which gives rise to a distribution on . Associated with the time-dependent Dirac structure on , we have constructed a Dirac dynamical system by using the generalized covariant energy on . This system produces the evolution equations for simple open thermodynamic systems. The kinematic constraint is automatically deduced from the Dirac thermodynamic system because of the specific relation between and . Constraints satisfying this relation are called constraints of thermodynamic type. We have shown that all the conditions given by the Dirac thermodynamic system can be obtained by the Lagrange-d’Alembert-Pontryagin principle for curves in the covariant Pontryagin bundle. Besides the Dirac formulation on the covariant Pontryagin bundle , we have also presented two other Dirac formulations based on the induced Dirac structure on the cotangent bundle over the extended configuration manifold . These are the Lagrange-Dirac and Hamilton-Dirac system, where the latter can be developed only when the Lagrangian is hyperregular.
Finally, we have illustrated our theory by the example of open thermodynamics. We have also given a physical interpretation of the thermodynamic variables involved in the Dirac system formulation, in which the well-known relation associated to the infinitesimal change of the total entropy given by can be systematically clarified.
As future works, we raise the following topics:
- •
Construction of Dirac structures for non-simple systems, such as those including several entropies in the system;
- •
Extension to the case of continuous (infinite dimensional) nonequilibrium thermodynamic systems following Gay-Balmaz and Yoshimura [2017b] and Gay-Balmaz [2019];
- •
Dirac structures induced from nonholonomic kinematic constraints in addition to the nonlinear constraints of thermodynamic type;
- •
Development of the Hamiltonian setting for open thermodynamic systems.
Acknowledgements.
H.Y. is partially supported by JSPS Grant-in-Aid for Scientific Research (17H01097), the MEXT Top Global University Project and Waseda University (SR 2019C-176,SR 2019Q-020), Interdisciplinary institute for thermal energy conversion engineering and mathematics); F.G.B. is partially supported by the ANR project GEOMFLUID, ANR-14-CE23-0002-01.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Bloch [2003] Bloch, A. M. [2003], Nonholonomic Mechanics and Control , volume 24 of Interdisciplinary Applied Mathematics , Springer-Verlag, New York. With the collaboration of J. Baillieul, P. Crouch and J. Marsden, and with scientific input from P. S. Krishnaprasad, R. M. Murray and D. Zenkov.
- 2Bloch and Crouch [1997] Bloch, A. M. and P. E. Crouch [1997], Representations of Dirac structures on vector spaces and nonlinear L–C circuits. In: Differential Geometry and Control (Boulder, CO, 1997) . Vol. 64. pp. 103–117. Amer. Math. Soc. Providence, RI.
- 3Carathéodory [1909] Carathéodory, C. [1909], Untersuchungen über die Grundlagen der Thermodynamik, Math. Ann. , 67 , 355–386.
- 4Cendra and Grillo [2007] Cendra, H. and S. D. Grillo [2007], Lagrangian systems with higher order constraints, J. Math. Phys. 48 052904.
- 5Cendra, Ibort, de León, and Martín de Diego [2004] Cendra, H., A. Ibort, M. de León, and D. de Diego [2004], A generalization of Chetaev’s principle for a class of higher order nonholonomic constraints, J. Math. Phys. 45 , 2785.
- 6Courant [1990] Courant, T. J. [1990], Dirac manifolds, Trans. Amer. Math. Soc. , 319 , 631–661.
- 7Courant and Weinstein [1988] Courant, T. and A. Weinstein [1988], Beyond Poisson structures. In: Action hamiltoniennes de groupes. Troisième théorème de Lie (Lyon, 1986) . Vol. 27. pp. 39–49. Hermann. Paris.
- 8de Groot and Mazur [1969] de Groot, S. R and P. Mazur [1969], Nonequilibrium Thermodynamics , North-Holland.
