We present a mixed finite element solver for the linearized R13 equations of non-equilibrium gas dynamics. The Python implementation builds upon the software tools provided by the FEniCS computing platform. We describe a new tensorial approach utilizing the extension capabilities of FEniCS's Unified Form Language (UFL) to define required differential operators for tensors above second degree. The presented solver serves as an example for the implementation of tensorial variational formulations in FEniCS, for which the documentation and literature seem to be very sparse. Using the software abstraction levels provided by the UFL allows an almost one-to-one correspondence between the underlying mathematics and the resulting source code. Test cases support the correctness of the proposed method using validation with exact solutions. To justify the usage of extended gas flow models, we discuss typical application cases involving rarefaction effects. The documented and validated solver is provided publicly.
翻译:我们为非平衡气体动态的线性 R13 方程式提供了一个混合的有限元素解析器。 Python 实施基于FENICS计算平台提供的软件工具。我们描述了一种利用FENICS统一格式语言(UFL)的扩展能力来界定二度以上数度所要求的不同操作器的新的极端方法。展示的解析器作为在FENICS中实施压力变异配方的范例,其文件和文献似乎非常稀少。使用UFL提供的软件抽象化水平,使得基础数学与源代码之间几乎一对一的对应。测试案例支持使用精确解决方案来验证拟议方法的正确性。为了证明使用扩展气体流模型的理由,我们讨论了涉及稀释效应的典型应用案例。有记录并经过验证的解析器被公开提供。