Next Article in Journal
Monitoring the Degradation of Collagen Hydrogels by Collagenase Clostridium histolyticum
Next Article in Special Issue
A Constitutive Model for Alginate-Based Double Network Hydrogels Cross-Linked by Mono-, Di-, and Trivalent Cations
Previous Article in Journal
Long-Term Cryostorage of Mesenchymal Stem Cell-Containing Hybrid Hydrogel Scaffolds Based on Fibrin and Collagen
Previous Article in Special Issue
A Cellular Automata Approach for the Modeling of a Polyamide and Carbon Aerogel Structure and Its Properties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comparison of Finite Difference and Finite Volume Simulations for a Sc-Drying Mass Transport Model

1
Institute for Thermal Separation Processes, Hamburg University of Technology, Eißendorfer Straße 38, 21073 Hamburg, Germany
2
Weierstrass Institute (WIAS), Mohrenstr. 39, 10117 Berlin, Germany
3
Laboratory for Development and Modelling of Novel Nanoporous Materials, Hamburg University of Technology, Eißendorfer Straße 38, 21073 Hamburg, Germany
*
Authors to whom correspondence should be addressed.
Submission received: 9 October 2020 / Revised: 17 November 2020 / Accepted: 22 November 2020 / Published: 25 November 2020
(This article belongs to the Special Issue Modeling and Simulation of Gel-Based Materials)

Abstract

:
Different numerical solutions of a previously developed mass transport model for supercritical drying of aerogel particles in a packed bed [Part 1: Selmer et al. 2018, Part 2: Selmer et al. 2019] are compared. Two finite difference discretizations and a finite volume method were used. The finite volume method showed a higher overall accuracy, in the form of lower overall Euclidean norm ( l 2 ) and maximum norm ( l ) errors, as well as lower mole balance errors compared to the finite difference methods. Additionally, the finite volume method was more efficient when the condition numbers of the linear systems to be solved were considered. In case of fine grids, the computation time of the finite difference methods was slightly faster but for 16 or fewer nodes the finite volume method was superior. Overall, the finite volume method is preferable for the numerical solution of the described drying model for aerogel particles in a packed bed.

Graphical Abstract

1. Introduction

Supercritical drying of wet gels, such that they become porous aerogels, is the crucial step in aerogel production. The drying process uses supercritical CO2 as extraction medium and is; thus, conducted under moderate temperature but elevated pressure and; therefore, may be cost-intensive. A comprehensive overview of experimental studies and mass transport models investigating the kinetics of supercritical drying of gels is given by Şahin et al. [1]. Within the last two years, a several model of the supercritical drying for spherical gel particles were developed [2,3,4,5,6,7]. All these works show that the gel drying process for particles is significantly faster than for monoliths of comparable size [2,3,4,5,6,7]. This observation highlights the fact that aerogel particles are highly promising for future applications in industrial products. Selmer et al. developed their physical mass transport model for the supercritical drying of gel particles in a packed bed and analyzed mass transfer steps that limit the overall drying kinetic to optimize the process [2,3]. Hatami et al. developed a similar model and improved the optimizing procedure to allow a fast drying process with low CO2 consumption [6].
All reported mass transport models result in a set of coupled partial differential equations if the mass transport in the outer bulk fluid is considered additionally to the mass transport within the gel particles [3,4,5,6]. Şahin et al. and Hatami et al. discretized the spatial dimensions via the finite difference method and solved the resulting coupled set of differential-algebraic equations using the built-in ordinary differential equation solver in Matlab [4,5,6]. Selmer et al. discretized the spatial dimension of the gel particles via the finite difference method [8,9] and the spatial dimension of the bulk fluid in the autoclave via the finite volume method [3,10]. The finite volume method can preserve discretely important physical quantities such as mass [11].
During the supercritical drying process, the physical properties of supercritical CO2 and its mixture with ethanol or other solvents strongly depend on the composition of the mixture which varies during the drying process from pure ethanol (or another solvent) in the gel to almost pure CO2 [3]. Therefore, especially in mass transport models describing the supercritical drying process of small particles, a high spatial resolution of the domain with gel particles is required for accurate results. This, in turn, leads to high computation times.
For this reason, we set the aim of this work so as to investigate the behavior of numerical solutions of gel particles drying models according to their accuracy and efficiency, to increase the confidence in the simulation results reported so far.
In the present paper, two possible numerical discretization techniques of the resulting partial differential equations of Selmer et al.’s model [2,3] are implemented, namely the finite difference method [8,9] and the finite volume method [10]. Both discretization techniques are compared numerically by studying the quality of the approximations via Euclidean norm ( l 2 ) and maximum norm ( l ) errors, as well as the efficiency via the condition numbers of the linear systems to be solved.
The supercritical drying of spherical, ethanol-filled silica gels packed in a cylindrical bed serves as the example system. Two initial ethanol concentrations in the bulk fluid, which represent the pressurization using CO2 with or without addition of excess solvent to the wet gels, are evaluated. Both pressurization techniques are applicable and implemented in supercritical drying processes.

2. Mass Transport Model of Supercritical Drying

The aim of supercritical drying is to extract a solute (in our case ethanol) from a wet gel using supercritical CO2 (component 1). The mass transport model presented here, and discussed in Selmer et al. 2018 from the physical point of view [2], results in a system of coupled partial differential equations. The partial differential equations are written here in terms of concentration of ethanol (component 2), c 2 . In the drying process, ethanol is transported by diffusion from the inside of the porous gel particles (Equation (1)) to the bulk fluid (Figure 1). The flow of the bulk fluid through the packed bed is modeled by convection (Equation (2)) (Figure 1). The packed bed leads to non-ideal flow behavior, which is included through a time dependent dispersion factor D L (Equation (2)). Thus, two domains are considered: The spherical gel particles (subscript g ), described by radial mass transport along the radial axis r; and the bulk fluid (subscript f ), described by axial mass transport along the axial axis z . Both domains are connected due to the mass transfer of ethanol across the boundary. This connection appears as a boundary condition for the mass transport within the particle (Equation (8)) and as a source term s o u r c e 2 , f for the mass transport of the bulk fluid (Equation (2)). It is assumed in our model that the gel particles are monodisperse and evenly distributed along the cylindrical autoclave. Since the mass transport within the gel particles depends on the mass transport of the bulk fluid, which in its turn varies along the axial packed bed height z , the mass transport within the gel particles should also depend on their position z in the packed bed. This fact is explicitly stated in (Equation (1)). The drying process is a dynamic process and thus depends on the time denoted with t . The source term s o u r c e 2 , f describes the ethanol being extracted from the gel particles (at axial position z in the packed bed) into the bulk fluid. The term is calculated as the temporal change of the amount of ethanol (in moles) within all gel particles divided by the accessible volume of the bulk fluid V f = A a c · ψ · L (Equation (4)). A a c stands for the cross-sectional area of the autoclave, ψ for the porosity of the packed bed and L for the length of the packed bed. The temporal change of the ethanol amount within the porous gel sphere is negative during the course of the drying since ethanol concentration with time decreases, but the source term itself is positive.
Physical properties of supercritical CO2 and its mixture with ethanol or other solvents strongly depend on the system parameters such as temperature, pressure and composition of the mixture [2]. The temperature and pressure are treated as constant during the drying process. The composition of binary mixture x 2 is directly related to the mixture concentration c and ethanol concentration c 2 (Equation (5)) and varies during the drying from pure ethanol ( x 2 = 1 ) to pure CO2 ( x 2 = 0 ). Physical properties, such as the effective diffusion coefficient D g , the mixture concentration c g and the fluid density ρ f , as well as the parameters that are functions thereof, such as the interstitial fluid velocity u (Equation (3)) and the mass transfer coefficient β (Equation (8)), are highly dependent on the radial, axial and temporal distribution of the mixture compositions in the gel body x 2 , g ( r , z , t ) and the bulk fluid x 2 , f ( z , t ) . For example, at a pressure of 10 MPa and a temperature of 321 K, the parameters being directly dependent from the mixture composition can vary during supercritical drying between
  • 1.41 · 10 9 and 7.68 · 10 9 m 2 s for the effective diffusion coefficient D g (assumption: Gel porosity ε g   = 0.93 , gel tortuosity τ g   = 3.48 ),
  • 9.67 · 10 3 and 1.77 · 10 4 m o l m 3 for the mixture concentration c g and the fluid density ρ f ,
  • 5.54 · 10 9 and 2.87 · 10 8 m 2 s for the diffusion coefficient in the bulk fluid,
  • 3.09 · 10 5 and 7.18 · 10 4   P a · s for the viscosity of the bulk fluid and between
  • 2.34 and 1.66 · 10 2 for the resulting Schmidt number.
Parameters that are independent from the mixture composition are written in bold font throughout the text and as follows: The surface of a single spherical gel particle A p , the number of particles in the packed bed N p , the cross-sectional area of the autoclave A a c , the length of the packed bed L , the porosity of the packed bed ψ and the mass flow rate of the ethanol–CO2 mixture m ˙ .
  c 2 , g ( r , z , t ) t = 1 r 2   [   r ( r 2 · D g ( x 2 , g ( r , z , t ) )   · c g ( x 2 , g ( r , z , t ) ) · x 2 , g ( r , z , t ) r ) ]  
c 2 , f ( z , t ) t =   D L ( t ) · 2 c 2 , f ( z , t ) z 2 ( c 2 , f ( z , t ) · u ( x 2 , f ( z , t ) ) ) z + s o u r c e 2 , f ( x 2 , g ( r , z , t ) , x 2 , f ( z , t ) )  
  u ( x 2 , f ( z , t ) ) = m ˙ A a c · ψ · ρ f ( x 2 , f ( z , t ) )
s o u r c e 2 , f ( x 2 , g ( r , z , t ) , x 2 , f ( z , t ) ) = N p A a c · ψ · L · t ( r = 0 r = R 4 · π · r 2 · ε g · c 2 , g ( r , z , t )   d r )  
  c 2 = x 2 · c  
Initial and boundary conditions are presented in Equations (6)–(8) for the gel particle domain and in Equations (10)–(12) for the bulk fluid domain. For each gel sphere (at a certain packed bed height z ), the boundary conditions were given by the Neumann condition at the center (Equation (7)) and by the molar flux across the boundary layer at the surface (Equation (8)).
r , z , t = 0 c 2 , g ( r , z , 0 ) = c 2 ,   g , 0
  r = 0 , z ,   t c 2 , g ( 0 , z , t ) r = 0
r = R , z , t D g ( x 2 , g ( R , z , t ) ) · c 2 , g ( R , z , t ) r = β ( x 2 , f ( z , t ) , u ( x 2 , f ( z , t ) ) · ( c 2 , g ( R , z , t ) c 2 ,   f ( z , t ) )
For the top of the packed bed, the Danckwerts’ boundary condition [12] was chosen so that no loss of ethanol across the upper boundary occurs due to dispersion of ethanol (Equation (11)). It was useful to define the flux of ethanol f 2 as follows:
  f 2 : = D L · c 2 , f z + u · c 2 , f .  
In order to simplify the boundary condition at the top of the packed bed: The flux of ethanol across the upper boundary is set to zero (Equation (11)) according to the Danckwerts’ boundary condition [12].
At the bottom of the packed bed, a Neumann boundary condition was used (Equation (12)).
z ,   t = 0 c 2 , f ( z , 0 ) = c 2 ,   f , 0
z = 0 ,   t 0 =   u ( x 2 , f ( 0 , t ) ) · c 2 ,   f ( 0 , t ) D L ( t ) · c 2 , f ( 0 , t ) z = f 2 ( 0 , t )
z = L ,   t c 2 , f ( L , t ) z = 0

3. Numerical Solution of the Mass Transport Model

The coupled partial differential equations were solved numerically. Equation (1), which describes the mass transport within the porous gel particles, was always solved using the finite difference method (FDM), whereas Equation (2), which describes the mass transport of the bulk fluid in the packed bed, was solved using either the FDM (Section 3.1) or the finite volume method (FVM) (Section 3.2), (Supplementary Materials).
Equation (1) was discretized using an explicit scheme, since it is easy to implement. Without its dependencies on r , z   , t , Equation (1) is written as follows:
z c 2 , g t = 1 r 2   [   r ( r 2 c g D g x 2 , g r ) ]
which gives, after applying the product rule,
z c 2 , g t = 2 c g D g r x 2 , g r + D g c g r   x 2 , g r + c g D g r   x 2 , g r + c g D g 2 x 2 , g r 2 .
Equation (14) was discretized using a forward difference for the time derivative and central differences for the spatial derivatives
n = 1 , , N s , k c 2 , g , n , s k + 1 c 2 , g , n , s k Δ t = 2 c g , n , s k D g , n , s k n Δ r x 2 , g , n + 1 , s k x 2 , g , n 1 , s k 2 Δ r + c g , n , s k   D g , n + 1 , s k D g , n 1 , s k 2 Δ r x 2 , g , n + 1 , s k x 2 , g , n 1 , s k 2 Δ r + D g , n , s k   c g , n + 1 , s k c g , n 1 , s k 2 Δ r x g , 2 , n + 1 , s k x g , 2 , n 1 , s k 2 Δ r + c g , n , s k D g , n , s k x 2 , g , n + 1 , s k 2 x 2 , g , n , s k + x 2 , g , n 1 , s k Δ r 2
where the super index k refers to time, s to the axial index in the packed bed/autoclave domain (cf. Figure 2), and n to the radial index of the gel particle domain. N stands for the number of nodes used to discretize the gel particle domain. The temporal as well as both spatial discretizations were based on equidistant nodes resulting in constant time Δ t = t k t k 1 and constant radial steps Δ r = r n r n 1   . We can rearrange Equation (15) to
n = 1 , , N s , k c 2 , g , n , s k + 1 = c 2 , g , n , s k + Δ t Δ r 2 { [ ( 1 1 n ) x 2 , g , n 1 , s k 2 x 2 , g , n , s k + ( 1 + 1 n ) x 2 , g , n + 1 , s k ] D g , n , s k c g , n , s k + 1 4 [ ( x 2 , g , n 1 , s k x 2 , g , n + 1 , s k ) ( ( D g , n 1 , s k D g , n + 1 , s k ) c g , n , s k + ( c g , n 1 , s k c g , n + 1 , s k ) D g , n , s k ) ] } .
The initial condition of the gel particle domain was set to
n , s ,   k = 1 c 2 , g , n , s 0 = c 2 ,   g , s t a r t .
The boundary conditions of the gel particle domain were discretized using central differences for the spatial derivatives. Two artificial nodes ( n = 0 , n = N + 1 ) were placed beyond the boundaries n = 1 and n = N and calculated as follows:
n = 0 , s ,   k c 2 , g , 0 , s k = c 2 , g , 2 , s k ,   x 2 , g , 0 , s k = x 2 , g , 2 , s k ,   c g , 0 , s k = c g , 2 , s k ,   D g , 0 , s k = D g , 2 , s k
n = N + 1 , s , k c 2 , g , N + 1 , s k = c 2 , g , N 1 , s k 2 Δ r β s k D g , N , s k ( c 2 , g , N , s   k c 2 , f , s k ) .
The artificial node n = 0 was used to solve Equation (16) for c 2 , g , 1 , s k + 1 and the artificial node n = N + 1 for c 2 , g , N , s k + 1   .
The domain which describes the mass transport in the bulk fluid (Equation (2)) was solved with both numerical methods (Section 3.1 and Section 3.2). Without its dependencies on r , z , t , Equation (2) was written as follows:
c 2 , f t = D L · 2 c 2 , f z 2 ( c 2 , f · u ) z + s o u r c e 2 , f .
Using this definition of the flux (Equation (9)) allows Equation (20) to be rewritten as
c 2 t = f 2 z + s o u r c e 2 , f .
The source term s o u r c e 2 , f (Equation (4)), which describes the ethanol being extracted from porous gel particles to the bulk fluid in the packed bed with time, was discretized for both numerical methods in the same way (Equation (22)): It was calculated as the difference between the accumulated ethanol within a single porous gel particle (placed at axial position s   ) at time t = k and at time t = k + 1 , divided by the time step Δ t = t k + 1 t k and multiplied by the particles per bulk fluid volume N p V f = N p A a c · ψ · L (Equation (22)). The accumulated ethanol within a single porous particle was calculated by the summation of the ethanol concentration c 2 , g , n , s k in each spherical shell element n , times the volume of each spherical shell element V g , n times the gel porosity ε g (Equation (22)):
s , k s o u r c e 2 , f , s k = N p A a c · ψ · L · Δ t · ( n = 1 N c 2 , g , n , s k · V g , n · ε g n = 1 N c 2 , g , n , s k + 1 · V g , n · ε g ) .

3.1. Solving the Diffusion-Advection Equation Using the Finite Difference Method

Finite difference methods are a flexible tool to discretize partial differential equations and easy to implement.
Figure 2 shows the equidistant axial discretization of the bulk fluid/packed bed domain for the FDM and the FVM (Section 3.2). For FDM, the first discretization node was placed at z = 0 and the last one at z = L . Therefore, both boundary volume elements/cells (grey boxes) were half of the length of the inner volume elements:
Δ z s : = { Δ z = Δ x Δ z 2 = Δ x 2 s = 2 , , S 1 s = 1 , S          .
Additional to the number of nodes S in the packed bed domain, two more artificial nodes ( x 0 and x S + 1   ) outside the domain were needed to discretize the boundary conditions via the FDMs.
In the following, we will distinguish between two versions of possible discretizations using the FDM to solve numerically the diffusion-advection equation. The difference is given by the discretization of the advective term in Equation (20).

3.1.1. Discretization of Advection Term: Version A

In version A, the advective term ( c 2 , f · u ) z was discretized. The discretization of Equation (20) using an explicit forward difference in time, a first order backward difference and a second order central difference in space results into
s = 1 , , S k c 2 , f ( t k + 1 , ( s 1 ) · Δ x ) c 2 , f , s k + 1 = c 2 , f , s k + Δ t Δ x 2 · [ c 2 , f , s 1 k 2 c 2 , f , s k + c 2 , f , s + 1 k ] D L k + Δ t Δ z s · [ c 2 , f , s 1 k · u s 1 k c 2 , f , s k · u s k ] + Δ t · s o u r c e 2 , f , s k

3.1.2. Discretization of Advection Term: Version B

In version B, the advective term u · c 2 , f z c 2 , f · u z was discretized instead of ( c 2 , f · u ) z   . Thus, the discretization of Equation (20) using an explicit forward difference in time, a first order backward difference and a second order central difference in space is given by
s = 1 , , S k c 2 , f ( t k + 1 , ( s 1 ) · Δ x ) c 2 , f , s k + 1 = c 2 , f , s k + Δ t Δ x 2 { [ c 2 , f , s 1 k 2 c 2 , f , s k + c 2 , f , s + 1 k ] D L k           + c 2 , f , s 1 k · u s k · Δ z s + c 2 , f , s k · u s 1 k · Δ z s          2 · c 2 , f , s k · u s k · Δ z s } + Δ t · s o u r c e 2 , f , s k
The corresponding discretized initial and boundary conditions for versions A and B are
s ,   k = 1 c 2 , f , s 0 = c 2 ,   f , s t a r t
s = 0 ,   k 0 =   u 0 k · c 2 , f , 0 k + D L k · c 2 , f , 1 k c 2 , f , 0 k Δ x c 2 , f , 0 k = c 2 , f , 1 k · D L k D L k + u 0 k · Δ x
s = S + 1 , k c 2 , f , S + 1 k = c 2 , f , S k .
Equations (24) and (25) can be rearranged to a linear system (Equations (29)–(33)) using the discretized boundary conditions (Equations (27) and (28)) and corresponding cell sizes Δ z s (Equation (23)).
s , k c 2 , f k + 1 =   c 2 , f k Δ t Δ x · ( A F D M k · c 2 , f k b F D M k )
s = 1 , , S k c 2 , f k = ( c 2 , f , 1 k c 2 , f , s k c 2 , f , S k )
s , k  Version A:
     A F D M k =   ( D L k D L k + u 0 k · Δ x · ( D L k Δ x 2 · u 0 k ) + 2 · D L k Δ x + 2 · u 1 k D L k Δ x 0 0 0 a F D M , s T 0 0 0 D L k Δ x 2 · u S 1 k D L k Δ x + 2 · u S k )
(31)
 Version B:
        A F D M k =   ( D L k D L k + u 0 k · Δ x · ( D L k Δ x 2 · u 1 k ) + 2 · D L k Δ x + 4 · u 1 k 2 · u 0 k D L k Δ x 0 0 0 a F D M , s T 0 0 0 D L k Δ x 2 · u S k D L k Δ x + 4 · u S k 2 · u S 1 k )
s = 2 , , S 1 k Where a F D M , s is nonzero only for the indices s 1 , s , s + 1 and given by
Version A:
    a F D M , s =   ( 0 D L k Δ x u s 1 k 2 · D L k Δ x + u s k D L k Δ x 0 )
Version B:      
a F D M , s =   ( 0 D L k Δ x u s k 2 · D L k Δ x + 2 · u s k u s 1 k D L k Δ x 0 )
(32)
s , k b F D M k =   ( s o u r c e 2 , f , 1 k · Δ x s o u r c e 2 , f , s k · Δ x s o u r c e 2 , f , S k · Δ x )  

3.2. Solving the Diffusion-Advection Equation Using the Finite Volume Method

Under certain conditions, finite volume methods conserve mass discretely and thus are suitable here. In the FVM, the ethanol flux f 2 (Equation (9)) is evaluated at the cell interfaces x s + 1 2 and the ethanol concentration c 2 , f at the nodes x s (Figure 2, Equation (35)). To discretize the boundary conditions appropriately (cf. Equations (42)–(44)), the first discretization node was placed at z = x 1 and the last node at z = L   . Thus, the bottom boundary volume element was halved (Figure 2):
  Δ z s : = { Δ z = Δ x    Δ z 2 = Δ x 2    s = 1 , , S 1 s = S        .
The grid definition of the FVM leads to a slightly different grid compared to the FDMs (including different Δ z s ) using the same number of nodes S . This is important for the subsequent comparison of both methods.
To solve Equation (21), we adapted the time-invariant complete flux scheme version developed by Farrell and Linke [11], which is based on Voronoï meshes [13]. They considered a numerical scheme for stationary problems, which we extended to time-dependent problems via integration: Equation (21) was integrated on a discrete cell (Figure 2) at time k yielding Equation (35). Here f 2 , s + 1 2 k describes the molar flux which crosses the interface between two neighboring cells. It can be divided into a homogeneous part and an inhomogeneous part (Equation (36)), which were calculated using Equation (37) to Equation (41) according to Farrell and Linke [11]. Their idea is based on complete flux schemes [14,15,16]. Thus, we used the supercritical drying model of gel particles in a packed bed as application example for the complete flux scheme developed by Farrell and Linke [11].
s = 1 , , S k c 2 , f ( t k + 1 , Δ z s · ( s 0.5 ) ) c 2 , f , s k + 1 =   c 2 , f , s k Δ t Δ z s · ( f 2 , s + 1 2 k f 2 , s 1 2 k ) + Δ t · s o u r c e 2 , f , s k
s = 1 , , S k f 2 , s + 1 2 k =   f 2 , s + 1 2 k , h o m o g e n e o u s + f 2 , s + 1 2 k , i n h o m o g e n e o u s
s = 1 , , S k f 2 , s + 1 2 k , h o m o g e n e o u s = D L k Δ x · { B ( P s + 1 2 k ) · c 2 , f , s + 1 k B ( P s + 1 2 k ) · c 2 , f , s k }
s = 1 , , S k f 2 , s + 1 2 k , i n h . =   Δ x · { V ( P s + 1 2 k ) · s o u r c e 2 , f , s + 1 k V ( P s + 1 2 k ) · s o u r c e 2 , f , s k }
s = 1 , , S k numerical   Pecl é t   number   P s + 1 2 k = u s + 1 2 k D L k ·   Δ x
Bernoulli   function   B ( x ) : = x e x 1  
  V ( x ) : = e x 2 1 1 2 x x ( e x 1 )  
The boundary conditions of the FVM (Equations (42)–(44)) were chosen according to Equations (10)–(12). The difference to the FDM (Equations (26)–(28)) is that the boundary conditions are written in terms of ethanol fluxes f 2 , s k   . Equation (43) implies that no ethanol crosses the upper boundary which is analogous to the Danckwerts’ boundary condition [12]. At the bottom and at the end of the packed bed the ethanol flux is only influenced by the transported ethanol in the bulk fluid (pure convection without any dispersion) (Equation (44)), since the spatial derivative of the ethanol concentration in the bulk fluid c 2 , f stays zero at z = L (Equation (12)).
s ,   k = 1 c 2 , f , s 0 = c 2 ,   f , s t a r t
s = 1 ,   k f 2 , 1 2 k = 0
s = S ,   k f 2 , S k = u S k · c 2 , f , S k
Equation (35) can be rearranged using Equations (36)–(38), Equations (43) and (44) into a linear system (Equations (45)–(50)) to calculate the unknown ethanol concentration profile c 2 , f k + 1 within the bulk fluid along the autoclave height. The division by the vector Δ z s in Equation (45) is meant component wise (cf. Equations (34) and (47)).
s , k c 2 , f k + 1 =   c 2 , f k Δ t Δ z s · ( A C F S k · c 2 , f k b C F S k )
s = 1 , , S k c 2 , f k = ( c 2 , f , 1 k c 2 , f , s k c 2 , f , S k )  
s = 1 , , S   Δ z s = ( Δ z 1 Δ z s Δ z S )
s , k A C F S k =   ( D L k Δ x · B ( P 3 2 k ) D L k Δ x · B ( P 3 2 k ) 0 0 0 a C F S , s T 0 0 0 D L k Δ x · B ( P S 1 2 k ) u S k + D L k Δ x · B ( P S 1 2 k ) )
s = 2 , , S 1 k Where a C F S , s is nonzero only for the indices s 1 , s , s + 1 and given by a C F S , s =   ( 0 D L k Δ x · B ( P s 1 2 k ) D L k Δ x · [ B ( P s + 1 2 k ) + B ( P s 1 2 k ) ] D L k Δ x · B ( P s + 1 2 k ) 0 ) (49)
s , k b CFS k = ( Δ z 1 · s o u r c e 2 , f , 1 k + Δ x · { V ( P 3 2 k ) · s o u r c e 2 , f , 2 k V ( P 3 2 k ) · s o u r c e 2 , f , 1 k } Δ z s · s o u r c e 2 , f , s k + Δ x · { V ( P s + 1 2 k ) · s o u r c e 2 , f , s + 1 k [ V ( P s + 1 2 k ) + V ( P s 1 2 k ) ]   · s o u r c e 2 , f , s k + V ( P s 1 2 k ) · s o u r c e 2 , f , s 1 k } Δ z S · s o u r c e 2 , f , S k   Δ x · { V ( P S 1 2 k ) · s o u r c e 2 , f , S k V ( P S 1 2 k ) · s o u r c e 2 , f , S 1 k } )

4. Results and Discussion

First, we numerically analyze the accuracy of the presented discrete schemes by studying the convergence behavior and the closure of the mole balance. Second, we discuss the computational efficiency of all three methods by examining the condition number as well as the duration of the computation.
The following drying conditions were utilized for all calculations: System pressure P = 10   M P a , system temperature T = 321   K , gel sphere radius R = 3.175   m m , gel porosity ε g   = 0.93 , gel tortuosity τ g   = 3.48 , ethanol molar fraction within the gel sphere at the start of the drying x 2 , g s t a r t = 1 , ethanol molar fraction within the gel sphere at the end of the drying (depends on system temperature and defines the drying end) x 2 , g e n d ( T = 321   K ) = 0.0109 , packed bed porosity ψ = 0.4 , volume of packed bed = 1.514 · 10 4   m 3 , diameter of packed bed = 2.1 · 10 2   m , mass flow rate of the ethanol–CO2 mixture m ˙ = 0.2003 k g s . For Figure 9 additional calculations were conducted (see caption of Figure 9).

4.1. Accuracy

4.1.1. Convergence Behavior

We would like to know how the number of nodes influences the quality of the calculated solution.
In the following, the convergence behavior is evaluated for two different initial ethanol concentrations in the bulk fluid c 2 ,   f , s t a r t   (Equation (26), Equation (42)), which represent the pressurization using CO2:
(a)
With excess ethanol: corresponding to x 2 , f , s t a r t = 0.95 ;
(b)
Without excess ethanol: corresponding to x 2 , f , s t a r t = 0.05   .
The analysis of the convergence behavior is based and presented here in form of the ethanol molar fraction instead of the ethanol concentration, since the molar fraction (being proportional to the concentration (Equation (5))) varies from 0 to 1, which allows the reader to easily interpret the results.
First, the solutions of the numerical methods are compared at the node s = S (bottom of the packed bed), since this node position is equal for all three methods (Figure 2). Thus, the molar fractions of ethanol in the bulk fluid at the bottom of the packed bed x 2 , f , S depending on the drying time are shown in Figure 3 for different numbers of grid nodes S ( S = 2 ; 4 ; 8 ; 16 ; 32 ). In our case, an analytical solution is missing so that solutions on a fine grid ( S = 2 6 = 64 ) are used as reference in all cases. The solutions of the FDM calculations are compared with a fine FDM reference solution calculated with FDM version A and S = 64 grid nodes in total. The solutions of the FVM calculations are compared with a fine FVM reference solution also calculated with S = 64 grid nodes. Two different reference solutions were needed, since especially the first node of the FDM and the FVM differs in its principal position (Figure 2). Both reference solutions presented in form of ethanol molar fraction are additionally shown in Figure 3 and converge to same solutions.
From Figure 3 it is obvious that increasing the total number of nodes S increases the quality of the solutions for all three methods. For S = 2 and x 2 , f , s t a r t = 0.05 , the FVM overshoots slightly the reference solutions in the first drying minutes due to a sharp increase of the molar fraction x 2 , f , S at this position (bottom of the packed) in the beginning of the drying process. The FDM version B prolongs the drying process compared to the reference solutions.
In the previous paper [3], 20 nodes were taken for the same calculation using the presented FVM and x 2 , f , s t a r t = 0.05 as initial condition. From Figure 3 it is obvious that these 20 nodes (marked as FVM Selmer et al. 2019) were sufficient to calculate a solution being close to the fine reference solution.
The resulting absolute deviations (at position s = S ) between the solutions of the investigated numerical methods and their corresponding reference solutions are shown in Figure 4. In general, the deviations of the solutions from the fine reference solutions (Figure 3: in black), restricted to the corresponding coarser meshes, decrease with an increasing number of nodes, indicating convergence (Figure 4). The initial condition of the bulk fluid in the packed bed x 2 , f , s t a r t influences the height as well as the temporal distribution of the deviations (Figure 4). For high temporal changes (Figure 3, x 2 , f , s t a r t = 0.95 ) high deviations in case of FDM version A and FVM (Figure 4, x 2 , f , s t a r t = 0.95 ) can be observed. Even higher deviations at coarse grids ( S = 2 ; 4 ; 8 ) were observed for FDM version B due to a coarser approximation of the convective mass transport in the packed bed (Equation (25)) compared to version A (Equation (24)). The FVM shows smaller deviations compared to the FDMs, except for the usage of S = 16 and S = 32 nodes in case of x 2 , f , s t a r t = 0.05 , where relative high deviations could be observed in the first drying minutes (Figure 4). These deviations are induced by the approximated boundary condition of the FVM at the bottom of the packed bed (Equation (44)). The interstitial fluid velocity u and thus the ethanol flow f 2 at z = L could not be evaluated at the cell interface and had to approximated by using the ethanol concentration c 2 , f at the final node s = S to estimate the searched ethanol flow (Equation (44)).
In a second step, the solutions of the numerical methods were analyzed not only at the final node s = S (bottom of the packed bed) for varying drying times (as presented above), but also for all other nodes ( s = 1 , , S   ) in order to have a spatial error distribution (Figure 5).
To be able to compare the molar fractions on coarse meshes with the fine reference solution x 2 , f R E F   , the molar fractions on the finer reference mesh were interpolated to the coarse grid. The deviations from the reference solution were calculated for each time step k = 1 , , K and for each spatial step s = 1 , , S . Thus, the following mole fraction vector was defined to calculate the l and l 2 errors:
x 2 , f : = ( x 2 , f , 1 , , x 2 , f , S ) T   with   x 2 , f , s = ( x 2 , f , s 1 , , x 2 , f , s K ) T . s = 1 , , S
Figure 5 shows the resulting l and l 2 errors calculated at each single node s = 1 , , 16 for all time steps k (as example for a total amount of S = 16 nodes). The l error depicts the maximum value of the absolute error, the l 2 error corresponds to the l 2 norm of the error.
As observed already in Figure 4, the highest maximum absolute error ( l error) at the last node s = S = 16 for the case S = 16 nodes and x 2 , f , s t a r t = 0.05 was given by the FVM due to the approximated boundary condition at z = L . Nevertheless, the FVM shows small l errors for all other nodes (similar to FDM version A) for both initial conditions (Figure 5). Overall, the smallest l 2 errors for all nodes (for all time steps and both initial conditions) were identified for the FVM. Version A of the FDMs shows generally smaller l and l 2 errors compared to Version B (as already seen for the single node s = S at the bottom of the packed bed (Figure 4)). For both errors, l and l 2 , and all three numerical methods, the errors are generally higher for the initial condition x 2 , f , s t a r t = 0.95 compared to the case using x 2 , f , s t a r t = 0.05 due to an almost stepwise change of the molar fraction at the top of the packed bed ( s = 1 ) in the beginning of the drying process. The molar fraction x 2 , f , 1 changes here at the beginning of the drying process from nearly pure ethanol (component 2) to the autoclave entering pure CO2 (component 1). The errors are; therefore, higher at node s = 1 compared to the other nodes.
In a third step, the overall errors calculated for all spatial nodes of the packed bed height ( s = 1 , , S ) and for all drying time steps ( k = 1 , , K ) are presented in Figure 6 for different discretizations/grids ( S = 2 ; 4 ; 8 ; 16 ; 32 ) and both investigated initial conditions.
It is obvious that the overall errors are higher for the initial condition x 2 , f , s t a r t = 0.95 compared to the calculations using x 2 , f , s t a r t = 0.05 . For both initial conditions and both errors, l and l 2 , the FVM shows the best convergence behavior, meaning the error decreases the fastest for an increasing total number of grid points S (or smaller grid sizes Δ x ).
Next to the above analyzed molar fractions, the calculated drying times as well as the dimensionless number K 1 m e a n (both parameters were defined in the previously published paper [3]) are influenced by the total number of grid points S in the region of packed bed (Figure 7). The calculated drying time is the time from start to end of the drying process, whereas the drying process ends when the ethanol molar fraction is less than x 2 , g end ( T = 321   K ) = 0.0109 within all gel particles of the packed bed [3]. x 2 , g end depends slightly on the system temperature (see previously published paper [3]). The dimensionless number K 1 m e a n is a relative measure that shows which mass transport step is the limiting one for the overall drying kinetic, being either diffusion in the gel spheres or mass transport in the bulk fluid. It can be used to find a fast-drying process at low CO2 consumption [3].
From Figure 7a it is obvious that a minimum can be reached for the calculated drying time by increasing the number of nodes S . The black crosses in Figure 7 mark the settings of the FVM used in the previously published paper [3]. The calculated drying time from the previously published paper [3] is close to the found minimal value.
An increase of the total number of nodes S leads to an increasing K 1 m e a n number (Figure 7b). The result of the previously published paper [3] is again close to the K 1 m e a n using the FVM and S = 32 . Nevertheless, it is unclear if a maximum can be reached by increasing the total number of grid points S further.

4.1.2. Mole Balances

During the drying process no chemical conversion occurs and thus the balance in terms of mole fraction of ethanol and carbon dioxide were considered. The closure of the mole balance of ethanol is shown in Figure 8 in the form of the relative error (Equation (52))
  r e l a t i v e   e r r o r   [ % ] = ( 1 N 2 , e n d N 2 , s t a r t ) · 100 .
As expected, the FVM shows the best closure of the mole balance among all discretizations due to its requirement by definition to close the mass balance for each volume element (Figure 8a,b). The relative error of the FDM version A shows a better closure of the mass balance compared to FDM version B (Figure 8a). A maximum (corresponding to an absolute error minimum) was observed for the FDM version A (Figure 8b). The black crosses in Figure 8 mark the settings of the FVM used in the previously published paper [3]. Similar results for the relative errors of the FVM in both studies using different Δ t and total number of nodes S were obtained. The relative errors of the FVM (expressed in %) were in the range of 10−4.
Comparing the closure of the mole balance of the FVM (for fixed Δ t and total number of nodes S ) depending on the dimensionless number K 1 m e a n (Figure 9) shows that the relative error is increasing almost linearly with increasing dimensionless number K 1 m e a n . An increasing dimensionless number K 1 m e a n stands for an increased convective term in the packed bed [3].
For a constant total number of nodes S , an increase of the time step Δ t leads to an almost linear increasing relative error (not shown in the diagrams).
Summarizing, the FVM shows the highest approximation quality except for a sharp increase of the molar fraction at the bottom of the bulk fluid ( s = S ). Version A of the FDM allows for more accurate calculations compared to version B and should be preferred when choosing the FDM.

4.2. Efficiency

4.2.1. Condition Numbers

The condition numbers of A C F S k (Equation (48), Equation (49)) and A F D M k (version A and B, Equation (31), Equation (32)) are shown in Figure 10 corresponding to each numerical method for two different initial conditions (cf. Section 4.1.1.). The condition numbers vary with the drying time due to varying dispersion coefficients D L k and interstitial velocities u s k (Equation (31)/Equation (32), Equation (48)/Equation (49)). The condition number of the FVM is the lowest, whereas the condition numbers of the FDMs become closer to each other for increasing number of nodes. The condition number of the FDM version B is up to more than four times higher than the other condition numbers on coarse grids. Additionally, it fluctuates in the beginning of the drying process. The condition number of the FVM used in Selmer et al. 2019 [3] with S = 20 nodes is between the condition numbers at S = 16 and S = 32 of the FVM. The condition number of FDM version B is more sensitive to the initial condition x 2 , f , s t a r t than the condition numbers of the other two methods.
Next to the above presented drying time dependencies of the condition numbers, the corresponding maxima of the condition numbers are shown as a function of the reciprocal of number of nodes S in Figure 11. The previously discussed results can be easily rediscovered here: The FVM has the lowest maximal condition numbers, the maximum condition numbers of all investigated numerical methods increase with increasing number of nodes or decreasing grid sizes and the condition number of the FDM version B is most sensitive with respect to the initial condition.

4.2.2. Computation Time

The computation time as a function of the reciprocal number of nodes S is shown in Figure 12. In principal, the computation time increases for decreasing mesh sizes (or increasing number of nodes S ) for all three methods. The calculations using the FVM take less time than using the FDMs (except on the finest mesh). Additionally, the calculation time increases for the FDM version B for coarse meshes due to an overestimation of the calculated drying time (Figure 7a) and thus longer calculation durations using a fixed time step. Hence, a minimum in the calculation duration of FDM version B can be observed in Figure 12.
The black cross marks the settings of the previously published paper [3]. Its value is smaller than for the calculations of this paper due to a time step which is twice the time step of the calculations made here. Even though the time step is doubled for the calculations in Selmer et al. 2019 [3], the calculation quality is acceptable as shown in the previous sections.

5. Conclusions

In this work, we evaluated three different numerical methods, based on finite differences and finite volumes methods, to solve the advection diffusion equation arising in the context of the supercritical drying process of spherical gel particles in a packed bed.
The FVM showed the best closure of the mole balance, best convergence behavior and lowest condition numbers. Therefore, this method is recommended to solve the coupled partial differential equations describing the supercritical drying kinetic in a packed bed developed in Selmer et al. 2018 [2]. A sufficient number of nodes is needed especially for high temporal changes of the molar fractions in the bulk fluid. The reason is that high spatial and/or temporal changes of the molar fractions result into high variations of the physical mixture properties and thus changes all particular mass transfer steps directly or indirectly. Especially the effective diffusion coefficient within the porous gel particle, the mass transfer coefficient and the interstitial fluid velocity within the packed bed are influenced. More detailed information is given in [2,3].
The FDM version A showed good accuracy and computational efficiency. It is easy to implement and should be used with a sufficient number of nodes.
The FDM version B showed the lowest accuracy and efficiency. Thus, it is not recommended to be used.

Supplementary Materials

The underlying MATLAB codes are available online at https://doi.org/10.6084/m9.figshare.12504863 to provide all necessary details for the implementation of the algorithms presented in the paper.

Author Contributions

Conceptualization, I.S. (Ilka Selmer) and P.F.; methodology, I.S. (Ilka Selmer) and P.F.; software, I.S. (Ilka Selmer) and P.F.; validation, I.S. (Ilka Selmer) and P.F.; formal analysis, I.S. (Ilka Selmer) and P.F.; investigation, I.S. (Ilka Selmer); resources, P.G. and I.S. (Irina Smirnova); data curation, I.S. (Ilka Selmer); writing—original draft preparation, I.S. (Ilka Selmer); writing—review and editing, P.F., P.G. and I.S. (Irina Smirnova); visualization, I.S. (Ilka Selmer) and P.F.; supervision, P.G. and I.S. (Irina Smirnova); project administration, P.G.; funding acquisition, I.S. (Irina Smirnova). All authors have read and agreed to the published version of the manuscript.

Funding

This IGF Project AiF 17485 N of the FEI was supported via AiF within the program for promoting the Industrial Collective Research (IGF) of the German Ministry of Economic Affairs and Energy (BMWi), based on a resolution of the German Parliament. Ilka Selmer was supported by a scholarship of Pro Exzellenzia.

Acknowledgments

We would like to thank Anna-Sophia Behnecke for developing the code for the computation of the diffusion within the porous gel spheres.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Nomenclature

A a c [ m 2 ] Cross-sectional area of the cylindrical autoclave
a C F S , s [ m s ] Row vector in finite volume matrix
a F D M , s [ m s ] Row vector in finite difference matrix
A C F S [ m s ] Finite volume method matrix
A F D M [ m s ] Finite difference method matrix
A p [ m 2 ] Surface area of the spherical particle
B ( x ) : = x e x 1 [ ] Bernoulli function
b C F S [ m o l s · m 2 ] Right-hand side vector for finite volume method
b F D M [ m o l s · m 2 ] Right-hand side vector for finite difference method
c [ m o l m 3 ] Concentration
c 2 ,   f [ m o l E t O H m 3 ] Ethanol concentration in the bulk fluid
c 2 ,   f k [ m o l E t O H m 3 ] Vector ethanol concentration of the axial bulk fluid elements s
c 2 ,   g [ m o l E t O H m 3 ] Ethanol concentration within the porous gel particle
c f [ m o l E t O H + m o l C O 2 m 3 ] Mixture concentration in the bulk fluid
c g [ m o l E t O H + m o l C O 2 m 3 ] Mixture concentration within the porous gel particle
D [ m 2 s ] Diffusion coefficient
D L [ m 2 s ] Axial dispersion coefficient in the packed bed
D g = ε g τ g · D [ m 2 s ] Effective diffusion coefficient within the porous gel particle
f [ ] Function
f 2 [ m o l s · m 2 ] Flux of ethanol
h = 1 / S   [ ] Dimensionless grid size
k [ ] Time index
K [ ] Number of time steps
K 1 m e a n [ ] Dimensionless number
L [ m ] Length of the packed bed
l 2 [ ] Euclidean norm
l [ ] Maximum norm
m ˙ [ k g s ] Mass flowrate of the ethanol–CO2 mixture
m a x [ ] Maximum
n [ ] Radial index in gel particle domain
N [ ] Number of nodes in gel particle domain
N 2 , e n d [ m o l E t O H ] End mole number of ethanol
N 2 , s t a r t [ m o l E t O H ] Start mole number of ethanol
N p [ ] Number of particles
P [ P a ] Pressure
P [ ] Numerical Péclet number
r [ m ] Radial coordinate of the spherical particle
R [ m ] Particle radius
s [ ] Axial index in autoclave/bulk fluid domain
S [ ] Number of nodes in autoclave/bulk fluid domain
s o u r c e 2 , f [ m o l E t O H m 3 · s ] Ethanol source term within the bulk fluid
t [ s ] Time
T [ K ] Temperature
u = U ψ [ m s ] Interstitial fluid velocity
U [ m s ] Superficial fluid velocity
V ˙ [ m 3 s ] Volume flow
V ( x ) : = e x 2 1 1 2 x x ( e x 1 ) [ ] Function
V f [ m 3 ] Volume bulk fluid
V g , n [ m 3 ] Volume element of spherical gel particle
x 2 ,   f [ m o l E t O H m o l E t O H + m o l C O 2 ] Ethanol molar fraction in the bulk fluid
x 2 ,   f [ m o l E t O H m o l E t O H + m o l C O 2 ] Vector ethanol molar fraction of the axial bulk fluid elements s and time indices k
x 2 ,   f R E F [ m o l E t O H m o l E t O H + m o l C O 2 ] Reference vector ethanol molar fraction of the axial bulk fluid elements s and time indices k
x 2 ,   f , s [ m o l E t O H m o l E t O H + m o l C O 2 ] Vector ethanol molar fraction of the time indices k
x 2 ,   g [ m o l E t O H m o l E t O H + m o l C O 2 ] Ethanol molar fraction within the porous particle
x i [ m o l i m o l E t O H + m o l C O 2 ] Molar fraction of component i
x s [ ] Node
x s + 1 2 [ ] Cell interface
z [ m ] Axial coordinate of the autoclave/packed bed
Greek letters
β [ m s ] Mass transfer coefficient
Δ r [ m ] Distance between neighboring nodes in gel particles
Δ t [ s ] Time step
Δ x [ m ] Distance between neighboring nodes in autoclave/bulk fluid domain
Δ z ,   Δ z s [ m ] Length of volume element
Δ z s [ m ] Vector lengths of volume elements
ε g [ m p o r e   f l u i d 3 m p a r t i c l e 3 ] (Aero)gel particle porosity
ψ [ m b u l k   f l u i d 3 m a u t o c l a v e 3 ] Porosity of the packed bed (spherical porous particles are here assumed to be nonporous)
ρ f [ k g m 3 ] Density of ethanol-CO2 mixture in the bulk fluid
τ g [ ] Tortuosity within the porous gel particle
Super and subscripts
0 ,   s t a r t Start
1 Component carbon dioxide
2 Component ethanol
a c Autoclave
C F S Complete flux scheme
C O 2 Carbon dioxide
e n d End
E t O H Ethanol
f Bulk fluid
F D M Finite difference method
F V M Finite volume method
g , g e l Gel
h o m o g e n o u s Homogenous
i Substance component i
i n h o m o g e n o u s , i n h . Inhomogeneous
k Time index
K Number of time steps
n Radial index in gel particle domain
p Particle
R E F Reference
s Axial index in autoclave/bulk fluid domain
S Number of nodes in autoclave/bulk fluid domain
T Transposed

References

  1. Şahin, İ.; Özbakır, Y.; İnönü, Z.; Ulker, Z.; Erkey, C. Kinetics of Supercritical Drying of Gels. Gels 2018, 4, 3. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Selmer, I.; Behnecke, A.-S.; Quiño, J.; Braeuer, A.S.; Gurikov, P.; Smirnova, I. Model development for sc-drying kinetics of aerogels: Part 1. J. Supercrit. Fluids 2018, 140, 415–430. [Google Scholar] [CrossRef]
  3. Selmer, I.; Behnecke, A.-S.; Farrell, P.; Morales, A.B.; Gurikov, P.; Smirnova, I. Model development for sc-drying kinetics of aerogels: Part 2. J. Supercrit. Fluids 2019, 147, 149–161. [Google Scholar] [CrossRef]
  4. Şahin, İ.; Uzunlar, E.; Erkey, C. Investigation of kinetics of supercritical drying of alginate alcogel particles. J. Supercrit. Fluids 2019, 146, 78–88. [Google Scholar] [CrossRef]
  5. Şahin, İ.; Uzunlar, E.; Erkey, C. Investigation of the effect of gel properties on supercritical drying kinetics of ionotropic alginate gel particles. J. Supercrit. Fluids 2019, 152, 104571. [Google Scholar] [CrossRef]
  6. Hatami, T.; Viganó, J.; Innocentini Mei, L.H.; Martínez, J. Production of alginate-based aerogel particles using supercritical drying: Experiment, comprehensive mathematical model, and optimization. J. Supercrit. Fluids 2020, 160, 104791. [Google Scholar] [CrossRef]
  7. Santos, P.d.; Viganó, J.; Furtado, G.d.F.; Cunha, R.L.; Hubinger, M.D.; Rezende, C.A.; Martínez, J. Production of resveratrol loaded alginate aerogel: Characterization, mathematical modeling, and study of impregnation. J. Supercrit. Fluids 2020, 163, 104882. [Google Scholar] [CrossRef]
  8. Forsythe, G.E.; Wasow, W.R. Finite Difference Methods for Partial Differential Equations; Wiley: New York, NY, USA, 1960. [Google Scholar]
  9. Morton, K.W.; Mayers, D.F. Numerical Solution of Partial Differential Equations; Cambridge University Press: Cambridge, UK, 2005. [Google Scholar]
  10. Eymard, R.; Gallouët, T.; Herbin, R. Finite volume methods. In Solution of Equations in R^n (Part 3), Techniques of Scientific Computing (Part 3); Ciarlet, P.G., Lions, J.L., Eds.; Elsevier: Amsterdam, The Netherlands, 2000; Volume 7, pp. 713–1018. [Google Scholar] [CrossRef] [Green Version]
  11. Farrell, P.; Linke, A. Uniform Second Order Convergence of a Complete Flux Scheme on Unstructured 1D Grids for a Singularly Perturbed Advection–Diffusion Equation and Some Multidimensional Extensions. J. Sci. Comput. 2017, 72, 373–395. [Google Scholar] [CrossRef]
  12. Danckwerts, P.V. Continuous flow systems. Chem. Eng. Sci. 1953, 2, 1–13. [Google Scholar] [CrossRef]
  13. Si, H.; Gärtner, K.; Fuhrmann, J. Boundary conforming Delaunay mesh generation. Comput. Math. Math. Phys. 2010, 50, 38–53. [Google Scholar] [CrossRef] [Green Version]
  14. Thiart, G.D. Improved Finite-Difference Scheme for the Solution of Convection-Diffusion Problems with Simplen Algorithm. Numer. Heat Transfer Part B Fundamentals 1990, 18, 81–95. [Google Scholar] [CrossRef]
  15. Ten Thije Boonkkamp, J.H.M.; Anthonissen, M.J.H. The Finite Volume-Complete Flux Scheme for Advection-Diffusion-Reaction Equations. J. Sci. Comput. 2011, 46, 47–70. [Google Scholar] [CrossRef] [Green Version]
  16. Ten Thije Boonkkamp, J.H.M.; Schilders, W.H.A. An exponential fitting scheme for the electrothermal device equations, specially for the simulation of avalanche generation. COMPEL Int. J. Comput. Math. Electr. Electron. Eng. 1993, 12, 95–111. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Supercritical drying of gel particles in a packed bed (z—axial coordinate of packed bed, z = 0—top of packed bed, z = L—bottom of packed bed, Δ z —slice of packed bed, m ˙ C O 2 —CO2 flow,   m ˙ E t O H —ethanol flow, V ˙ —volume flow, ρ f —fluid density (mixture of CO2 and ethanol), r—radial coordinate of spherical gel particle, r = 0—gel particle center, r = R—gel particle radius, t—time).
Figure 1. Supercritical drying of gel particles in a packed bed (z—axial coordinate of packed bed, z = 0—top of packed bed, z = L—bottom of packed bed, Δ z —slice of packed bed, m ˙ C O 2 —CO2 flow,   m ˙ E t O H —ethanol flow, V ˙ —volume flow, ρ f —fluid density (mixture of CO2 and ethanol), r—radial coordinate of spherical gel particle, r = 0—gel particle center, r = R—gel particle radius, t—time).
Gels 06 00045 g001
Figure 2. Axial discretizations of the packed bed for FDM and FVM. S —number of nodes, x s —sth node (blue), x 0 , x S + 1 artificial node (green), Δ x distance between neighboring nodes, x s + 1 2 cell interface (in the middle of two neighboring nodes), Δ z s length of volume element (grey boxes, boundary boxes in dark grey).
Figure 2. Axial discretizations of the packed bed for FDM and FVM. S —number of nodes, x s —sth node (blue), x 0 , x S + 1 artificial node (green), Δ x distance between neighboring nodes, x s + 1 2 cell interface (in the middle of two neighboring nodes), Δ z s length of volume element (grey boxes, boundary boxes in dark grey).
Gels 06 00045 g002
Figure 3. Calculated ethanol mole fraction in the bulk fluid x2,f,s at node s = S, using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels). Calculated by the FVM, FDM version A and B and the FVM with the settings used in Selmer et al. 2019 [3] depending on the drying time and the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Figure 3. Calculated ethanol mole fraction in the bulk fluid x2,f,s at node s = S, using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels). Calculated by the FVM, FDM version A and B and the FVM with the settings used in Selmer et al. 2019 [3] depending on the drying time and the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Gels 06 00045 g003aGels 06 00045 g003b
Figure 4. Absolute deviation from reference solution at final node s = S for the FVM, FDM version A and B, using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels), depending on the drying time and the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Figure 4. Absolute deviation from reference solution at final node s = S for the FVM, FDM version A and B, using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels), depending on the drying time and the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Gels 06 00045 g004
Figure 5. Spatial l and l2 error distribution calculated for all drying time steps k for the FVM, FDM version A and B using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels). Calculation settings: N = 26, S = 16, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Figure 5. Spatial l and l2 error distribution calculated for all drying time steps k for the FVM, FDM version A and B using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels). Calculation settings: N = 26, S = 16, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Gels 06 00045 g005
Figure 6. Overall l and l2 error calculated for all spatial nodes s and for all drying time steps k for the FVM, FDM version A and B using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels) depending on the reciprocal of the total number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Figure 6. Overall l and l2 error calculated for all spatial nodes s and for all drying time steps k for the FVM, FDM version A and B using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels) depending on the reciprocal of the total number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Gels 06 00045 g006
Figure 7. Calculated drying time (a) and dimensionless number K 1 m e a n (b) calculated by the FVM, FDM version A and B and the FVM, with the settings used in Selmer et al. 2019 [3] depending on the reciprocal of the number of nodes S using x 2 , f start = 0.05. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Figure 7. Calculated drying time (a) and dimensionless number K 1 m e a n (b) calculated by the FVM, FDM version A and B and the FVM, with the settings used in Selmer et al. 2019 [3] depending on the reciprocal of the number of nodes S using x 2 , f start = 0.05. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Gels 06 00045 g007
Figure 8. Relative error of the mole balance of the FVM, FDM version A and B and the FVM with the settings used in Selmer et al. 2019 [3] depending on the reciprocal of the number of nodes S using x 2 , f start = 0.05 (a). Grey area is zoomed in on the right (b). Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Figure 8. Relative error of the mole balance of the FVM, FDM version A and B and the FVM with the settings used in Selmer et al. 2019 [3] depending on the reciprocal of the number of nodes S using x 2 , f start = 0.05 (a). Grey area is zoomed in on the right (b). Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Gels 06 00045 g008
Figure 9. Relative error of the mole balance of the FVM with the settings used in Selmer et al. 2019 [3] depending on the dimensionless number K 1 m e a n . Drying conditions: P = 9–17 MPa, T = 315–326 K, R = 3.175 mm, gel porosity = 0.93, gel tortuosity = 3.48, x 2 , g start = 1, x 2 , g end = f(T), bed porosity = 0.4, volume packed bed = 1.514 × 10−4 m3, diameter packed bed = 2.1 × 10−2 m, x 2 , f start = 0.05. Calculation settings: N = 26, Δt = 0.1 s, S = 20.
Figure 9. Relative error of the mole balance of the FVM with the settings used in Selmer et al. 2019 [3] depending on the dimensionless number K 1 m e a n . Drying conditions: P = 9–17 MPa, T = 315–326 K, R = 3.175 mm, gel porosity = 0.93, gel tortuosity = 3.48, x 2 , g start = 1, x 2 , g end = f(T), bed porosity = 0.4, volume packed bed = 1.514 × 10−4 m3, diameter packed bed = 2.1 × 10−2 m, x 2 , f start = 0.05. Calculation settings: N = 26, Δt = 0.1 s, S = 20.
Gels 06 00045 g009
Figure 10. Condition numbers of A C F S k and A F D M k (version A and B) corresponding to the FVM, FDM version A and B and the FVM, with the settings used in Selmer et al. 2019 [3], using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels) depending on the drying time and the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Figure 10. Condition numbers of A C F S k and A F D M k (version A and B) corresponding to the FVM, FDM version A and B and the FVM, with the settings used in Selmer et al. 2019 [3], using x 2 , f start = 0.05 (left panels) and x 2 , f start = 0.95 (right panels) depending on the drying time and the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Gels 06 00045 g010
Figure 11. Maximum of the condition numbers of A C F S k and A F D M k (version A and B) corresponding to the FVM, FDM version A and B using x 2 , f start = 0.05 (left panel) and x 2 , f start = 0.95 (right panel) depending on the reciprocal of the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Figure 11. Maximum of the condition numbers of A C F S k and A F D M k (version A and B) corresponding to the FVM, FDM version A and B using x 2 , f start = 0.05 (left panel) and x 2 , f start = 0.95 (right panel) depending on the reciprocal of the number of nodes S. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B).
Gels 06 00045 g011
Figure 12. Computation times of the FVM, FDM version A and B and the FVM, with the settings used in Selmer et al. 2019 [3] as function of the reciprocal of the number of nodes S, using x 2 , f start = 0.05. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Figure 12. Computation times of the FVM, FDM version A and B and the FVM, with the settings used in Selmer et al. 2019 [3] as function of the reciprocal of the number of nodes S, using x 2 , f start = 0.05. Calculation settings: N = 26, SREF = 64, Δt = 0.05 s (for FVM, FDM version A and B), Δt = 0.1 s (for FVM Selmer et al. 2019 [3]), S = 20 (for FVM Selmer et al. 2019 [3]).
Gels 06 00045 g012
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Selmer, I.; Farrell, P.; Smirnova, I.; Gurikov, P. Comparison of Finite Difference and Finite Volume Simulations for a Sc-Drying Mass Transport Model. Gels 2020, 6, 45. https://doi.org/10.3390/gels6040045

AMA Style

Selmer I, Farrell P, Smirnova I, Gurikov P. Comparison of Finite Difference and Finite Volume Simulations for a Sc-Drying Mass Transport Model. Gels. 2020; 6(4):45. https://doi.org/10.3390/gels6040045

Chicago/Turabian Style

Selmer, Ilka, Patricio Farrell, Irina Smirnova, and Pavel Gurikov. 2020. "Comparison of Finite Difference and Finite Volume Simulations for a Sc-Drying Mass Transport Model" Gels 6, no. 4: 45. https://doi.org/10.3390/gels6040045

APA Style

Selmer, I., Farrell, P., Smirnova, I., & Gurikov, P. (2020). Comparison of Finite Difference and Finite Volume Simulations for a Sc-Drying Mass Transport Model. Gels, 6(4), 45. https://doi.org/10.3390/gels6040045

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop