How to train your solver: A method of manufactured solutions for weakly-compressible SPH

Pawan Negi, Prabhu Ramachandran
9/20/2021
physics.flu-dynmath.NAphysics.comp-ph

No confident code implementation found for this paper.

Abstract

The Weakly-Compressible Smoothed Particle Hydrodynamics (WCSPH) method is a Lagrangian method that is typically used for the simulation of incompressible fluids. While developing an SPH-based scheme or solver, researchers often verify their code with exact solutions, solutions from other numerical techniques, or experimental data.

Show full abstract

This typically requires a significant amount of computational effort and does not test the full capabilities of the solver. Furthermore, often this does not yield insights on the convergence of the solver. In this paper we introduce the method of manufactured solutions (MMS) to comprehensively test a WCSPH-based solver in a robust and efficient manner. The MMS is well established in the context of mesh-based numerical solvers. We show how the method can be applied in the context of Lagrangian WCSPH solvers to test the convergence and accuracy of the solver in two and three dimensions, systematically identify any problems with the solver, and test the boundary conditions in an efficient way. We demonstrate this for both a traditional WCSPH scheme as well as for some recently proposed second order convergent WCSPH schemes. Our code is open source and the results of the manuscript are reproducible.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{negi2021train,
  title  = {How to train your solver: A method of manufactured solutions for weakly-compressible SPH},
  author = {Pawan Negi and Prabhu Ramachandran},
  year   = {2021},
  eprint = {2109.09697},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.09697}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.09697.svg)](https://codeofpaper.com/paper/2109.09697)

Discussion