parameter_example.yml 3.6 KB
Newer Older
1
# Define the system of units to use internally. 
2
InternalUnitSystem:
3
4
5
6
7
  UnitMass_in_cgs:     1   # Grams
  UnitLength_in_cgs:   1   # Centimeters
  UnitVelocity_in_cgs: 1   # Centimeters per second
  UnitCurrent_in_cgs:  1   # Amperes
  UnitTemp_in_cgs:     1   # Kelvin
Matthieu Schaller's avatar
Matthieu Schaller committed
8

9
# Parameters for the task scheduling
Matthieu Schaller's avatar
Matthieu Schaller committed
10
Scheduler:
11
12
13
14
  nr_queues:        0        # (Optional) The number of task queues to use. Use 0  to let the system decide.
  cell_max_size:    8000000  # (Optional) Maximal number of interactions per task (this is the default value).
  cell_sub_size:    8000000  # (Optional) Maximal number of interactions per sub-task  (this is the default value).
  cell_split_size:  400      # (Optional) Maximal number of particles per cell (this is the default value).
Matthieu Schaller's avatar
Matthieu Schaller committed
15

16
# Parameters governing the time integration
Matthieu Schaller's avatar
Matthieu Schaller committed
17
TimeIntegration:
18
19
20
21
22
  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-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).

23
24
# Parameters governing the snapshots
Snapshots:
25
26
27
28
29
30
31
32
  basename:   output      # Common part of the name of output files
  time_first: 0.          # Time of the first output (in internal units)
  delta_time: 0.01        # Time difference between consecutive outputs (in internal units)
  UnitMass_in_cgs:     1  # Unit system for the outputs (Grams)
  UnitLength_in_cgs:   1  # Unit system for the outputs (Centimeters)
  UnitVelocity_in_cgs: 1  # Unit system for the outputs (Centimeters per second)
  UnitCurrent_in_cgs:  1  # Unit system for the outputs (Amperes)
  UnitTemp_in_cgs:     1  # Unit system for the outputs (Kelvin)
33

34
35
36
37
# Parameters governing the conserved quantities statistics
Statistics:
  delta_time:          1e-2 # Time between statistics output

38
# Parameters for the hydrodynamics scheme
Matthieu Schaller's avatar
Matthieu Schaller committed
39
SPH:
40
41
  resolution_eta:        1.2348   # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel).
  delta_neighbours:      0.1      # The tolerance for the targetted number of neighbours.
42
  max_ghost_iterations:  30       # (Optional) Maximal number of iterations allowed to converge towards the smoothing length.
43
44
  max_smoothing_length:  0.1      # Maximal smoothing length allowed (in internal units).
  CFL_condition:         0.1      # Courant-Friedrich-Levy condition for time integration.
45
  max_volume_change:     2.       # (Optional) Maximal allowed change of kernel volume over one time-step
Matthieu Schaller's avatar
Matthieu Schaller committed
46

47
# Parameters related to the initial conditions
Matthieu Schaller's avatar
Matthieu Schaller committed
48
InitialConditions:
49
  file_name:  SedovBlast/sedov.hdf5 # The file to read
50
51
  h_scaling:  1.                    # (Optional) A scaling factor to apply to all smoothing lengths in the ICs.
  shift_x:    0.                    # (Optional) A shift to apply to all particles read from the ICs (in internal units).
Matthieu Schaller's avatar
Matthieu Schaller committed
52
53
54
  shift_y:    0.
  shift_z:    0.

55
# Parameters govering domain decomposition
Matthieu Schaller's avatar
Matthieu Schaller committed
56
DomainDecomposition:
57
58
  initial_type:       m     # (Optional) The initial strategy ("g", "m", "w", or "v").
  initial_grid_x:    10     # (Optional) Grid size if the "g" strategy is chosen.
59
60
  initial_grid_y:    10
  initial_grid_z:    10
61
  repartition_type:   b     # (Optional) The re-decomposition strategy ("n", "b", "v", "e" or "x").
62
 
63
64
65
66
67
68
# Parameters related to external potentials
  
# Point mass external potential
PointMass:
  position_x:      50.     # location of external point mass in internal units
  position_y:      50.
69
  position_z:      50.
70
  mass:            1e10     # mass of external point mass in internal units