(413c) A Generalized Flow-Alignment-Method for Compartmental Modeling | AIChE

(413c) A Generalized Flow-Alignment-Method for Compartmental Modeling

Authors 

Abukhdeir, N. M., University of Waterloo
Budman, H. M., University of Waterloo
Aucoin, M. G., University of Waterloo
Many important chemical engineering processes involve complex multiphase multiphysics systems. For example, stirred tank reactors (STR) commonly used in the pharmaceutical industry, involve three phase (liquid, gas, and micro-organisms) turbulent flow with interphase mass transport coupled with multiple non-linear metabolic reactions. Accounting for this complexity, and the length and time scale requirements of the simulation, is computationally intractable for applications such as the optimization of design and control. One way to address this issue, when there is some knowledge of the flow conditions a priori, is the use of a reduced-order modeling method called compartmental modeling. The two key components of this method are (i) decomposing the domain into compartments (compartmentalization) and (ii) deriving a simplified model for each compartment (compartment modeling). While many compartmental modeling methods exist, especially for STR and continuous STR (CSTR) units, very few of these use a model for each compartment that is based on the characteristics of the compartment. In other words, the criteria used to generate a compartment does not influence the model for that compartment, which is almost always an ideal CSTR. In this work, we (i) show that the mismatch between compartmentalization and compartment model has a negative impact on the accuracy of the compartmental model and (ii) develop a generalized flow-alignment based method addressing this shortcoming.

The proposed compartmental model method is informed by single-phase multi-component computational fluid dynamics (CFD) simulations, which also act as the reference solutions for validation. The CFD simulations are performed using a discontinuous Galerkin finite element method solver for the incompressible multicomponent Navier-Stokes equations, as implemented in OpenCMP, which enables a common software interface (Python) between the CFD solver and the reference implementation of the compartmental model. Steady-state velocity fields from the CFD simulations are used to generate compartments and intercompartmental flows. The compartmentalization paradigm used is flow-alignment based, where the average flow direction in each mesh element is used to group it with its neighbours using a local alignment measure such that each compartment contains a set of connected mesh elements that are well described by a unidirectional flow model.A post-processing step is performed, merging any connected compartments below a user-specified size threshold to provide further reduction in the computational complexity. Then, the overall model for each compartment is derived as a series of plug-flow reactors (PFRs) with inlets/outlets connected to other compartments and/or computational domain inlets/outlets. Multiple inlets/outlets to a compartment, i.e. side flows, are modelled by adding more PFRs in series to a compartment, which each new PFR being added at the location of a side flow. The resulting PFR network model is solved numerically using finite difference-based spatial discretization, using an upwinding scheme for stability.

The presented compartmental model method is validated using two different geometries, a simple channel with partial recirculation, and a complex microfluidic static mixer for which experimental performance results are available. Additionally, the performance of the PFR-based compartment model is compared to more traditional compartment models based on CSTRs. Two CSTR-based models are tested, one using a single CSTR for each compartment and another which uses CSTRs in series. The resulting model was numerically solved using high-order implicit time integration with adaptive time-stepping. The three variations of compartment models are validated against reference CFD simulations and, for the microfluidic static mixer, against available experimental results. Validation is performed through quantitative comparisons of the residence time distributions of an injected tracer. It was found that the choice of model (PFR, CSTR, or series of CSTRs) for each compartment has a significant impact on the resulting accuracy of the predicted residence time distribution. The use of PFRs as compartment models, which in congruous with the compartmentalization criteria, resulted in the prediction of residence time distributions that are quantitatively most similar to that of the reference CFD simulations and experimentation. Furthermore, using a network of CSTRs to approximate compartments was found to be more accurate that using a single CSTR, but less accurate than the PFR-based model.

There are several notable results found in this work. First, it is shown quantitatively that the criteria for compartmentalization and the corresponding compartment model should be congruous, which does not always support the use of CSTR compartment approximations. Second, a generalized flow-alignment-based method for compartmental modeling is presented, validated, and compared to traditional compartment approximation methods. Finally, the presented method is found to be more accurate than CSTR-type compartment approximations with respect to predicted residence time distributions of an injected tracer. These results support further development of flow-alignment based compartmentalization methods and higher-dimensional compartment models.