python-hydro / pyro2

A framework for hydrodynamics explorations and prototyping
https://python-hydro.github.io/pyro2
BSD 3-Clause "New" or "Revised" License
305 stars 124 forks source link

Fix transverse pres gradient for spherical geometry. #296

Open zhichen3 opened 2 days ago

zhichen3 commented 2 days ago

during calculation of the interface state, we should only apply pressure gradient to the momentum in the transverse direction since the normal direction momentum is already includes pressure term during reconstruction.