Draft: Blank functions for MHD support
Changes:
- Moved the signal velocity calculation to a new file that is SPH-scheme independant. There are two versions in there, one for MHD runs, one for non-MHD runs
- Added the
mhd
directory for the scheme specific things. In there there is onlyNone
scheme for now, i.e. no-MHD runs - Added all the empty functions for the loops over neighbours
- Added all the empty functions for the things done in-between loops (drift, kick, reset...)
- Added a small structure that is carried by the particles to contain the MHD fields.
Todo:
-
Deal with the case where the MHD wants three loops but the hydro only needs two... -
Deal with Gasoline signal velocity -
Prevent MHD + Gizmo -
Unit tests -
Cleanly deal with mu_0 -
Cleanly deal with stats -
Cleanly deal with div v -
Work out units of B^2 PS. -
Deal with 0 ngbs in FDI and VP.
Edited by Matthieu Schaller
Merge request reports
Activity
added SPH enhancement labels
@fastasyszyn @okarapiperis @bvandenbroucke we can list technical issues here.
I'd recommend creating a branch off of this branch to add your own schemes. And then merge regularly this branch into yours.
added 1 commit
- af5ba8f2 - Added the particle-carried MHD structure to the other relevant hydro schemes
@okarapiperis I have now added a "direct induction" flavour of MHD.
To compile, do:
./configure --with-mhd=direct-induction
All the files needing to edit are in
src/mhd/DirectInduction
.added 1 commit
- 1f72eb7b - blid vesion of mhd flavors: Base Direct Indution and Vector Potentials
added 3 commits
- 594b39fd - Rename the configuration option --with-mhd to --with-spmhd
- cb3a1ac1 - Better name for the two SPMHD schemes managed by @fastasyszyn
- 19e40b90 - Prevent users from running a gizmo hydro scheme alongside an SPMHD scheme
added 1 commit
- 6cd407db - Add the distance vector as an argument to the signal velocity calculation function
added 15 commits
- b4d1e9fd - first commit of the branch, and rought idea of MU0
- 104106ad - IO & particle definitions
- 2fc64c9c - Bug fix Returned fields form IO functions
- 6df0db48 - Non working version of Direct Induction
- 200420c0 - Missing call to MHD function in the naive PAIR1
- aab35f9a - Add the new mhd calls to the symmetry test
- 2f065e57 - Add empty debugging function printing out the particle fields to the 'none'...
- e15ac7f0 - Add debugging function to the other two MHD schemes
- 676bf69a - Merge branch 'MHD_canvas' into 'MHD_FS'
- 392394e2 - Formatting
- 4609f46d - DX into signal velocity && clang-format-10
- 2a791563 - format
- 912242a8 - Formatted and debugged version
- fa3cbbf7 - DI working version
- f01c5499 - Merge branch 'MHD_FS' into 'MHD_canvas'
Toggle commit list
Please register or sign in to reply