-
- Downloads
First iteration of the "improved SPH" implementation. The code now uses a...
First iteration of the "improved SPH" implementation. The code now uses a (Rosswog et al, 2000) viscosity term with a (Balsara , 1995) switch and the parameters given by (Price, 2004). Thermal conductivity is implemented following (Price, 2008) without the switch. Both scalar and vectorized versions have been implemented. The code now gives a much better answer on the Sod shock. More testing will be required on more advanced tests to tune the parameters. When "LEGACY_GADGET2_SPH" is defined, the code defaults to the old gadget-2 version of SPH. Former-commit-id: 840aa8ecfea0a60816f64b8e5818162f2f9006d2
Showing
- src/const.h 13 additions, 2 deletionssrc/const.h
- src/engine.c 7 additions, 1 deletionsrc/engine.c
- src/io.c 15 additions, 0 deletionssrc/io.c
- src/part.h 6 additions, 1 deletionsrc/part.h
- src/runner.c 36 additions, 12 deletionssrc/runner.c
- src/runner_iact.h 80 additions, 16 deletionssrc/runner_iact.h
- src/runner_iact_legacy.h 802 additions, 0 deletionssrc/runner_iact_legacy.h
- src/swift.h 6 additions, 1 deletionsrc/swift.h
- src/vector.h 3 additions, 1 deletionsrc/vector.h
Loading
Please register or sign in to comment