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 implementing 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. We provide the documented and validated solver publicly.
翻译:我们为非平衡气体动态的线性 R13 方程式提供了一个混合的有限元素解析器。 Python 实施基于FENICS计算平台提供的软件工具。我们描述了一种利用FENICS统一格式语言(UFL)的扩展能力界定二度以上数度所需不同操作器的新的极端方法。展示的解析器作为在FEniCS中实施极端变异配方的范例,其文档和文献似乎非常稀少。使用UFL提供的软件抽象化水平可以使基本数学与源代码之间几乎一对一的对一对应。测试案例支持使用精确解决方案验证的拟议方法的正确性。为证明使用扩展气流模型的理由,我们讨论涉及稀释效应的典型应用案例。我们公开提供有记录且经过验证的解析器。