SoftwareX (Jul 2020)

Efficient WENO library for OpenFOAM

  • Jan Wilhelm Gärtner,
  • Andreas Kronenburg,
  • Tobias Martin

Journal volume & issue
Vol. 12
p. 100611

Abstract

Read online

The weighted essentially non oscillating (WENO) concept is well established in research and its advantages are known, however, implementation details such as memory demand hindered the usage for general applications and general purpose libraries for many open source CFD tools do not yet exist. This paper introduces a WENO library for OpenFOAM and describes an efficient implementation. The large memory demand of the scheme is solved be reusing already calculated stencil sets and storing them in a data bank, giving a possible memory reduction of over 90%. A new class is implemented to allow the reconstruction of the stencil list on highly decomposed meshes by reconstructing a regional mesh around each processor. This avoids accuracy deficiency and stability problems at the processor boundary. Lastly, the performance of the implemented scheme is demonstrated by a standard Taylor Green Vortex test case.

Keywords