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

09/20/2021
by   Pawan Negi, et al.
0

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. 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.

READ FULL TEXT

page 14

page 18

research
08/23/2022

How to train your solver: Verification of boundary conditions for smoothed particle hydrodynamics

The weakly compressible smoothed particle hydrodynamics (WCSPH) method h...
research
05/19/2022

CALIPSO: A Differentiable Solver for Trajectory Optimization with Conic and Complementarity Constraints

We present a new solver for non-convex trajectory optimization problems ...
research
05/12/2022

KiT-RT: An extendable framework for radiative transfer and therapy

In this paper we present KiT-RT (Kinetic Transport Solver for Radiation ...
research
07/27/2020

Intracranial hemodynamics simulations: An efficient and accurate immersed boundary scheme

Computational fluid dynamics (CFD) studies have been increasingly used f...
research
08/30/2023

Towards Robust Solvers for Nuclear Fusion Simulations Using JOREK: A Numerical Analysis Perspective

One of the most well-established codes for modeling non-linear Magnetohy...
research
01/31/2019

A nested Schur complement solver with mesh-independent convergence for the time domain photonics modeling

A nested Schur complement solver is proposed for iterative solution of l...
research
09/04/2021

The anatomy of Boris type solvers and large time-step plasma simulations

This work gives a Lie operator derivation of various Boris solvers via a...

Please sign up or login with your details

Forgot password? Click here to reset