HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
The following are some examples that use explicit, implicit or semi-implicit (IMEX) time integration methods implemented in PETSc (https://petsc.org/release/). To run them, HyPar needs to be compiled with PETSc. Familiarity with using PETSc is assumed.
Note:
/path/to/hypar/bin/HyPar -use-petscts -ts_type rk -ts_rk_type 4 ...
1D Linear Advection - Sine Wave
1D Linear Advection - Discontinuous Waves (with local truncation error-based adaptive time-step)
1D Linear Diffusion - Sine Wave
2D Linear Diffusion - Sine Wave (with local truncation error-based adaptive time-step)
2D Euler Equations - Isentropic Vortex Convection
2D Navier-Stokes Equations - Lid-Driven Square Cavity (with local truncation error-based adaptive time-step)
2D Navier-Stokes Equations - Laminar Flow over Flat Plate
2D Euler Equations - Low-Mach Isentropic Vortex Convection
2D Euler Equations (with gravitational force) - Inertia-Gravity Waves
2D Euler Equations (with gravitational force) - Rising Thermal Bubble (with local truncation error-based adaptive time-step)
2D Navier-Stokes Equations - Lid-Driven Square Cavity
3D Navier-Stokes Equations - Rising Thermal Bubble