AMReX-Astro / Castro

Castro (Compressible Astrophysics): An adaptive mesh, astrophysical compressible (radiation-, magneto-) hydrodynamics simulation code for massively parallel CPU and GPU architectures.
http://amrex-astro.github.io/Castro
Other
304 stars 98 forks source link

2D spherical geometry #2927

Open zingale opened 4 months ago

zingale commented 4 months ago

We want to add 2D spherical geometry $(r, \theta)$ on the grid with axisymmetry in $\phi$.

The following tasks need to be done:

zhichen3 commented 4 months ago

I think also update mom_flux_has_p and related stuff

zhichen3 commented 2 months ago

also need to modify cfl_violation/timestep constraint since in spherical2d dy is just dtheta but we want physical length , so rdtheta, when checking and determining timestep