English

A FEniCS-Based Programming Framework for Modeling Turbulent Flow by the Reynolds-Averaged Navier-Stokes Equations

Computational Engineering, Finance, and Science 2011-07-21 v2 Computational Physics Fluid Dynamics

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

Cite

@article{arxiv.1102.2933,
  title  = {A FEniCS-Based Programming Framework for Modeling Turbulent Flow by the Reynolds-Averaged Navier-Stokes Equations},
  author = {Mikael Mortensen and Hans Petter Langtangen and Garth N. Wells},
  journal= {arXiv preprint arXiv:1102.2933},
  year   = {2011}
}

Comments

To appear in Advances in Water Resources

R2 v1 2026-06-21T17:26:13.648Z