In this contribution, an open-source computational toolbox composed of FEniCS and complementary packages is introduced to the chemical and process engineering field by addressing two case studies. First, the oxidation of o-xylene to phthalic anhydride is modelled and used as a FEniCS′ proof-of-concept based on a comparison with the software Aspen Custom Modeler (ACM). The results show a maximum absolute error of 2% and thus a good FEniCS/ACM agreement. Second, synthetic natural gas (SNG) production through CO2 methanation is covered in further detail. In this instance, a parametric study is performed for a tube bundle fixed-bed reactor employing a two-dimensional and transient pseudo-homogeneous model. An operating window for critical variables is evaluated, discussed, and successfully contrasted with the literature. Therefore, the computational toolbox methodology and the consistency of the results are validated, strengthening FEniCS and complements as an interesting alternative to solve mathematical models concerning chemical reaction engineering.
Read full abstract