Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
SWIFTsim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
70
Issues
70
List
Boards
Labels
Milestones
Merge Requests
14
Merge Requests
14
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SWIFT
SWIFTsim
Commits
389d10d8
Commit
389d10d8
authored
Mar 23, 2020
by
Loic Hausammann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove DwarfGalaxy example
parent
1ade4f13
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
118 deletions
+0
-118
examples/GEAR/DwarfGalaxy/README
examples/GEAR/DwarfGalaxy/README
+0
-7
examples/GEAR/DwarfGalaxy/dwarf_galaxy.yml
examples/GEAR/DwarfGalaxy/dwarf_galaxy.yml
+0
-98
examples/GEAR/DwarfGalaxy/getIC.sh
examples/GEAR/DwarfGalaxy/getIC.sh
+0
-2
examples/GEAR/DwarfGalaxy/run.sh
examples/GEAR/DwarfGalaxy/run.sh
+0
-11
No files found.
examples/GEAR/DwarfGalaxy/README
deleted
100644 → 0
View file @
1ade4f13
This example is a galaxy extracted from the example "ZoomIn". It allows
to test SWIFT on a smaller problem. See the README in "ZoomIn" for more
information.
MD5 check-sum of the ICS:
ae2af84d88f30011b6a8af3f37d140cf dwarf_galaxy.hdf5
\ No newline at end of file
examples/GEAR/DwarfGalaxy/dwarf_galaxy.yml
deleted
100644 → 0
View file @
1ade4f13
# Define the system of units to use internally.
InternalUnitSystem
:
UnitMass_in_cgs
:
1.98848e43
# 10^10 M_sun in grams
UnitLength_in_cgs
:
3.08567758e21
# kpc in centimeters
UnitVelocity_in_cgs
:
1e5
# km/s in centimeters per second
UnitCurrent_in_cgs
:
1
# Amperes
UnitTemp_in_cgs
:
1
# Kelvin
# Structure finding options
StructureFinding
:
config_file_name
:
stf_input.cfg
# Name of the STF config file.
basename
:
./stf
# Common part of the name of output files.
scale_factor_first
:
0.92
# Scale-factor of the first snaphot (cosmological run)
time_first
:
0.01
# Time of the first structure finding output (in internal units).
delta_time
:
1.10
# Time difference between consecutive structure finding outputs (in internal units) in simulation time intervals.
# Cosmological parameters
Cosmology
:
h
:
0.673
# Reduced Hubble constant
a_begin
:
0.9873046739
# Initial scale-factor of the simulation
a_end
:
1.0
# Final scale factor of the simulation
Omega_m
:
0.315
# Matter density parameter
Omega_lambda
:
0.685
# Dark-energy density parameter
Omega_b
:
0.0486
# Baryon density parameter
Scheduler
:
max_top_level_cells
:
8
cell_split_size
:
400
# (Optional) Maximal number of particles per cell (this is the default value).
# Parameters governing the time integration
TimeIntegration
:
time_begin
:
0.
# The starting time of the simulation (in internal units).
time_end
:
1.
# The end time of the simulation (in internal units).
dt_min
:
1e-10
# The minimal time-step size of the simulation (in internal units).
dt_max
:
1e-5
# The maximal time-step size of the simulation (in internal units).
# Parameters governing the snapshots
Snapshots
:
basename
:
dwarf_galaxy
# Common part of the name of output files
time_first
:
0.
# Time of the first output (non-cosmological run) (in internal units)
delta_time
:
0.02
# Time difference between consecutive outputs (in internal units)
compression
:
1
# Parameters governing the conserved quantities statistics
Statistics
:
scale_factor_first
:
0.987345
# Scale-factor of the first stat dump (cosmological run)
time_first
:
0.01
# Time of the first stat dump (non-cosmological run) (in internal units)
delta_time
:
1.05
# Time between statistics output
# Parameters for the self-gravity scheme
Gravity
:
eta
:
0.025
# Constant dimensionless multiplier for time integration.
theta
:
0.7
# Opening angle (Multipole acceptance criterion)
comoving_softening
:
0.05
# Comoving softening length (in internal units).
max_physical_softening
:
0.01
# Physical softening length (in internal units).
mesh_side_length
:
16
# 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).
CFL_condition
:
0.1
# Courant-Friedrich-Levy condition for time integration.
minimal_temperature
:
100
# (internal units)
# Parameters related to the initial conditions
InitialConditions
:
file_name
:
./dwarf_galaxy.hdf5
# The file to read
periodic
:
1
cleanup_h_factors
:
1
# Remove the h-factors inherited from Gadget
cleanup_velocity_factors
:
1
# Remove the sqrt(a) factor in the velocities inherited from Gadget
# Cooling with Grackle 3.0
GrackleCooling
:
cloudy_table
:
CloudyData_UVB=HM2012.h5
# Name of the Cloudy Table (available on the grackle bitbucket repository)
with_UV_background
:
1
# Enable or not the UV background
redshift
:
-1
# Redshift to use (-1 means time based redshift)
with_metal_cooling
:
1
# Enable or not the metal cooling
provide_volumetric_heating_rates
:
0
# (optional) User provide volumetric heating rates
provide_specific_heating_rates
:
0
# (optional) User provide specific heating rates
self_shielding_method
:
0
# (optional) Grackle (<= 3) or Gear self shielding method
max_steps
:
10000
# (optional) Max number of step when computing the initial composition
convergence_limit
:
1e-2
# (optional) Convergence threshold (relative) for initial composition
thermal_time_Myr
:
5
GearChemistry
:
initial_metallicity
:
0.01295
GEARFeedback
:
supernovae_energy_erg
:
1e50
yields_table
:
chemistry-AGB+OMgSFeZnSrYBaEu-16072013.h5
GearPressureFloor
:
jeans_factor
:
10.
# Number of particles required to suppose a resolved clump and avoid the pressure floor.
GEARStarFormation
:
star_formation_efficiency
:
0.01
# star formation efficiency (c_*)
maximal_temperature
:
3e4
# Upper limit to the temperature of a star forming particle
examples/GEAR/DwarfGalaxy/getIC.sh
deleted
100755 → 0
View file @
1ade4f13
#!/bin/bash
wget https://obswww.unige.ch/~lhausamm/swift/IC/DwarfGalaxy/dwarf_galaxy.hdf5
examples/GEAR/DwarfGalaxy/run.sh
deleted
100755 → 0
View file @
1ade4f13
#!/bin/bash
# Generate the initial conditions if they are not present.
if
[
!
-e
dwarf_galaxy.hdf5
]
then
echo
"Fetching initial conditions for the dwarf galaxy example..."
./getIC.sh
fi
../../swift
--feedback
--limiter
--sync
--self-gravity
--hydro
--stars
--cooling
--star-formation
--threads
=
8
$@
dwarf_galaxy.yml 2>&1 |
tee
output.log
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment