-
- Downloads
Merge branch 'shadowswift_new' into 'master'
1D and 2D moving mesh algorithm I have added a new hydro scheme, `SHADOWFAX_SPH`, that uses a finite volume method on a moving mesh. The scheme is very similar to `GIZMO_SPH`, except that during the density loop an actual Voronoi cell is constructed for every particle, which is then used to get a volume to update the primitive quantities, and faces through which fluxes are exchanged. There are also some small changes in the way gradients are computed, and in the way the velocity of the particles is set. The Voronoi cell construction is completely different for 1D, 2D, and 3D, and currently only 1D and 2D have a stable implementation. 3D should compile, but does not produce reliable results (yet). However, I think it would be good to merge this in already, to prevent it from drifting too far apart from `master`. The current implementation is hydro only, but it should be very straightforward to add gravity, similarly to the way it is done in `GIZMO_SPH`. Below the results for the 2D Sod shock and Sedov blast test (the noise on the density is caused by the fact that the initial conditions contain mass and not density). The 2D Noh test crashes because of time stepping issues; I think we really need a time step limiter to make it work properly.   See merge request !321
No related branches found
No related tags found
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- configure.ac 4 additions, 1 deletionconfigure.ac
- src/Makefile.am 4 additions, 2 deletionssrc/Makefile.am
- src/const.h 17 additions, 0 deletionssrc/const.h
- src/debug.c 2 additions, 0 deletionssrc/debug.c
- src/hydro.h 5 additions, 0 deletionssrc/hydro.h
- src/hydro/Default/hydro.h 4 additions, 2 deletionssrc/hydro/Default/hydro.h
- src/hydro/Gadget2/hydro.h 4 additions, 2 deletionssrc/hydro/Gadget2/hydro.h
- src/hydro/Gizmo/hydro.h 3 additions, 1 deletionsrc/hydro/Gizmo/hydro.h
- src/hydro/Minimal/hydro.h 4 additions, 2 deletionssrc/hydro/Minimal/hydro.h
- src/hydro/PressureEntropy/hydro.h 4 additions, 2 deletionssrc/hydro/PressureEntropy/hydro.h
- src/hydro/Shadowswift/hydro.h 591 additions, 0 deletionssrc/hydro/Shadowswift/hydro.h
- src/hydro/Shadowswift/hydro_debug.h 69 additions, 0 deletionssrc/hydro/Shadowswift/hydro_debug.h
- src/hydro/Shadowswift/hydro_gradients.h 215 additions, 0 deletionssrc/hydro/Shadowswift/hydro_gradients.h
- src/hydro/Shadowswift/hydro_gradients_shadowfax.h 217 additions, 0 deletionssrc/hydro/Shadowswift/hydro_gradients_shadowfax.h
- src/hydro/Shadowswift/hydro_iact.h 365 additions, 0 deletionssrc/hydro/Shadowswift/hydro_iact.h
- src/hydro/Shadowswift/hydro_io.h 183 additions, 0 deletionssrc/hydro/Shadowswift/hydro_io.h
- src/hydro/Shadowswift/hydro_part.h 185 additions, 0 deletionssrc/hydro/Shadowswift/hydro_part.h
- src/hydro/Shadowswift/hydro_slope_limiters.h 94 additions, 0 deletionssrc/hydro/Shadowswift/hydro_slope_limiters.h
- src/hydro/Shadowswift/hydro_slope_limiters_cell.h 141 additions, 0 deletionssrc/hydro/Shadowswift/hydro_slope_limiters_cell.h
Loading
Please register or sign in to comment