Refactor GRHD project (!101)
* update examples once more * remove comments * cleanup: remove codegen for now * IntegartionTests: add grhd_tov_spherical1d ref test * IntegrationTests: remove reltol from grhd_bondi_accretion test * spherical1d: fix missing shift from maxspeed computation * cleanup * make spherical1d formulation work when r=0 is included by removing potential nans in source terms by enforcing symmetry * make impose_symmetry! dispatch on project * add tov example that runs with spherical1d formulation * wip: change maxspeed implementation for tov star initial data * cons2prim: use non-zero values for rho, eps thresholds * fix: set atm density in bondi_accretion initial data * implement tov initial data for spherical1d formulation * add formulation parameter * implement rhs for FVElement and rescaled_spherical1d * implement equations for FVElement and rescaled_spherical1d * mesh: implement differentiate for FVElement * add grhd example par files * update notebooks * fix missing lapse factor in source terms * fix typos * fixup initialdata setup * derivative computation needs jacobi * rename cons2prim routines * add atmosphering to cons2prim * implement rhs! for rescaled_spherical1d formulation * specialize timespeed computation based on equations * add specialized equations for the rescaled GRHD version * implement initialdata setup for tov case * spherical accretion:make sure K, Gamma agree with loaded data * expose spectral differentiation * wrap SphericalAccretion solver into module; recompute bondi_accretion.h5 with less radial points * refactor TOV solver to use OrdinaryDiffEq * initialdata: cleanup dir * add bondi accretion as ref test * fix up loading of id file * fv_rhs: implement fv_update_step! with source term * add ROOTDIR const global so that parfiles can specify paths relative to project root * update SphericalAccretion.jl * update sympy nb * cleanup initialdata setup * equations: fix up Tmunu computation * Revert "fix source term in dg and fv rhs computation" This reverts commit 161cc034. * Replace Interpolations.jl with BasicInterpolators.jl * equation: add missing flux terms to sources; use outflow bdry condition on inner radius * comments in cons2prim * implement momentum constraint for debugging * test SphericalAccretion - copy Bugner's C version of the solver - compare my results with Bugner's -- good agreement - compare against literature results (Papadopoulos 1998,1999) -- discrepancy in sign of vr, ur, otherwise good agreement * SphericalAccretion: fix wrong definition of uc^r and Vc * tweak impl more * fix source term in dg and fv rhs computation * fix equations and implement fv method * equations: combine flux and source computation * math: update spherical_accretion notebook * SRHD: export module * re-implemented GRHD eqs with a non-zero shift * initialdata: add grhd_source.codegen.jl that was generated with TensorComponents.jl * deps: need Interpolations.jl for initial data setup * update math/spherical_accretion.py * update setup * start initialdata setup for bondi problem * rework rhs.jl * update deps and parameters * update type defs * initialdata: add HDF5 dep; write h5 output for SphericalAccretion.jl * rename cons2prim.jl * remove unused files
parent
1af0f553
No related branches found
No related tags found
Showing
- Manifest.toml 13 additions, 1 deletionManifest.toml
- Project.toml 4 additions, 3 deletionsProject.toml
- examples/grhd_bondi/dg.toml 28 additions, 0 deletionsexamples/grhd_bondi/dg.toml
- examples/grhd_bondi/fv.toml 25 additions, 0 deletionsexamples/grhd_bondi/fv.toml
- examples/grhd_tov/dg.toml 35 additions, 0 deletionsexamples/grhd_tov/dg.toml
- examples/grhd_tov/dg_spherical1d.toml 36 additions, 0 deletionsexamples/grhd_tov/dg_spherical1d.toml
- initialdata/.gitignore 2 additions, 0 deletionsinitialdata/.gitignore
- initialdata/Makefile 5 additions, 0 deletionsinitialdata/Makefile
- initialdata/Manifest.toml 2181 additions, 0 deletionsinitialdata/Manifest.toml
- initialdata/Project.toml 5 additions, 3 deletionsinitialdata/Project.toml
- initialdata/SphericalAccretion.c 95 additions, 0 deletionsinitialdata/SphericalAccretion.c
- initialdata/SphericalAccretion.jl 272 additions, 42 deletionsinitialdata/SphericalAccretion.jl
- initialdata/TOV.jl 113 additions, 149 deletionsinitialdata/TOV.jl
- initialdata/TOV_stable.h5 0 additions, 0 deletionsinitialdata/TOV_stable.h5
- initialdata/TOV_unstable.h5 0 additions, 0 deletionsinitialdata/TOV_unstable.h5
- initialdata/bondi-acc_papadopoulos1998_p.png 0 additions, 0 deletionsinitialdata/bondi-acc_papadopoulos1998_p.png
- initialdata/bondi-acc_papadopoulos1998_rho.png 0 additions, 0 deletionsinitialdata/bondi-acc_papadopoulos1998_rho.png
- initialdata/bondi-acc_papadopoulos1998_v.png 0 additions, 0 deletionsinitialdata/bondi-acc_papadopoulos1998_v.png
- initialdata/bondi-acc_papadopoulos1999_eps.png 0 additions, 0 deletionsinitialdata/bondi-acc_papadopoulos1999_eps.png
- initialdata/bondi-acc_papadopoulos1999_rho.png 0 additions, 0 deletionsinitialdata/bondi-acc_papadopoulos1999_rho.png
Loading
Please register or sign in to comment