From c85d503d0b35c5a3d81e4d1f22f90bb40d35d43e Mon Sep 17 00:00:00 2001 From: nickishch <nickishch@gmail.com> Date: Fri, 9 May 2025 20:52:54 +0200 Subject: [PATCH] added just enough gas for a galaxy to reach mass saturation --- examples/MHDTests/CoolingHaloWithSpin_MHD/makeIC.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/MHDTests/CoolingHaloWithSpin_MHD/makeIC.py b/examples/MHDTests/CoolingHaloWithSpin_MHD/makeIC.py index c923100857..af63329d0a 100644 --- a/examples/MHDTests/CoolingHaloWithSpin_MHD/makeIC.py +++ b/examples/MHDTests/CoolingHaloWithSpin_MHD/makeIC.py @@ -196,10 +196,10 @@ coords -= 0.5 # cut a sphere r_uni = np.linalg.norm(coords, axis=1) coords = coords[r_uni <= 0.5] -coords *= boxSize/5 #boxSize * np.sqrt(3) +coords *= boxSize/3 #boxSize * np.sqrt(3) # calculate max distance from the center (units of r_200) -R_max = boxSize/10 #boxSize/2 #np.sqrt(3) * (boxSize / 2) +R_max = boxSize/6 #boxSize/2 #np.sqrt(3) * (boxSize / 2) r_s = 1 / c_200 # calculate distances to the center r_uni = np.linalg.norm(coords, axis=1) -- GitLab