Skip to content

Commit

Permalink
Fix updated param names in docs and test inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrete committed Sep 20, 2023
1 parent d4a3d19 commit 36d5139
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ The parameters $\alpha$ and $\ell$ can be changed with
```
<problem/cluster/magnetic_tower>
potential_type = li
alpha = 20
li_alpha = 20
l_scale = 0.001
```
When injected as a fraction of
Expand Down Expand Up @@ -498,9 +498,9 @@ with all other components being zero.
```
<problem/cluster/magnetic_tower>
potential_type = donut
l_scale = 0.0005 # in code length
offset = 0.001 # in code length
thickness = 0.0001 # in code length
l_scale = 0.0005 # in code length
donut_offset = 0.001 # in code length
donut_thickness = 0.0001 # in code length
```

It is recommended to match the donut thickness to the thickness of the kinetic jet launching region
Expand Down
2 changes: 1 addition & 1 deletion inputs/cluster/cluster.in
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ kinetic_jet_offset = 0.05

<problem/cluster/magnetic_tower>
potential_type = li
alpha = 20
li_alpha = 20
l_scale = 0.001
initial_field = 0.12431560000204142
#NOTE: Change to this line to disable initial magnetic tower
Expand Down
2 changes: 1 addition & 1 deletion inputs/cluster/magnetic_tower.in
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ thermal_fraction = 0

<problem/cluster/magnetic_tower>
potential_type = li
alpha = 20
li_alpha = 20
l_scale = 0.01
initial_field = 0.12431560000204142
fixed_field_rate = 12.431560000204144
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def Prepare(self, parameters, step):
f"problem/cluster/agn_feedback/magnetic_fraction=1",
f"problem/cluster/agn_feedback/kinetic_fraction=0",
f"problem/cluster/agn_feedback/thermal_fraction=0",
f"problem/cluster/magnetic_tower/alpha={self.magnetic_tower_alpha}",
f"problem/cluster/magnetic_tower/li_alpha={self.magnetic_tower_alpha}",
f"problem/cluster/magnetic_tower/l_scale={self.magnetic_tower_l_scale.in_units('code_length').v}",
f"problem/cluster/magnetic_tower/initial_field={self.initial_magnetic_tower_field.in_units('sqrt(code_mass)/sqrt(code_length)/code_time').v}",
f"problem/cluster/magnetic_tower/fixed_field_rate={fixed_field_rate}",
Expand Down

0 comments on commit 36d5139

Please sign in to comment.