Abstract
Three-component systems of diffusion–reaction equations play a central role in the modelling and simulation of chemical processes in engineering, electro-chemistry, physical chemistry, biology, population dynamics, etc. A major question in the simulation of three-component systems is how to guarantee non-negative species distributions in the model and how to calculate them effectively. Current numerical methods to enforce non-negative species distributions tend to be cost-intensive in terms of computation time and they are not robust for big rate constants of the considered reaction. In this article, a method, as a combination of homotopy methods, modern augmented Lagrangian methods, and adaptive FEMs is outlined to obtain a robust and efficient method to simulate diffusion–reaction models with non-negative concentrations. Although in this paper the convergence analysis is not described rigorously, multiple numerical examples as well as an application to elctro-deposition from an aqueous -(-alanine) electrolyte are presented.
1. Introduction
Diffusion-reaction equations play a central role in the modelling and simulation of chemical processes, as the corresponding system describes the transport of multiple species w.r.t. diffusion and a single reaction. The modelling of processes in the interior of lithium-ion batteries, complexation of metals during electro-plating, the electrical potentials in neurons, diffusion in sensors, etc., are major examples for the usage of three-component systems.
While the classical models in the literature of the speciation and modelling of metal-ions, cf. [1,2,3,4,5,6], are not considering non-negative species-concentrations, this paper aims at a model respecting non-negative species distributions in a simple case and their numerical treatment in a more general setting. This is motivated by the fact that negative species concentrations are unphysical and may and will most likely lead to false conclusions from simulated data.
While the analytical, cf. [7], and numerical, cf. [5,8,9,10], treatment of diffusion–reaction systems, are well known, even under convection, the enforcement of non-negative species distributions, especially in the numerics, are rarely discussed.
The numerical strategy, which is discussed in this article, is based on the reformulation, as discussed in Section 2, of the model equations into a constrained minimization problem in which the positive concentrations are part of the model formulation. The respective mathematical model that is used in this article is an optimization problem of the obstacle type, which is well known in physics and numerics c.f. [11,12,13].
A common strategy, cf. [13,14,15,16], to treat such problems of obstacle type is first to discretize the obstacle-problem and then treat the restrictions. This strategy leads to a restrained minimization problem in finite dimension. The resulting minimization problem can be treated with many methods such as quasi-Newton methods, cf. [17], SQP methods, cf. [18], penalty methods, cf. [19], augmented Lagrangian methods cf. [20,21,22], or Primal-Dual Active-Set Strategies, cf. [23].
This type of strategy (first discretization, then solution) has the advantage to be, in comparison, easy, but have some problems in terms of efficiency, since those methods are iterative methods, due to a fixed triangulation . Consequence is that for the convergence of the complete scheme, one has to assume that the iterated problems are solvable and stable with respect to . Hence, one has to invest in a reasonable set of cases more in computation time and data storage than possibly necessary, when using meshes for each iterated problem separately.
Hence, a new methodology will be derived un this article, where the restriction of the constrained minimization problem will first be treated with an augmented Lagrangian method and then a discretization will be made, to use an adaptive FEM, cf. [24], in every iteration of the augmented Lagrangian scheme. As a basis of the algorithm, augmented Lagrangian algorithms, c.f. [25,26], on Banach spaces will be used. As discretization of the considered Banach spaces conforming subspaces will be used, cf. [27,28,29,30].
Because the discretized problems discussed in this paper will be, as quasi-Newtonian schemes, unstable cf. [17], Homotopy methods, cf. [31,32], will be used to gain stability.
For the theoretical background, some fundamental studies on the resulting algorithm, considering some existence theory based on PDE and ODE theory [33,34,35] and the usage of -convergence, cf. [36,37,38,39], will be used. The theoretical results are underlined by an extensive numerical verification of the algorithm, as given in Section 4, indicates convergence of the numerical scheme and efficiency for nonlinear problem formulations and formulations on non-convex domains. Nevertheless, a full proof of convergence, stability, and existence theory will not be given in this paper.
As additional part of this article, a model for the static metal-deposition basing the complexation in a laminar boundary layer will be discussed, see Section 5.1, and numerically evaluated via the simulation methodology that is described in this article.
2. A Generalized Mathematical Model
2.1. The Classical Approach
In this article let , for , be an open, bounded, connected domain with Lipschitz boundary. Furthermore, let the boundary , be split into a Dirichlet boundary and a Neumann boundary , such that and are relative open w.r.t. the restriction topology, and for the topological completion of one assumes the identity .
During this article, reactions in the following form will be considered:
As is known, cf. [1,2,3,4,7], the concentrations of the species A, B, C are formulated, in the stationary case, as a system of ODEs, for , and a system of partial differential equations in multiple space dimensions, i.e., for , which is for , for , and for , given through the following system of equations
Note that, by , in this article, the Hilbert space of square integrable functions is denoted, with scalar product and induced norm , c.f. [36,40]. Furthermore, the Banach spaces with associated norms , will be considered.
As can be seen, the straight-forward formulation given by the Equation (2a)–(2e) does not contain a condition of the non-negativity of the concentrations , with . This missing formulation of non-negative species distributions will actually lead to unphysical behavior in the computation results. Hence in the following section, the usual approach to reinforce non-negative species distributions will be discussed.
2.2. Reinforcing Non-Negative Species Distributions
Assuming the system above has a unique solution, one obtains that the solution of the system (2a)–(2e) can be identified, for , with the solution of the following minimization problem: Find , such that
where X is a Banach space, which will be defined later, and the non-linear least-squares functional is given through the following identity:
For the last terms of the least squares functional above, one has to note that the space is continuously embedded into the space and, hence, the evaluation of the terms and are formally correct and simplify the calculations needed to implement a corresponding solver.
In the following, the space X has to be fixed. The space X is defined s.t. the non-linear functional is well defined, for each element .
First, note that, for each , the conditions and have to be fulfilled, since for , the divergence reduces to a simple derivative, i.e., , one obtains, for , the inclusion and for the inclusion , for the definition of see [36,40].
Furthermore, one observes that the inclusion has to be fulfilled, a sufficient condition to fulfil the inclusion above is and , whence and . The spaces and denote the usual and well known Sobolev spaces, cf. [36,40]. This gives, for , the identity and for the identity .
The reformulation discussed in this article is to introduce the positivity of , , as side condition, cf. [11,41].
Find , such that
where the non-linear least-squares functional is the same as in (3).
3. Numerical Scheme
This section is devoted to the construction of a robust numerical scheme to approximate a solution to (4). This section provides an outline of the numerical scheme and ommites the proof of convergence. In contrast to [5,42] no finite-difference scheme will be discussed, but a finite-element discretization, which allows for us to employ augmented Lagrangian methods, cf. [25,26], on the continuous level of the model.
In this section, a numerical scheme for a generalized problem in the form (3) will be discussed, by adding additional reaction terms . The respective generalized least-squares functional is given through
In contrast to the usual numerical schemes, as described above, the current augmented Lagrangian methods work on the continuous level of the problem. Applying the algorithms given in [26] and in [25] to (4) yields the following Algorithm 1:
| Algorithm 1: augmented Lagrangian algorithm |
| Input: , , , , , , . Output: Approximate solution to (4) and approximation of the Lagrangian multiplier. Follow the steps
|
For , the map is defined as , almost everywhere. Furthermore, let be given for all and for all through the following non-linear functional:
Remark 1.
The augmented Lagrangian algorithm leaves the unrestrained minimization problems (5) to approximate. As a first step, (5) will be discretized. The essential key to discretize (5) is the discretization of the space X. In this paper a conforming discretization of X was chosen, by choosing a finite-dimensional subspace . The choice of will be discussed in the following.
Let , in the respective dimension, be at first, an arbitrary fixed triangulation of . The index h of the finite dimensional space refers to the diameter of , which is in one space dimension the maximal length of an interval and in two, the length of the longest edge in the set of edges .
For , the discrete (finite dimensional) space is constructed by the lowest order conforming discretization , where is the space of affine splines that is defined by
where
cf. [43]. Hence, in this paper, the discrete space is used as discretization.
For , the vector space affine splines , defined analogous as before as
are used as a conforming discretization of , cf. [27,28,30], and the Raviart–Thomas elements given by
with
as discretization of . Hence, in this paper, the lowest order discretization , will be discussed, which is given by
This leaves the following discrete problem to solve or to approximate:
Find such that
As a fundamental step of the numerical scheme, a linearization of (8) is introduced. For this, a few calculations are necessary. First, remark that, in contrast to the non-linear functional , the functional is, for , not differentiable. The non-differentiability lies in the evaluation of the function . Hence, for the linearization of , one has to use a different notion of differentiability than the common Fréchet-differential. Therefore for the linearization of in this article, the convex subdifferential as defined, c.f. [44], was used. For a convex function , for a Banach space Y, its topological dual , and the dual pairing , cf. [40], in a point is given through
As it is commonly known, the subdifferential is for almost all and all , given through
Furthermore, for and arbitrary fixed , the following Taylor approximation is considered
An additional approximation of , for , is made through
In the notation above, the map, denotes the orthogonal -projection onto the space of piecewise constant functions, which is given through:
i.e., for all , the image of is given as the solution of the following minimization problem, cf. [30]:
Furthermore, for , due to the Poincaré inequality, cf. [40] or [30], there exists a constant , such that
where the equality results from the pythagorean theorem, [40].
The identities (9), (10), and (12) inspire the following quasi-Newton scheme given, for a starting value , through the iterative solution of the following minimization problem:
Find , such that the following identity holds true
where is, for all , defined as
where the set is the support of , where the support of a function is defined as . Hence, is defined as:
furthermore for a subset , the map is given by
As it can directly be seen, the inclusion holds true.
As it is commonly known, cf. [17,45,46] Newton and quasi-Newton schemes tend to be unstable. One strategy, as described in [46], is to use stabilized quasi-Newton methods based on a coupling of a quasi-Newton method with a subgradient scheme, on a not linearised problem. Another option, which is used and implemented for the numerical examples, as discussed in the Section 4 and Section 5, are homotopy methods, cf. [31,32], which is a scheme for the solution (13), based on the iterative transformation of a system with known solution into the non-linear system associated to (13). The homotopy methodology is probably the easiest way to stabilize the numerical strategy and increase the robustness.
Remark 2.
The strategy refereed to as quasi-Newtonian scheme is in fact a disturbed variant of a ‘normal’ quasi-Newtonian scheme. The difference between the ‘normal’ quasi-Newtonian scheme and the quasi-Newtonian scheme discussed in this paper is the application of the projections . The sequence that is generated by the corresponding quasi-Newtonian scheme is denoted by .
Some notations are needed to describe the used transformation. First, let, for , the following discretisation of the interval be given through . Subsequently, a homotopy method is given by the solution, for , by computing the following Algorithm 2:
| Algorithm 2: Homotopie-Loop |
| Input: Inital discretization of the interval , system parameters , , , , and set , set initial value , . Output: Approximate solution to (8) and set . The homotopy algorithm is given through the following steps.
|
The usage of the homotopy-algorithm, as described above, yields a cost-intensive numerical scheme. Hence, the usage of adaptive schemes for (5) is the best choice at hand to treat the iterate problems. Adaptive schemes in the homotopy steps are possible, but not implemented for this paper.
Adaptive FEM is used as the last step of the numerical scheme. As described in [24,47,48] the adaptive scheme is given through the following Algorithm 3:
| Algorithm 3: AFEM-loop |
| Input: Initial regular triangulation , system parameters, set . Output: Fine mesh , approximate limit of the solutions to (13), estimation of the error. The adaptive FEM algorithm is given by the following steps:
|
At the end of the section, a few remarks have to be made:
Remark and Definition 1
(Used setup of the AFEM-Algorithm for this paper). Note that:
- (i)
- In S2 of Algorithm 3, an estimator is evaluated on each element , which has to be defined. Assuming that for the exact solution of (3), the equalityholds true. In this paper, the estimator and the discrete solution of the discrete solution from S1: of Algorithm 3, for and , is defined as
- (ii)
- to hold true, since a solution of (5) is in general not a solution to a system of non-linear equations. Hence, the usage offor the solution of the discrete problem of S 1 of Algorithm 3, is not practical. In the spirit of the usage of adaptive schems an estimator τ, basing on ρ, is used, which gives an estimation on the local changes w.r.t. the elements of the evaluation of ρ. For the definition of a practical estimator let for an arbitrary fixed the element patch be given throughAfterwards, the new estimator σ is given through:
- (iii)
- A common strategy, used for the marking is the so-called Dörfler marking, cf. [49]. In this strategy, a set is chosen for which, , for a given bulk parameter the inequalityholds true.
- (iv)
- Note that the Dörfler marking implies for a simple uniform marking scheme.
- (v)
- As discussed in [50,51], one can usually prove convergence of the adaptive scheme by using, as in this article, the least-squares functional as error estimator, but cannot expect optimal convergence rates as discussed in [24] or [47]. Hence, another error estimator has to be derived for which optimal convergence rates are provable.
With the remark and definition above, the numerical scheme is completed. The numerical validation will be made in Section 4, the numerical scheme will be validated.
3.1. Remarks on Existence and Convergence Theory to the Numerical Scheme
This subsection is devoted to a first discussion of some fundamental convergence and existence properties of the algorithm and the underlying optimization methods. The discussion in this section is incomplete, but it gives an important first glance at the theoretical background of the algorithm.
3.1.1. Notes on the Existence Theory
In this section, some theoretical notes on the existence theory will be given. While the existence theory in one space dimension, thanks to the ODE theory and, in particular, thanks to the theorem of Picard–Lindelölf, cf. [35], and for linear PDEs is well known, cf. [33], the existence theory for nonlinear PDEs is, in most of the cases, not known, cf. [34]. The following discussion only tangents the cases known in literature.
Remark 3
(The 1d-case). In this remark, a the 1d case will be discussed.
- (i)
- (ii)
After the remark above on ODE theory, a further remark on the linear PDE theory will by given:
Remark 4
(The linear 2d-case). In this remark, the discussion of linear variants of (2a)–(2e) will be treated. i.e., during this remark is assumed. In this case the continuous space X can be extended to , which makes the theory reasonable easier since in this case X is an Hilbert space.
- (i)
- First, similar as in [52], the case of minimal assumptions to the problem formulation will be discussed. Essentially one assumes and the injectivity of the linear operator , used in the operator Equation (2a)–(2e). For this, one assumes that and are assumed to be chosen in a way that 0 is no eigenvalue of .Indeed, the injectivity, i.e., there is no 0-Eigenvalue of the corresponding operator, assumption together with the assumption of the existence of solutions for given , gives the unique solvability due to Fredholm’s alternative, cf. [53].The results above directly apply to the PDE equation that is given by
- (ii)
- Note that in (i) only necessary conditions for the unique solvability are discussed. Some sufficient conditions can be obtained by the decoupling of the PDE. Where in fact the sufficient conditions for the unique solvability can be obtained by sufficient conditions to scalar Diffusion reaction equations, cf. [33,54].
- (iii)
- By some standard calculations, as given in e.g., [19,28], one obtains that solves (3) if the first order optimality in form of the Euler–Lagrange equations is fulfilled, which is given by the following equation:Find such that for all the following equation holds true:
- (iv)
- From the unique solvability of (3), c.f. (i) and (iii), it directly follows, cf. theorem 3.6 on page 120 in [30], that the bilinear form is elliptic.
- (v)
- From the ellipticity of the bilinear form a, cf. (iv), one directly obtains the unique solvability of (4).
3.1.2. Notes on the Convergence Theory
In this section, a few notes on the convergence theory will be made. Although a proof of convergence of the solutions to the discretisation of (5), will be given in this section, the convergence analysis will be incomplete. For the rest of the necessary convergence theorems, some notes on what to be shown will be given.
First, some remarks on the quasi-Newtonian scheme, as given by the iterative solution of (13) and the Homotopy loop will be made. The remark below gives a sketch of the proof of convergence of the discussed quasi-Newtonian scheme. A mathematical rigorous proof has to be given in a future paper.
Remark 5.
(i) First note that the least squares functional is Fréchet differentiable and explicitly is Fréchet differentiable. Recall that the Notion of Fréchet derivatives yields that for given and for all , there exists a , such that
- A similar interpretation, as in Remark 2 of the sequences and the inequality (21), indicate that there exists a constant , such that for initial values sufficiently close to the solution of (8) and the initial value are sufficiently close to the limit of the quasi-Newtonian scheme, the following inequality holds true:
- It directly follows
- (ii)
- The discussion (i) indicates that the quasi-Newtonian scheme described by the iterative solution by (13) has the same issue with stability as classical quasi-Newtonian schemes, cf. [17]. To stabilize the quasi-Newtonian scheme, it was coupled to a homotopy method, cf. [32]. As already discussed, the idea of the method is to solve for a continuous function , with and and a decomposition to solve the minimization problem that is given by:Find susch thatAs a solution step, the quasi-Newtonian scheme (13) can be used. For , an initial value for the algorithm is given through and for the is given as an initial value for the quasi-Newtonian scheme.
In the following lemma, a theoretical statement will be proven, which will be essential for the proof of a simple convergence result for solutions of (8).
For the proof of the following Lemma, recall the -convergence. As defined in [36,37,38,39], a sequence of nonlinear functionals is said to -converge to a functional if the following two conditions are fulfilled:
- (i)
- For every sequence , with , the following inequality holds true:
- (ii)
- For every , there exists a sequence with , such that the following inequality holds true:
Lemma 1.
Let be a sequence of tirangulations with , where denotes the diameter of , which fulfills , as well as that is a refinement of , i.e., the set of nodes of is included in the set of nodes of , i.e., , then the sequence given through,
Γ-converges to . In the notation above, is given through the following definition:
Proof.
- (i)
- ad (24): for the proof of this claim one needs to distinguish two cases. However, first, let and with be arbitrary fixed.
- (a)
- First, assume that up to finitely many one has . From the definition of it follows then that, up to finitely many , the lowest accumulation point of the sequence . Hence, one obtains the following inequality:The inequality above shows the assertion for this case.
- (b)
- For the second case, assume that there are infinitely many , such that . Subsequently, there exists a subsequence withBecause of the continuity of F and the definition of , it follows:The equalities above yield that the claim for the second case holds true.
The discussion of the two cases above proves the claim. - (ii)
- ad (25): first, note that, for all , one has a continuous embedding and is a dense subset of , c.f. [19,27,28,29]. Similarly, one has a continuous embedding furthermore is a dense subset of , c.f. [19,27,28,29]. From the definitions of and X, it follows with the both densities, where is a dense subset of X. From the assumptions on the sequence and the density of it follows that there exist, for all , a sequence with s.t. . Furthermore, it follows from the continuity of F and the definitions above:The equalities above prove the statement.From (i) and (ii), the claim of the Lemma follows by definition. □
Corollary 1.
Let be a sequence of triangulations fulfilling and as , then the following two statements hold true:
- (i)
- (ii)
Proof.
Let the sequences , , be given, as stated in the corollary.
- (i)
- A common result in the context of -convergence, c.f. in [36,37,38,39], is that if -converges to then every accumulation point of the sequence of minimizers , i.e., minimizes , is a minimizer of G.Applying this theoretical result to the setup of Lemma 1, one obtains the statement in the corollary.
- (ii)
- The statement of the lemma directly follows by (i) and by (22).
□
Remark 6.
(i) The convergence proof above is a first result underlining the plausibillity of the described discretization of (5). But first note that from the proof of convergence above no rates of convergence can be obtained. From the classical theory, cf. [19,27,28,29], convergence to a certain rate seems to be a valid hypothesis, at least for the linear cases of the PDE (2a)–(2e), cf. [14,15,19].
With this result, this section will be concluded. For future discussions, the following discussions have to be made:
- The stability and the convergence of the augmented Lagrangian Algorithm 1 is proven in [25,26], to prove stability and the convergence of Algorithm 1 for the case that is considered in this article the assumptions of the corresponding theorem in [25] have to be verified.
- The convergence of the quasi-Newtonian scheme (13) has to be discussed in a much more rigorous way than done in Remark 5.
- Convergence to a certain rate has to be verified for the discretization of (5).
- As known to the authors, the existence theory, as described in Section 3.1.1, is for the problem (2a)–(2e) incomplete. A careful study of sufficient and necessary condition has to be made.
4. Numerical Examples and Validation of the Software
In this section, multiple numerical experiments are treated to validate the robustness and the functionality of the numerical scheme. In all three subsections, the numerical examples that are given through the parameters in the Table 1, Table 2 and Table 3 are discussed. Furthermore, for all numerical examples, the starting values for the augmented Lagrangian algorithm were chosen as , for all , , and for all .
Table 1.
The first example of physical parameters of the diffusion–reaction model for the complexation of K.
Table 2.
Second example of physical parameters of the diffusion–reaction model for the complexation of K.
Table 3.
Third example of physical parameters of the diffusion–reaction model for the complexation of K.
4.1. Numerical Examples in 1d
For the numerical examples presented in this section, let . For the examples that are discussed in this section, let an exact solutions of the unrestrained problem (3) be given through
and let and . Afterwards, the functions are given through
As breaking conditions for the simulations, in this subsection, the fulfillment of the following conditions were set:
- The breaking condition from S3 in Algorithm 1 is fulfilled with a tolerance .
- The number of nodes in the current mesh increases nodes.
- More than 100,000 iterations of the augmented Lagrangian algorithm were performed.
Before the numerical examples are discussed, note that the exact error is given through:
Simulating the unrestrained problem (3), for the the given RHS, as defined above, for the parameters that are defined in the Table 1, Table 2 and Table 3, with the reduced numerical scheme, see Remark 1, one obtains approximations of the defined exact solution (27). For a number of DoFs, one obtains the results that are shown in Figure 1, which were simulated for the parameters defined in Table 1. Because no visible difference to the other experiments can be seen, Figure 1 will be the only given pictures of approximate solutions to (3) in this section.
Furthermore, note that, for the simulations, the following setup was chosen:
For all simulations of the ‘classical’ concentration-profiles, with no restrictions on the positivity of the concentrations, the reduced method, as described in Remark 1, was used. Furthermore, in all cases of simulations of (3), the estimtor was used. For the adaptive refinement of (5), the practical error estimator was used for all approximations of solutions of (5). Furthermore, for all adaptive refinement Dörfler marking, cf. Remark 1, was used as marking strategy with common bulk parameter .
The first example that will be discussed in the following in more detail is given by the parameters in Table 1. As mentioned before, Figure 1 provides the simulations with a minimum number of nodes in the AFEM loop as breaking-condition.
By the evaluation of the error estimators for this example, cf. Figure 2, one can observe convergence of the estimators, except for the practical estimator for the uniform refinement. As expected, the rest of the estimators are parallel, from which the equivalence of estimators can be formulated as a conjecture.
In Figure 3, some iterations of the augmented Lagrangian scheme with uniform refinement are shown. The augmented Lagrangian scheme needed 85 steps to obtain non-negative species distributions. The augmented Lagrangian scheme converges to set a non-negative species distributions for this example, as shown in the subfigures (a), (d), (g).
Figure 3.
Concentrationprofiles (a,d,g), evaluation of the Lagrangian multipliers (b,e,h) and estimators (c,f,i) during the augmented Lagrangian scheme in the 1-st, 43-rd, and 85-th itartion w.r.t. parameters that are given in Table 1 and uniform mesh refinement.
Furthermore, as predicted in Remark 1, the localized evaluation of the least-squares functional, which is given by the estimator , does not converge to zero in all examples. In this case, for the uniform refinement, the practical error estimator converges .
Additionally, this example also shows the convergence of the multipliers , , and as well, which also seems to converge.
The parameter grows exponentially over the iterations of the augmented Lagrangian algorithm, as shown in the Figure 4.
Figure 4.
Development of during the augmented Lagrangian algorithm.
In Figure 5, the development of the augmented Lagrangian algorithm is shown, applying the adaptive algorithm in each iteration of (5). The augmented Lagrangian algorithm takes, like for uniform mesh refinement, 85 iterations to guarantee non-negative species distributions, as can be seen in this case. Just observing the discrete solutions , cf. Figure 5a, (d), and (g), and the Lagrangian multipliers (b), (e), and (h), one obtains the same result as for the uniform refinement. The limit of the solutions seems to be identical, but the interesting aspect is the estimators, which are given in the subfigures (c), (f), and (i). The practical errors seem to converge to a value , as well as the estimators do, as expected to a value .

Figure 5.
Concentration profiles (a,d,g), evaluation of the Lagrangian multipliers (b,e,h) and estimators (c,f,i) during the augmented Lagrangian scheme in the 1-st, 43-rd and 85-th itartion w.r.t. parameters that are given in Table 1 and adaptive mesh refinement.
The development of the parameter for the augmented Lagrangian algorithm with adaptive mesh refinement is similar to the development of the augmented Lagrangian algorithm with uniform mesh refinement. No further pictures are given due to the fact that no differences are visible between the developments of with uniform or adaptive mesh refinement.
The second example that is discussed in this section is given by the parameters shown in Table 2. In Figure 6, the convergence graphs for the approximation of the solution (3), for the given parameters, are shown. In this setting, the evaluation of the least squares functional for uniform and adaptive refinement are shown, as well as the exact error for uniform and adaptive refinement and the practical error again for uniform and adaptive refinement are given. The corresponding graphs are, at most, parallel and show the same behavior and indicate convergence of the numerical scheme for the simulation, as can be seen in Figure 6. The graph indicates that the estimators could be equivalent for the simulation.
Applying the augmented Lagrangian Algorithm 1 onto (4) with the parameters that are given in Table 2 and applying uniform refinement on the mesh, one obtains, after 89 iterations of the augmented Lagrangian scheme, non-negative species distributions, as seen in Figure 7.
Figure 7.
Concentration profiles (a,d,g), evaluation of the Lagrangian multipliers (b,e,h) and estimators (c,f,i) during the augmented Lagrangian scheme in the 1-st, 44-th, and 89-th itartion w.r.t. parameters that are given in Table 2 and uniform mesh refinement.
The estimator converges not to 0 in each iteration of the augmented Lagrangian method, as expected, but the practical estimator does converge to 0 in each iteration, as can be seen in Figure 7.
In Figure 8, the application of the augmented Lagrangian algorithm is shown for multiple iterations with the application of adaptive mesh refinement, as described above. The algorithm needed, as for treating the iterate problems with uniform refinement, 89 iterations. As it can be seen, the algorithm outputs non-negative species distributions. In principle, equivalent results in the output can be seen in Figure 7. However, the principal behavior of the practical error estimator differs while using adaptive schemes from the same methodology but using uniform mesh refinement. The estimator , cf. remark and Definition 1, converges, but not to 0, as expected, while the convergence of the practical error seem to also be given, as can be seen in Figure 8c,f,i.
Figure 8.
Concentration profiles (a,d,g), evaluation of the Lagrangian multipliers (b,e,h) and estimators (c,f,i) during the augmented Lagrangian scheme in the 1-st, 44-th and 89-th itartion w.r.t. parameters that are given in Table 2 and adaptive mesh refinement.
The developments of the parameter during the augmented Lagrangian algorithm are for the adaptive and uniform refinement identical for linear reaction terms and they are very similar to the development for the pure diffusive case given in Figure 4.
The third example that is discussed in this section is given by the parameters in Table 3. The discrete solutions to (3) w.r.t. the parameters above are close to identical to the discrete solution given in Figure 1, as discussed previously. In fact no differences are visible. Hence, the corresponding figure will not be displayed in this paper.
The evaluation of the error estimators, which are defined in remark and Definition 1, cf. Figure 9, are yielding that the numerical scheme converges for both the uniform and adaptive refinement scheme. Furthermore, it is shown in Figure 9 that the localized evaluation of the non-linear least-squares functional, as beforehand , seems to be equivalent to the exact error for uniform and adaptive refinement. Furthermore, up to a value of approximately DoF, the corresponding practical estimators are decreasing for uniform and adaptive refinement. At this stage, the convergence of the numerical schemes is given from a practical viewpoint.
Applying the augmented Lagrangian algorithm, cf. Algorithm 1, to (4) with the parameters that are given in the Table 3 and applying uniform refinement, one obtains non-negative species distributions after 89 iterations of the augmented Lagrangian scheme, c.f. Figure 3. Furthermore, it is observable that the practical error estimator , cf. definition and Remark 1, converges, but not to 0 in each setting. Furthermore, it is observable that the practical , cf. definition and Remark 1, converges to zero for each iteration.
Applying the augmented Lagrangian algorithm to (4) with the parameters that are given in Table 3 and applying adaptive mesh refinement to the iterative defined problem (5), one obtains the results given in Figure 10. The iterates converge to a species distributions with non-negative species concentrations, as seen in the corresponding figure. After 89 iterations, non-negative species distributions are obtained. Furthermore, it is visible that the estimator , cf. remark and Definition 1, that is based on the piecewise evaluation of the corresponding least-squares functional converges, but not to 0. In contrast to the setting shown in Figure 11, the practical error , cf. remark and Definition 1, one obtains convergence, but not to 0, as beforehand.
Figure 10.
Concentration profiles (a,d,g), evaluation of the Lagrangian multipliers (b,e,h) and estimators (c,f,i) during the augmented Lagrangian scheme in the 1-st, 44-th and 89-th iteration w.r.t. the parameters given in Table 3 and uniform mesh refinement.
Figure 11.
Concentration profiles (a,d,g), evaluation of the Lagrangian multipliers (b,e,h) and estimators (c,f,i) during the augmented Lagrangian scheme in the 1-st, 44-th and 89-th iteration w.r.t. parameters given in Table 3 and adaptive mesh refinement.
The developments of the parameter during the augmented Lagrangian algorithm for the adaptive and uniform refinement are identical for the full reaction terms and they are very similar to the development for the pure diffusive case, as given in Figure 4, also in this case, a figure is not given in this paper.
As a remaining part of the discussions to the 1d examples, a comparison of the CPU running times of the different examples will be discussed. One observes that, for the given examples, the number of iterations of the augmented Lagrangian algorithm do not differ between uniform and adaptive mesh refinement, as seen in Table 4. However, one sees, in Table 4, that the usage of the adaptive algorithm is far more efficient than the usage of the uniform refinement. Especially for the nonlinear system of ODEs, as described by the parameter set given in Table 3, a massive reduction of computation time was obtained.
Table 4.
Overview of number of iterations of the augmented Lagrangian Algorithm 1 and CPU times for the different parameter sets and uniform resp. adaptive mesh refinement.
All together, one can conclude that the numerical scheme works for the given scheme and examples. Because of the fact that no rigorous proofs are done in this paper, the convergence remains as conjecture, based on the numerical results in this section.
4.2. Examples in 2d
In this section, two examples will be discussed for the parameter sets that are given in the Table 1 and Table 2. For the treatment of the augmented Lagrangian algorithms, the same parameters were used as before. Furthermore, in every numerical example in this section, the estimators and from remark and Definition 1 were used. Furthermore, note that the refinement algorithms that were implemented in [55] were used to treat the examples of the adaptive scheme.
For the numerical examples in 2d, similar breaking conditions on the algorithms were set:
- The breaking condition from S3 in Algorithm 1 is fulfilled with a tolerance .
- The number of nodes in the current mesh increases 1000 nodes.
- More than 100,000 iterations of the augmented Lagrangian algorithm were performed.
In contrast to the examples in 1d, a lower number of nodes was used as breaking condition for the refinement algorithm.
4.2.1. Examples on a Convex Domain
Similar to Section 4.1, non-trivial examples will be discussed in this section. First, let be given, as well as . In this section, an exact solution of (3) will be fixed. As done before, the concentrations will be given as:
This yields the RHS for the Dirichlet condition as , for , and the RHS are given through:
Before the discussion of the examples is done, note that the exact error for the problems above is given by
The first example that is discussed in this section is given by the parameters that are defined in Table 1. When simulating the problem (3) with uniform refinement, one obtains the species concentration that is displayed in Figure 12. Furthermore, note that, for the adaptive scheme, one obtains close to identical figures, hence it will be omitted in this article.
When evaluating the error estimators as well as the exact error, c.f. Figure 13, one obtains that the exact error, the estimator given by the localized evaluation of the corresponding least-squares functional as well as the practical error estimator can be considered to be parallel for both refinement schemes. As can be seen, the adaptive scheme gives no prior advantage besides a better estimator , which was used in the adaptive scheme.
When evaluating the augmented Lagrangian scheme, cf. Algorithm 1, one sees that the scheme converges after 166 iterations, cf. Figure 14, to species distributions with non-negative concentrations. One already obtains a state with small negativities after 316 iterations, as seen in Figure 14. Furthermore, one can see that the estimator in each iteration does not converge to 0. However, in contrast to the examples in Section 4.1, the practical error seems to converge to 0.

Figure 14.
Species distributions (a,d,g), (b,e,h) and (c,f,i) as well as error estimators (j,k,l) in the 1st, 83rd and 166th iteation of the augmented Lagrangian algorithm with adaptive mesh refinement, w.r.t. the parameters that are given in Table 1.
The second example that is discussed in this section is given by the parameters that were defined in Table 2. When simulating the corresponding example (3) one obtains an analogous Figure 12, which are not displayed in this article, since no major difference to Figure 12 is visible.
When evaluating the augmented Lagrangian scheme for the example that is given by the set of parameters defined in Table 2 with adaptive mesh refinement, one obtains non-negative species distributions after 188 iterations, cf. Figure 15, although the history given in the figure indicates states close to the approximated solution after 1161 iterations of the augmented Lagrangian schemes.

Figure 15.
Species distributions (a,d,g), (b,e,h) and (c,f,i) in the 1st, 80th and 181st iteation of the augmented Lagrangian algorithm with adaptive mesh refinement, w.r.t. the parameters that are given in Table 2.
4.2.2. Examples on a Non-Convex Domain
In this section, two examples on non-convex domains will be discussed. In this section, let the domain be given . For the numerical experiments, the boundary conditions are defined analogously as in Section 4.2.1. The Dirichlet boundary is assumed to be given as , the Neumann-boundary given as and
Furthermore, let the RHSs be given, as follows:
The first example that is discussed in this subsection is given for the parameters defined in Table 1.
When calculating an approximate solution to the minimization problem (3), one obtains discrete solutions in the form, as shown in Figure 16, for uniform mesh refinement. Because of the fact that the approximate solution w.r.t. adaptive mesh refinement only gives small differences to the displayed figure, it is not shown in this paper.
When evaluating the estimators and , as defined in definition and Remark 1, for the approximation of (3) for adaptive and uniform mesh refinement, one obtains that the estimators and are restricted parallel to the refinement type, cf. Figure 17. Furthermore, one sees, as expected, that the estimators for adaptive refinement are steeper in the plot given in Figure 17, which indicates the expected increase of efficiency obtained by adaptive schemes.
When comparing the triangulation generated by uniform refinement, cf. left image in Figure 18, and the triangulation, cf. right image in Figure 18, one observes that, while the uniform triangluation has a homogeneous distribution of triangles, in the adaptively generated mesh, the triangles accumulate in the non-convex vertex. This behavior is commonly known in the literature, cf. [27,30].
The evaluation of the augmented Lagrangian algorithm, cf. Figure 19, with the use of adaptive refinement with estimator yields that 188 iterations of the augmented Lagrangian algorithm are needed to guarantee non-negative species distributions.

Figure 19.
Species distributions (a,d,g), (b,e,h) and (c,f,i) in the 1st, 94th and 188th iteation of the augmented Lagrangian algorithm with adaptive mesh refinement, w.r.t. the parameters that are given in Table 1.
The second example that is given in this section is, as before, given by the parameters that are defined in Table 2. When simulating the minimization problem (3), approximately one obtains an approximation of the form, as shown in Figure 20, which was obtained by simulation under uniform refinement. Because there are no visible differences between the picture generated under uniform refinement and generated under adaptive refinement, only the approximate solution under the usage of adaptive mesh-refinement will be given in this paper.
After the evaluation of the error estimators and , as defined in remark and Definition 1, one obtains that the practical error and the classical error estimator are parallel in both cases, uniform and adaptive refinement. Furthermore, one obtains that all error-terms converge to zero. Furthermore, it can be seen that the given error estimators that were induced by adaptive refinement seem to converge with a higher rate, since the corresponding graphs in the plot shown in Figure 21 are steeper than the graphs associated to uniform refinement.
Similar to the previous example, one sees, in Figure 22, a uniform triangulation of the L-shaped domain in Figure 22 on the left side and right side one generated by the adaptive algorithm. The triangulation that is generated by the AFEM-loop is dominantly refined in the neighbourhood of the non-convex vertex. This clearly coincides with the theory about singular solutions to elliptic PDEs, cf. [33] and their treatment, cf. [27,30].
When applying the augmented Lagrangian algorithm to problem (4) and applying the adaptive scheme to treat the iterate problem (5), one needs 35,057 iterations to guarantee non-negative species distributions, but it is also clear that a close fit to non-negative species distributions are already obtained after 17,528 iterations, cf. Figure 23.
Figure 23.
Species distributions (a,d,g), (b,e,h) and (c,f,i) in the 1st, 141st, and 283th iteration of the augmented Lagrangian algorithm with adaptive mesh refinement, w.r.t. the parameters given in Table 2.
As last point of the discussion of the numerical experiments in 2d, the evaluation of the CPU running time has to be discussed. Table 5 presents the results discussed in the following.
Table 5.
An overview of number of iterations of the augmented Lagrangian Algorithm 1 and CPU running times for the different parameter sets and uniform resp. adaptive mesh refinement.
First, note that the number of iterations as well as the computation time reduce by using adaptive schemes. The reduction of computation time is for the the convex square domain is somehow remarkable, since the gain of efficiency, when using adaptive schemes, for convex domains is, in comparison to uniform refinement, rather low. The observed reduction of CPU time can be explained by the reduction of iterations in the augmented Lagrangian scheme, cf. Algorithm 1. However, the gain of efficiency, when using adaptive schemes to non-convex domains is remarkable, since a reduction of over 50,000 iterations of the augmented Lagrangian algorithm to under 300 is an extreme gain of efficiency.
Remark 7.
Note that the high number of needed iterations of the augmented Lagrangian algorithm for the L-shaped domain results of the singularity at the non-convex vertex of the geometry, which is a common result for non-convex domains. The adaptive scheme refines dominantly at the non-convex vertex of the geometry, which enhances the approximation in a way such that the augmented Lagrangian algorithm becomes enhanced, as can be seen in Figure 18.
When summarizing the results from this Section 4.2, it can been seen that the augmented Lagrangian scheme is more cost intensive than its correspondence in 1d. Furthermore, it can be seen in Section 4.2.1 that the practical estimator , as defined in the remark and Definition 1, behaves differently than in 1d under adaptive refinement, where it converges to zero, which justifies the use of the practical error. Additionally, one can observe, cf. Table 5, that a massive gain of efficiency can be made by using adaptive schemes in the discretization of (5).
4.3. Comparison to Other Methods
This section is devoted to the comparison of the augmented Lagrangian method, as described in this paper, with the classical augmented Lagrangian regime as described in [20,22] and the Primal-Dual Active-Set Strategy, as described in [23].
4.3.1. Theoretical Setup for the Classical Augmented Lagrangian Scheme and the Primal-Dual Active-Set Strategy
This section is devoted to description of the theoretical setup for the application of the classical augmented Lagrangian scheme [20,22] and the classical Primal-Dual Active-Set Strategy, c.f. [23].
The classical approaches to treat (4) is to discretize the optimization problem (4) and then use an optimization algorithm for the solution, as discussed in [14,15,16,19]. For an arbitrary fixed triangulation with diameter and for the usage of the discretization of X, as defined in Section 3, one obtains the following discrete optimization problem:
Find such that the following equality holds true
The classical approaches use the fact that is a finite dimensional subspace of X and, thus, (33) is an finite dimensional optimization problem, for which a lot of theory is known, i.e., for the approximation of solutions (33), the augmented Lagrangian schemes can directly be applied, as described in [20,22].
In contrast to augmented Lagrangian methods, the Primal-Dual Active-Set Strategy, as in the form described in [23], cannot be indirectly applied to (33). For the application of Primal-Dual Active-Set Strategies, in this paper it is assumed that the operator in the ODE, resp. PDE, is linear, (2a)–(2e), is linear, i.e., the equality is assumed. In this case, one obtains, by using a basis of , and using the Euler Lagrange Equation (20), one obtains a minimization problem of the following form:
Find , such that the following equation holds true
In the problem above, is the dimension of , i.e., , is the coefficient vector of the solution of (33) and is the coefficient vector of . Furthermore, for all , the equality
holds true, where is the coefficient vector of .
4.3.2. Description Classical Augmented Lagrangian Regime
This section is devoted to the description of the use of the classical augmented Lagrangian algorithm to the problem (33).
The classical augmented Lagrangian scheme is given through the following Algorithm 4, cf. [20,22].
| Algorithm 4: Classical augmented Lagrangian method |
| Input: Define a starting values , , and define . Output: Approximate solution to (33) and approximate Lagrangian function . The classical augmented Lagrangian algorithm is given through the following steps.
|
The experimental setup needs to be described before the numerical experiments will be discussed in detail.
First, note that, for all simulations discussed with Algorithm 4, the parameter was for all given as . For the comparison of the algorithm on different meshes, the algorithm was coupled with a loop of uniform refinements. The global Algorithm 5 is given through the following:
| Algorithm 5: Refinement strategy with the classical augmented Lagrangian algorithm |
| Input: Initial Triangulation . Define a starting values , , and define . Output: Approximate solution to (33) and approximate Lagrangian function and final triangulation . Perform the following steps:
|
The statement of the algorithm above finishes the description of the used classical augmented Lagrangian scheme.
4.3.3. Description of the Primal-Dual Active-Set Strategy
This subsection is devoted to the explicit description of the Primal-Dual Active-Set Strategy that is considered in this article.
As discussed before for a basis , a basis of the problem (33) can be equivalently reformulated to (34).
The corresponding representation of , see (7), indicates that a basis of can be chosen, such that, for all coefficient vectors of element for all , there exists an index set , such that the restriction of the coefficient vector on the subindexset is the coefficient vector of . In this notation, define the index-set J as
Applying the Primal-Dual Active-Set Strategy, cf. [23] as a method to approximate solutions to (34), together with the notation above, one obtains the following Algorithm 6.
| Algorithm 6: Primal-Dual Active-Set Strategy |
| Input: Define a starting values , , and define . Output: Approximate solution to (33) and approximate Lagrangian function . With the notation above the Primal-Dual Active-Set Strategy for this problem type
|
Remark 8.
Before the actual comparison between the Primal-Dual Active-Set Strategy and the augmented Lagrangian method will be made, some additional remarks on the coupling between refinement and Algorithm 6 have to be made:
For the comparison of the algorithm on different meshes, the algorithm was coupled with a loop of uniform refinements. The global Algorithm 7 is given through the following:
| Algorithm 7: Primal-Dual Active-Set strategy with refinement strategy |
| Input: Define a starting values , , and define . Furthermore define an initial triangulation . Output: Approximate solution to (33) and approximate Lagrangian function . Additionally the algorithm outputs the final triangulation Perform the following steps:
|
The statement of the algorithm above finishes the description of the Primal-Dual Active-Set Strategy.
4.3.4. Comparrison of the Different Mehtods
This section is devoted to the explicit comparison of the different numerical schemes. However, before the actual comparison is undertaken the general setup of the experiments have to be stated.
First, note that the parameters of the mathematical problems to approximate in this section are given in the Table 2 and Table 3. The corresponding RHS are the same as in the respective examples above. Furthermore, in the 2d experiments, the geometry considered is the L-Shaped domain.
Furthermore, for every method, the initial mesh for the refinement scheme was always the same in the respective dimension. Furthermore, note that refinement loops are broken if the mesh has 10,000 nodes in one space dimension and 1000 nodes in two space dimensions.
The loops of the respective augmented Lagrangian algorithms are broken if the relative error
is bounded by the tolerance = 1.
First, note that there is no visual remarkable difference between the outputs of the algorithms. Hence, in this algorithm only the CPU times of the algorithms will be compared. Table 6 assembles the actual data for the comparrison.
Table 6.
Comparison of the augmented Lagrangian scheme discussed in this paper with adaptive mesh refinement (AALA), the classical augmented Lagrangian algorithm (CALA), and the Primal-Dual Active-Set Strategy (PDAS), for different space dimensions and parameter sets.
In the context of the described algorithms, one would expect that the Primal-Dual Active-Set Strategy is the most inefficient in terms of needed RAM space during the computation due to the fact that the system of Equation (36a)–(36c) contain more variables than the other optimization-problems, since the augmented Lagrangian methods treat the multiplier as constant and not as a variable.
In one space dimension and for the parameters given in Table 2, the Primal-Dual Active-Set Strategy is the most efficient, while the two augmented Lagrangian schemes need approximately the same CPU time, as seen in Table 6. In contrast to that the augmented Lagrangian algorithm that is introduced in this paper is more efficient for non-convex domains and nonlinear problems than the other algorithms.
5. Modelling the Stationary Species Transport in the Diffusion-Boundary Layer during the Metal Deposition from a Electrolyte
This section is devoted to the derivation a model, see Section 5.1, for the metal deposition from a Cu-electrolyte, taking the complexation with -alanine (-ala) in the diffusion-boundary layer into account. In Section 5.2, the numerical strategy, which is discussed in this article, will be applied to the model.
5.1. Theoretical Model
In this section, an abstract model for the static metal deposition in galvanic cells will be discussed. As a model that is falling into the discussed model types, the static metal deposition with speciation in a single diffusion boundary layer will be studied, c.f. [1,2,3].
A few remarks on the physical setting will be made before the model will be discussed in detail. In an electrolyte, a metal M, in this case Cu, and a ligand L, in this case -ala, is assumed, with the reaction
Furthermore, in the bath, there is an anode and a cathode, where, at the cathode, the metal is deposited. In the global setting, there is a transport of Cu-ions from the anode, with anodic current density , to the cathode, with cathodic current density . In this model, one assumes that .
For the model, assume that there exists a laminar boundary layer at the cathode, which includes the diffusion boundary layer with thickness of m. Furthermore, assume that, outside the diffusion boundary layer, the concentration of , the concentration of and are constant. Furthermore, the concentration the bath is set by , for each .
Furthermore, let the only deposited species at the cathode, at position , be the Cu-ions and the species distribution in the diffusion boundary layer geometrically only be dependant on the distance to the cathode and the concentrations in the diffusion-boundary layer can be described by the diffusion–reaction problem (4), with diffusion coefficients and reaction rate constants, as given in Table 7, and let no further reactive force be given.
Table 7.
Physical parameters of the diffusion–reaction model for the complexation of , with -alanine as ligand L, in a diffusion boundary-layer.
When translating the assumptions above into boundary-data one obtains for all the identity . At the cathode for the species , the identities will be used and , where F is Faraday’s constant and is the valency of the copper-ions . The absence of reactive forces is modeled by defining the functions through .
For the diffusion coefficients cf. to supplementary matrerial of [4] and for the kinetic parameters, cf. [3].
5.2. Simulation
In this section, the simulations according to the model above will be discussed. Assuming concentrations of , for in the bath and a current density of on the cathode, one obtains the concentration profile shown in Figure 24 by evaluating the classical model 3, with the numerical scheme described for the treatment of (5) under the reduction described in Remark 1. As seen in the figure, one obtains a concentration of , which can be considered to be unphysical.
Figure 24.
Concentration profiles , with negative concentrations w.r.t. the model parameters discussed in Table 7.
When applying the augmented Lagrangian method with adaptive meshrefinement on (4), cf. Figure 25, one obtains that 75 iterations of the augmented Lagrangian algorithm were needed to evaluate non-negative concentrations. As seen in the corresponding figures, not only the behavior of , but, as directly seen, the behavior of , in the close area of the cathode the concentration of increases. Furthermore, it can be seen that the augmented Lagrangian algorithm needs 75 steps for the simulation of non-negative species concentrations.
Figure 25.
Concentration profiles , (a,c,e) with corresponding Lagrangian multipliers (b,d,f) in the 1st, 38th, and 75th iteration of the augmented Lagrangian algorithm.
Remark 9.
During the application of the numerical scheme that is described in Section 3, one observes that the adaptive scheme converges relative fast for the respective model 4 given through the parameters that are defined in Table 7 and the given boundary conditions, while the quasi-Newtonian part of the numerical scheme based on the uniform refinement does not converge, unless a high number of homotopy steps is used.
In summary, the numerical methodology that is derived in this article is applicable to practical relevant settings, and the adaptive scheme has a major part on the efficiency of the described.
6. Discussion and Conclusions
Although, in this article, the rigorous mathematical proofs are not done, in Section 4 various numerical examples are discussed, which show convergence. Hence, the convergence of all included algorithms can be stated as a founded conjecture. Although some mathematical considerations are made in this paper, some rigorous mathematical work still has to be done. In detail, the following formal proofs have to be made in some future work:
Furthermore, the numerical experiments show that the application of the practical error , as defined in Definition and Remark 1, can be used in two space dimensions. In addition, the behavior seems to indicate the needed norm equivalences in two space dimensions. Furthermore, in one space dimension, it can be seen that the practical error estimator is not sufficient for the required norm equivalence, but the numerical examples nevertheless show good results, which allow the use as above.
Although the numerical schemes are still cost intensive, they converge and, hence, give physical behavior for three compound systems. In addition, as to be seen in Section 5, in this article, a numerical scheme was introduced that is able to treat the high rate constants given in real-world problems, cf. supplement to [4]. Hence, the numerical scheme can be used in most relevant settings when considering three-component systems.
Furthermore, note that the algorithm that is described in this section seems, due to the discussions for the numerical examples, to be especially efficient for nonlinear and non-convex geometries. Especially, the efficiency for those two cases makes the algorithm interesting for further applications.
The model that is presented in the Section 5 gives a first glance at the process of metal deposition, but one has to expect that the model is improvable. Firstly, the assumption of the existence of a uniform laminar boundary layer on any complex geometry is questionable since fluid dynamics tend to be strongly geometry dependant, cf. [56]. Furthermore in galvanic processes development at the cathode can be expected, which questions the existence of a laminar boundary layer in many cases. Although the concentration gradients in a galvanic bath can be assumed to be low in some cases, the species-transport in the bath, as described in [1,2,3], cannot necessarily be neglected. Furthermore, the processes in the bath can be described by a multi physics coupling of fluid dynamics, diffusion, reactions, and electro-magnetics. Furthermore, as seen in [3], the reaction kinetics that were discussed in this article are not complete. Hence, a further discussion of this type of model needs to be done.
As is well known, most of the real world processes do not reduce to static problems, but, nevertheless, important limiting factors can be obtained from static laws. Furthermore, from a technical numerical perspective, time-dependent laws can be approximately treated as systems of static laws, c.f. [57] or [58]. Hence, this article gives a good first foundation for further discussions and investigations.
Author Contributions
Conceptualization, S.D.S., T.M. and T.L.; methodology, S.D.S.; software, S.D.S.; formal analysis, S.D.S.; investigation, S.D.S.; resources, T.L.; data curation, T.M. and T.L.; writing—original draft preparation, S.D.S.; writing—review and editing, S.D.S., T.M. and T.L.; visualization, S.D.S.; supervision, T.M. and T.L.; project administration, S.D.S.; funding acquisition, S.D.S., T.M. and T.L. All authors have read and agreed to the published version of the manuscript.
Funding
The publication of this article was funded by Chemnitz University of Technology.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| PDE | Partial Differential Equation |
| ODE | Ordenary Differential Equation |
| FEM | Finite Element Method |
| s.t. | subject to |
| DoF | Degree of Freedom |
| RHS | right hand side |
| w.r.t. | with respect to |
References
- Newman, J.S. Electrochemical Systems, 2nd ed.; Prentice-Hall International Series in the Physical and Chemical Engineering Sciences; Prentice Hall: Upper Saddle River, NJ, USA, 1991. [Google Scholar]
- Bard, A.; Faulkner, L. (Eds.) Electrochemical Methods: Fundamentals and Applications; John Wiley & Sons, Ltd.: New York, NY, USA; Chichester, UK; Weinheim, Germany; Brisbane, Australia; Singapore; Toronto, ON, Canada, 1980; Volume 18. [Google Scholar]
- Survila, A. Electrochemistry of Metal Complexes; John Wiley & Sons, Ltd.: Hoboken, NJ, USA, 2015; Chapter 3; pp. 33–59. [Google Scholar] [CrossRef]
- Buffle, J.; Zhang, Z.; Startchev, K. Metal Flux and Dynamic Speciation at (Bio)interfaces. Part I: Critical Evaluation and Compilation of Physicochemical Parameters for Complexes with Simple Ligands and Fulvic/Humic Substances. Environ. Sci. Technol. 2007, 41, 7609–7620. [Google Scholar] [CrossRef] [PubMed]
- Averós, J.; Llorens, J.; Uribe-Kaffure, R. Numerical simulation of non-linear models of reaction-diffusion for a DGT sensor. Algorithms 2020, 13, 98. [Google Scholar] [CrossRef]
- Mongin, S.; Uribe, R.; Puy, J.; Cecília, J.; Galceran, J.; Zhang, H.; Davison, W. Key Role of the Resin Layer Thickness in the Lability of Complexes Measured by DGT. Environ. Sci. Technol. 2011, 45, 4869–4875. [Google Scholar] [CrossRef] [PubMed]
- Zeidler, E. Nichtlineare partielle Differentialgleichungen. In Springer-Handbuch der Mathematik IV: Begründet von I.N. Bronstein und K.A. Semendjaew Weitergeführt von G. Grosche, V. Ziegler und D. Ziegler Herausgegeben von E. Zeidler; Zeidler, E., Ed.; Springer Fachmedien Wiesbaden: Wiesbaden, Germany, 2013; pp. 311–356. [Google Scholar] [CrossRef]
- Schinagl, K. Numerische Simulation von chemischen Reaktionen in Flüssigkeiten. Ph.D. Thesis, Rheinische Friedrich-Wilhelms-Universität Bonn, Bonn, Germany, 2013. [Google Scholar]
- Roland, M. Numerische Simulation von Fällungsprozessen mittels Populationsbilanzen. Ph.D. Thesis, Universität des Saarlandes, Saarbrücken, Germany, 2010. [Google Scholar]
- Chen, J.; Wang, H.; Liew, K.; Shen, S. A Fully Coupled Chemomechanical Formulation with Chemical Reaction Implemented by Finite Element Method. J. Appl. Mech. Trans. ASME 2019, 86. [Google Scholar] [CrossRef]
- Rodrigues, J. Obstacle Problems in Mathematical Physics; Elsevier: Amsterdam, The Netherlands, 1987. [Google Scholar]
- Shillor, M.; Sofonea, M.; Telega, J.J. 11 Contact with Wear or Adhesion. In Models and Analysis of Quasistatic Contact: Variational Methods; Springer: Berlin/Heidelberg, Germany, 2004; pp. 183–206. [Google Scholar] [CrossRef]
- Laursen, T.A. Finite Element Implementation of Contact Interaction. In Computational Contact and Impact Mechanics: Fundamentals of Modeling Interfacial Phenomena in Nonlinear Finite Element Analysis; Springer: Berlin/Heidelberg, Germany, 2003; pp. 145–209. [Google Scholar] [CrossRef]
- Brezzi, F.; Hager, W.; Hager, P. Error Estimates for the Finite Element Solution of Variational Inequalities. Numer. Math. 1977, 28, 431–443. [Google Scholar] [CrossRef]
- Wang, L.H. On the quadratic finite element approximation to the obstacle problem. Numer. Math. 2002, 92, 771–778. [Google Scholar] [CrossRef]
- Hinze, P.; Pimau, R.; Ulbrich, M.; Ulbrich, S. Optimization with PDE Constraints, 1st ed.; Mathematical Modelling: Theory and Applications; Springer Netherlands: Dordrecht, The Netherlands, 2009; Volume 23. [Google Scholar]
- Mäkelä, M.M.; Neittaanmäki, P. NONSMOOTH OPTIMIZATION-Analysis and Algorithms with Applications to Optimal Control, 1st ed.; World Scientific Publishing Co. Pte. Ltd.: Singapore, 1992. [Google Scholar]
- Byrd, R.H.; Gilbert, J.C.; Nocedal, J. A trust region method based on interior point techniques for nonlinear programming. Math. Program. 2000, 89, 149–185. [Google Scholar] [CrossRef]
- Glowinski, R. Numerical Methods for Nonlinear Variational Problems; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
- Antipin, A.; Vasilieva, O. Augmented Lagrangian Method for Optimal Control Problems. In Analysis, Modelling, Optimization, and Numerical Techniques; Tost, G.O., Vasilieva, O., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 1–36. [Google Scholar]
- Ito, K.; Kunisch, K. The augmented lagrangian method for equality and inequality constraints in hilbert spaces. Math. Program. 1990, 46, 341–360. [Google Scholar] [CrossRef]
- Andrei, N. Penalty and Augmented Lagrangian Methods. In Continuous Nonlinear Optimization for Engineering Applications in GAMS Technology; Springer International Publishing: Cham, Switzerland, 2017; pp. 185–201. [Google Scholar] [CrossRef]
- Hintermüller, M.; Ito, K.; Kunisch, K. The primal-dual active set strategy as a semismooth Newton Method. SIAM J. Optim. 2003, 13, 865–888. [Google Scholar] [CrossRef]
- Carstensen, C.; Feischl, M.; Page, M.; Praetorius, D. Axioms of adaptivity. ELSVIER, Comput. Math. Appl. 2014, 67, 1195–1253. [Google Scholar] [CrossRef] [PubMed]
- Kanzow, C.; Steck, D.; Wachsmuth, D. An Augmented Lagrangian Method for Optimization Problems in Banach Spaces. SIAM J. Control Optim. 2018, 56, 272–291. [Google Scholar] [CrossRef]
- Steck, D. Lagrange Multiplier Methods for Constrained Optimization and Variational Problems in Banach Spaces. Ph.D. Thesis, Universität Würzburg, Würzburg, Germany, 2018. [Google Scholar]
- Grossmann, C.; Roos, H.G.; Stynes, M. Numerical Treatment of Partial Differential Equations; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar]
- Bochev, P.B.; Gunzburger, D. Least-Squares Finite Element Methods; Applied Mathematical Sciences; Springer: New York, NY, USA, 2009; Volume 166. [Google Scholar]
- Boffi, D.; Brezzi, F.; Fortin, M. Mixed Finite Element Methods and Applications; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- Braess, D. Finite Elemente, 5th ed.; Theorie, Schnelle Löser und Anwendungen in der Elastizitätstheorie; Springer: Heidelberg, Germany, 2012. [Google Scholar]
- Li, T.Y. Homotopy Methods. In Encyclopedia of Applied and Computational Mathematics; Engquist, B., Ed.; Springer: Berlin/Heidelberg, Germany, 2015; pp. 653–656. [Google Scholar] [CrossRef]
- Watson, L.T. Globally convergent homotopy methodsGlobally Convergent Homotopy Methods. In Encyclopedia of Optimization; Floudas, C.A., Pardalos, P.M., Eds.; Springer: Boston, MA, USA, 2009; pp. 1272–1277. [Google Scholar] [CrossRef]
- Evans, L. Partial Differential Equations; Graduate Studies in Mathematics; AMS: Providence, RI, USA, 1997; Volume 166. [Google Scholar]
- Tadmor, E. A review of numerical methods for nonlinear partial differential equations. Bull. Am. Math. Soc. 2012, 49, 507–554. [Google Scholar] [CrossRef]
- Grüne, L.; Junge, O. Gewöhnliche Differentialgleichungen, Eine Einführung aus der Perspektive der Dynamischen Systeme; Springer Spectrum: Wiesbaden, Germany, 2016; Volume 2. [Google Scholar]
- Attouch, H.; Buttazzo, G.; Michaille, G. Variational Analysis in Sobolev and BV Spaces; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2014. [Google Scholar] [CrossRef]
- Braides, A. A Handbook of Γ-Convergence. Stationary Partial Differential Equations; Chipot, P., Quittner, P., Eds.; Elsevier: Amsterdam, The Netherlands, 2006; Volume 3. [Google Scholar]
- DalMaso, G. An Introduction to Γ-Convergence; Birkhäuser Boston Inc.: Boston, MA, USA, 1993. [Google Scholar]
- Braides, A.; Defranceschi, A. Homogenization of Multiple Integrals; Oxford University Press, Inc.: New York, NY, USA, 1998. [Google Scholar]
- Alt, H.W. Lineare Funktionalanalysis, 6th ed.; Springer: Heidelberg, Germany, 2012. [Google Scholar]
- Zeidler, E. Variationsrechnung und Physik. In Springer-Handbuch der Mathematik III: Begründet von I.N. Bronstein und K.A. Semendjaew Weitergeführt von G. Grosche, V. Ziegler und D. Ziegler Herausgegeben von E. Zeidler; Zeidler, E., Ed.; Springer Fachmedien Wiesbaden: Wiesbaden, Germany, 2013; pp. 1–48. [Google Scholar] [CrossRef]
- Crank, J.; Nicolson, P. A practical method for numerical evaluation of solutions of partial differential equations of the heat-conduction type. Math. Proc. Camb. Philos. Soc. 1947, 43, 50–67. [Google Scholar] [CrossRef]
- Evans, G.A.; Blackledge, J.M.; Yardley, P.D. Finite Element Method for Ordinary Differential Equations. In Numerical Methods for Partial Differential Equations; Springer: London, UK, 2000; pp. 123–164. [Google Scholar] [CrossRef]
- Rockafellar, R.T. Convex Analysis; Princeton University Press: Princeton, NJ, USA, 2015. [Google Scholar]
- Polak, E. Unconstrained Optimization. In Optimization: Algorithms and Consistent Approximations; Springer: New York, NY, USA, 1997; pp. 1–166. [Google Scholar] [CrossRef]
- Lange, K. Optimization, 2nd ed.; Springer Texts in Statistics; Springer: New York, NY, USA, 2013. [Google Scholar]
- Carstensen, C.; Rabus, H. Axioms of adaptivity with separate marking for data resolution. SIAM J. Numer. Anal. 2017, 55, 2644–2665. [Google Scholar] [CrossRef]
- Traxler, C. An algorithm for adaptive mesh refinement in n dimensions. Computing 1997, 59, 115–137. [Google Scholar] [CrossRef]
- Dörfler, W. A Convergent Adaptive Algorithm for Poisson’s Equation. SIAM J. Numer. Anal. 1996, 33, 1106–1124. [Google Scholar] [CrossRef]
- Carstensen, C.; Park, E.J. Convergence and Optimality of Adaptive Least Squares Finite Element Methods. SIAM J. Numer. Anal. 2015, 53, 43–62. [Google Scholar] [CrossRef]
- Hellwig, F. Adaptive Discontinuous Petrov-Galerkin Finite-Element-Methods. Ph.D. Thesis, Humboldt-Universität zu Berlin, Mathematisch-Naturwissenschaftliche Fakultät, Berlin, Germany, 2019. [Google Scholar] [CrossRef]
- Carstensen, C.; Dond, A.K.; Nataraj, N.; Pani, A.K. Error analysis of nonconforming and mixed FEMs for second-order linear non-selfadjoint and indefinite elliptic problems. Numer. Math. 2016, 133, 557–597. [Google Scholar] [CrossRef][Green Version]
- Ramm, A.G. A Simple Proof of the Fredholm Alternative and a Characterization of the Fredholm Operators. Am. Math. Mon. 2001, 108, 855–860. [Google Scholar] [CrossRef]
- Schatz, A. An Observation Concerning Ritz-Galerkin Methods with Indefinite Bilinear Forms. Math. Comput. 1974, 28, 959–962. [Google Scholar] [CrossRef]
- Hellwig, F. Software for PhD Thesis “Adaptive Discontinuous Petrov-Galerkin Finite-Element-Methods”. Ph.D. Thesis, Humboldt-Universität zu Berlin, Mathematisch-Naturwissenschaftliche Fakultät,, Berlin, Germany, 2019. [Google Scholar] [CrossRef]
- Oertel, H.J.; Böhle, M. Strömungsmechnanik-Grundlagen, Grundgleichungen, Lösungsmethoden, Softwarebeispiele, 3rd ed.; Studium Technik, Vieweg+Teubner Verlag: Wiesbaden, Germany, 2004. [Google Scholar] [CrossRef]
- Pluschke, V. Anwendung der Rothe-Methode auf eine quasilineare parabolische Differentialgleichung. Math. Nachr. 1983, 114, 105–121. [Google Scholar] [CrossRef]
- Gerdes, W. The initial boundary value problem for the threedimensional heat equation treated with Rothe’s line method using integral equations [Die Lösung des Anfangs-Randwertproblems für die Wärmeleitungsgleichung im R3 mit einer Integralgleichungs-methode nach dem Rotheverfahrenmit einer Integralgleichungs-methode nach dem Rotheverfahren]. Computing 1978, 19, 251–268. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).