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
Activity
requested review from @fastasyszyn
assigned to @matthieu
added MHD label
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
Am I right in seeing that the two changes to the parameters are reverting the values to what they are in master?
- 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 tov_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.
@fastasyszyn do we want the same change in FDI?
Please register or sign in to reply