Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
e8c6012f
Commit
e8c6012f
authored
7 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Re-arranged the example YAML file
parent
bc4dc386
No related branches found
No related tags found
1 merge request
!509
Cosmological time integration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/parameter_example.yml
+23
-21
23 additions, 21 deletions
examples/parameter_example.yml
with
23 additions
and
21 deletions
examples/parameter_example.yml
+
23
−
21
View file @
e8c6012f
...
@@ -22,6 +22,24 @@ Cosmology:
...
@@ -22,6 +22,24 @@ Cosmology:
w_0
:
-1.0
# (Optional) Dark-energy equation-of-state parameter at z=0.
w_0
:
-1.0
# (Optional) Dark-energy equation-of-state parameter at z=0.
w_a
:
0.
# (Optional) Dark-energy equation-of-state time evolution parameter.
w_a
:
0.
# (Optional) Dark-energy equation-of-state time evolution parameter.
# 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.
h_tolerance
:
1e-4
# (Optional) Relative accuracy of the Netwon-Raphson scheme for the smoothing lengths.
h_max
:
10.
# (Optional) Maximal allowed smoothing length in internal units. Defaults to FLT_MAX if unspecified.
max_volume_change
:
1.4
# (Optional) Maximal allowed change of kernel volume over one time-step.
max_ghost_iterations
:
30
# (Optional) Maximal number of iterations allowed to converge towards the smoothing length.
# Parameters for the self-gravity scheme
Gravity
:
eta
:
0.025
# Constant dimensionless multiplier for time integration.
theta
:
0.7
# Opening angle (Multipole acceptance criterion)
epsilon
:
0.1
# Softening length (in internal units).
a_smooth
:
1.25
# (Optional) Smoothing scale in top-level cell sizes to smooth the long-range forces over (this is the default value).
r_cut_max
:
4.5
# (Optional) Cut-off in number of top-level cells beyond which no FMM forces are computed (this is the default value).
r_cut_min
:
0.1
# (Optional) Cut-off in number of top-level cells below which no truncation of FMM forces are performed (this is the default value).
# Parameters for the task scheduling
# Parameters for the task scheduling
Scheduler
:
Scheduler
:
nr_queues
:
0
# (Optional) The number of task queues to use. Use 0 to let the system decide.
nr_queues
:
0
# (Optional) The number of task queues to use. Use 0 to let the system decide.
...
@@ -60,27 +78,6 @@ Statistics:
...
@@ -60,27 +78,6 @@ Statistics:
energy_file_name
:
energy
# (Optional) File name for energy output
energy_file_name
:
energy
# (Optional) File name for energy output
timestep_file_name
:
timesteps
# (Optional) File name for timing information output. Note: No underscores "_" allowed in file name
timestep_file_name
:
timesteps
# (Optional) File name for timing information output. Note: No underscores "_" allowed in file name
# 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.
h_tolerance
:
1e-4
# (Optional) Relative accuracy of the Netwon-Raphson scheme for the smoothing lengths.
h_max
:
10.
# (Optional) Maximal allowed smoothing length in internal units. Defaults to FLT_MAX if unspecified.
max_volume_change
:
1.4
# (Optional) Maximal allowed change of kernel volume over one time-step.
max_ghost_iterations
:
30
# (Optional) Maximal number of iterations allowed to converge towards the smoothing length.
EoS
:
isothermal_internal_energy
:
20.26784
# Thermal energy per unit mass for the case of isothermal equation of state (in internal units).
# Parameters for the self-gravity scheme
Gravity
:
eta
:
0.025
# Constant dimensionless multiplier for time integration.
theta
:
0.7
# Opening angle (Multipole acceptance criterion)
epsilon
:
0.1
# Softening length (in internal units).
a_smooth
:
1.25
# (Optional) Smoothing scale in top-level cell sizes to smooth the long-range forces over (this is the default value).
r_cut_max
:
4.5
# (Optional) Cut-off in number of top-level cells beyond which no FMM forces are computed (this is the default value).
r_cut_min
:
0.1
# (Optional) Cut-off in number of top-level cells below which no truncation of FMM forces are performed (this is the default value).
# Parameters related to the initial conditions
# Parameters related to the initial conditions
InitialConditions
:
InitialConditions
:
file_name
:
SedovBlast/sedov.hdf5
# The file to read
file_name
:
SedovBlast/sedov.hdf5
# The file to read
...
@@ -119,6 +116,11 @@ DomainDecomposition:
...
@@ -119,6 +116,11 @@ DomainDecomposition:
minfrac
:
0.9
# (Optional) Fractional of all particles that should be updated in previous step when
minfrac
:
0.9
# (Optional) Fractional of all particles that should be updated in previous step when
# using CPU time trigger
# using CPU time trigger
# Parameters related to the equation of state ------------------------------------------
EoS
:
isothermal_internal_energy
:
20.26784
# Thermal energy per unit mass for the case of isothermal equation of state (in internal units).
# Parameters related to external potentials --------------------------------------------
# Parameters related to external potentials --------------------------------------------
# Point mass external potentials
# Point mass external potentials
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment