From e7058d02a83557b95a01d2e879c411a4953a8b57 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Wed, 16 Dec 2020 23:27:32 +0100 Subject: [PATCH] Set the minimal smoothing length of SPH particles to 0.01 of the comoving softening lengths in all the XL parameter files --- examples/EAGLE_ICs/EAGLE_100/eagle_100.yml | 2 +- examples/EAGLE_ICs/EAGLE_12/eagle_12.yml | 2 +- examples/EAGLE_ICs/EAGLE_25/eagle_25.yml | 2 +- examples/EAGLE_ICs/EAGLE_25_low_res/eagle_25.yml | 2 +- examples/EAGLE_ICs/EAGLE_50/eagle_50.yml | 2 +- examples/EAGLE_ICs/EAGLE_50_low_res/eagle_50.yml | 2 +- examples/EAGLE_ICs/EAGLE_6/eagle_6.yml | 2 +- examples/EAGLE_ICs/README | 2 ++ 8 files changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml b/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml index 446447972f..c0180fd68b 100644 --- a/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml +++ b/examples/EAGLE_ICs/EAGLE_100/eagle_100.yml @@ -50,7 +50,7 @@ Gravity: # Parameters for the hydrodynamics scheme SPH: resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). - h_min_ratio: 0.1 # Minimal smoothing length in units of softening. + h_min_ratio: 0.01 # Minimal smoothing length in units of softening. h_max: 0.5 # Maximal smoothing length in co-moving internal units. CFL_condition: 0.2 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100.0 # (internal units) diff --git a/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml b/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml index 4ed5dc838f..876abc4358 100644 --- a/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml +++ b/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml @@ -50,7 +50,7 @@ Gravity: # Parameters for the hydrodynamics scheme SPH: resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). - h_min_ratio: 0.1 # Minimal smoothing length in units of softening. + h_min_ratio: 0.01 # Minimal smoothing length in units of softening. h_max: 0.5 # Maximal smoothing length in co-moving internal units. CFL_condition: 0.2 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100.0 # (internal units) diff --git a/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml b/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml index 926f64b207..74f16e9441 100644 --- a/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml +++ b/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml @@ -50,7 +50,7 @@ Gravity: # Parameters for the hydrodynamics scheme SPH: resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). - h_min_ratio: 0.1 # Minimal smoothing length in units of softening. + h_min_ratio: 0.01 # Minimal smoothing length in units of softening. h_max: 0.5 # Maximal smoothing length in co-moving internal units. CFL_condition: 0.2 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100.0 # (internal units) diff --git a/examples/EAGLE_ICs/EAGLE_25_low_res/eagle_25.yml b/examples/EAGLE_ICs/EAGLE_25_low_res/eagle_25.yml index ecddfa2d04..fe0ab84594 100644 --- a/examples/EAGLE_ICs/EAGLE_25_low_res/eagle_25.yml +++ b/examples/EAGLE_ICs/EAGLE_25_low_res/eagle_25.yml @@ -50,7 +50,7 @@ Gravity: # Parameters for the hydrodynamics scheme SPH: resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). - h_min_ratio: 0.1 # Minimal smoothing length in units of softening. + h_min_ratio: 0.01 # Minimal smoothing length in units of softening. h_max: 0.5 # Maximal smoothing length in co-moving internal units. CFL_condition: 0.2 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100.0 # (internal units) diff --git a/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml b/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml index bf8f2229b6..6c7dea4d27 100644 --- a/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml +++ b/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml @@ -50,7 +50,7 @@ Gravity: # Parameters for the hydrodynamics scheme SPH: resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). - h_min_ratio: 0.1 # Minimal smoothing length in units of softening. + h_min_ratio: 0.01 # Minimal smoothing length in units of softening. h_max: 0.5 # Maximal smoothing length in co-moving internal units. CFL_condition: 0.2 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100.0 # (internal units) diff --git a/examples/EAGLE_ICs/EAGLE_50_low_res/eagle_50.yml b/examples/EAGLE_ICs/EAGLE_50_low_res/eagle_50.yml index cc1b13b968..066529edfa 100644 --- a/examples/EAGLE_ICs/EAGLE_50_low_res/eagle_50.yml +++ b/examples/EAGLE_ICs/EAGLE_50_low_res/eagle_50.yml @@ -50,7 +50,7 @@ Gravity: # Parameters for the hydrodynamics scheme SPH: resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). - h_min_ratio: 0.1 # Minimal smoothing length in units of softening. + h_min_ratio: 0.01 # Minimal smoothing length in units of softening. h_max: 0.5 # Maximal smoothing length in co-moving internal units. CFL_condition: 0.2 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100.0 # (internal units) diff --git a/examples/EAGLE_ICs/EAGLE_6/eagle_6.yml b/examples/EAGLE_ICs/EAGLE_6/eagle_6.yml index 7dd7cb43db..97715ae389 100644 --- a/examples/EAGLE_ICs/EAGLE_6/eagle_6.yml +++ b/examples/EAGLE_ICs/EAGLE_6/eagle_6.yml @@ -50,7 +50,7 @@ Gravity: # Parameters for the hydrodynamics scheme SPH: resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). - h_min_ratio: 0.1 # Minimal smoothing length in units of softening. + h_min_ratio: 0.01 # Minimal smoothing length in units of softening. h_max: 0.5 # Maximal smoothing length in co-moving internal units. CFL_condition: 0.2 # Courant-Friedrich-Levy condition for time integration. minimal_temperature: 100.0 # (internal units) diff --git a/examples/EAGLE_ICs/README b/examples/EAGLE_ICs/README index 1d12e9422a..b0b07cc7bf 100644 --- a/examples/EAGLE_ICs/README +++ b/examples/EAGLE_ICs/README @@ -21,6 +21,8 @@ the following changes have been made (at standard resolution): been changed to 1.79 ckpc. This follows the recommendations of Ludlow et al. 2019. Old values were 0.7 pkpc and 2.69 ckpc for all the particle species. + - The minimal smoothing length of SPH particles has been reduced + to 0.01 of the softening length (was 0.1). - SPH particles reaching a mass larger than 7*10^6 Msun (~4x the initial gas particle mass) are now split into 2 equal mass particles within the smoothing length of the original particle. -- GitLab