diff --git a/examples/CoolingBox/coolingBox.yml b/examples/CoolingBox/coolingBox.yml index e13de6095066836853d9e9068330938f6260f38e..e56f41ab4aa2708ed52e30daa02568b7bb9923cb 100644 --- a/examples/CoolingBox/coolingBox.yml +++ b/examples/CoolingBox/coolingBox.yml @@ -1,7 +1,7 @@ # Define the system of units to use internally. InternalUnitSystem: UnitMass_in_cgs: 2.0e33 # Solar masses - UnitLength_in_cgs: 3.01e21 # Kilparsecs + UnitLength_in_cgs: 3.0857e21 # Kiloparsecs UnitVelocity_in_cgs: 1.0e5 # Time unit is cooling time UnitCurrent_in_cgs: 1 # Amperes UnitTemp_in_cgs: 1 # Kelvin @@ -9,7 +9,7 @@ InternalUnitSystem: # Parameters governing the time integration TimeIntegration: time_begin: 0. # The starting time of the simulation (in internal units). - time_end: 1.0 # The end time of the simulation (in internal units). + time_end: 1. # The end time of the simulation (in internal units). dt_min: 1e-6 # The minimal time-step size of the simulation (in internal units). dt_max: 1e-2 # The maximal time-step size of the simulation (in internal units). diff --git a/examples/CoolingBox/makeIC.py b/examples/CoolingBox/makeIC.py index f35c9243d4fa71f872fd27520de14a23073c4b9d..00314d3ea0e98cb49fe5b7c112619b1ebc6acdea 100644 --- a/examples/CoolingBox/makeIC.py +++ b/examples/CoolingBox/makeIC.py @@ -63,9 +63,9 @@ grp.attrs["PeriodicBoundariesOn"] = periodic #Units grp = file.create_group("/Units") -grp.attrs["Unit length in cgs (U_L)"] = 3.08e21 +grp.attrs["Unit length in cgs (U_L)"] = 3.0857e21 grp.attrs["Unit mass in cgs (U_M)"] = 2.0e33 -grp.attrs["Unit time in cgs (U_t)"] = 3.08e16 +grp.attrs["Unit time in cgs (U_t)"] = 3.0857e16 grp.attrs["Unit current in cgs (U_I)"] = 1. grp.attrs["Unit temperature in cgs (U_T)"] = 1.