Skip to content

Pressureless SPH model

Valentin Carlier requested to merge pressureless_sph into devel

Todo:

  • Implement evaluation functions in the HydroParticles class.
  • Use this function to be able to recover the approximation of the fields in the postprocessing.
  • Setup simple tests to check that everything works fine.
  • Use the box structure to have optimized evaluation.
  • Use the physical coordinates in evaluation?
  • Make it work in parallel

Solves the following issue(s):

Closes #...

Core changes:

New Particle class HydroParticles (mostly copy paste from Particles6D) at the moment, just changes the computation of s_vol since it should not depend on the velocity (distribution is degenerate in v space).

New background sph_backgrounds used to set up sph scenarios where the velocity should be set as a function of the position (but not as a Maxwellian.

Added the possibility to pass moments: degenerate to the loading of the particles. In this case the velocity will be initialized as a function of the position without any randomness.

Model-specific changes:

New toy model PressurlessSPH : first try to sph models, this one is particulary trivial since particles are just going in straight lines without any interaction.

Documentation changes:

None

Edited by Valentin Carlier

Merge request reports

Loading