Skip to content
Snippets Groups Projects

Draft: Magnetosonic speed in timescale used in updating the viscosity alphas

1 unresolved thread

Also changed hydro parameters to what works best for me in the shock tubes, and is consistent with the value suggested for hydro. Let me know what you think.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
840 841 cosmo->a_factor_sound_speed;
841 842
842 843 const float sound_crossing_time_inverse =
843 soundspeed_physical * kernel_support_physical_inv;
844 mhd_get_magnetosonic_speed(p,1.0f,1.0f) * kernel_support_physical_inv;
    • Resolved by Matthieu Schaller

      Thanks for sharing the changes. I think the cleanest way will be to create a function like get_velocity_for_viscosity() and that will either default to v_sig when no MHD and to magnetosnoic speed when running MHD.

      Same as we do for the sig_vel.

      Let's not do that for now. We first want to see whether everything works before starting larger engineering works.

  • I'll wait until we have worked out the scale-factors before merging as I don't want to break the cosmo runs.

  • Todo:

    • Show what the cosmology terms should be.
    • (Matthieu:) Once terms are known, sort out the function to work with all hydro schemes.
  • Any updates on the above?

  • idem, what happened with this? My guess is that anything that works better in the Hydro will be good for all schemes.... so If is tested and OK, please merge

  • Any updates on the above?

  • Matthieu Schaller marked this merge request as draft

    marked this merge request as draft

  • What about this branch? Since we are talking about time integration... Do we care?

  • Closing as no activity.

  • Please register or sign in to reply
    Loading