A FEniCS-based programming framework for modeling turbulent flow by the Reynolds-averaged Navier-Stokes equations |
| |
Authors: | Mikael Mortensen Hans Petter Langtangen Garth N. Wells |
| |
Affiliation: | a Norwegian Defence Research Establishment, 2007 Kjeller, Norway b Center for Biomedical Computing, Simula Research Laboratory, P.O. Box 134, 1325 Lysaker, Norway c Department of Informatics, University of Oslo, P.O. Box 1080, Blindern, 0316 Oslo, Norway d Department of Engineering, University of Cambridge, Trumpington Street, Cambridge CB2 1PZ, United Kingdom |
| |
Abstract: | Finding an appropriate turbulence model for a given flow case usually calls for extensive experimentation with both models and numerical solution methods. This work presents the design and implementation of a flexible, programmable software framework for assisting with numerical experiments in computational turbulence. The framework targets Reynolds-averaged Navier-Stokes models, discretized by finite element methods. The novel implementation makes use of Python and the FEniCS package, the combination of which leads to compact and reusable code, where model- and solver-specific code resemble closely the mathematical formulation of equations and algorithms. The presented ideas and programming techniques are also applicable to other fields that involve systems of nonlinear partial differential equations. We demonstrate the framework in two applications and investigate the impact of various linearizations on the convergence properties of nonlinear solvers for a Reynolds-averaged Navier-Stokes model. |
| |
Keywords: | Turbulent flow RANS models Finite elements Python Object-oriented programming Problem solving environment |
本文献已被 ScienceDirect 等数据库收录! |
|