Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
dcbcd31b
Commit
dcbcd31b
authored
Feb 04, 2019
by
Jacob Kegerreis
Browse files
Centralise the EoS tables
parent
ddfac3ea
Changes
4
Hide whitespace changes
Inline
Side-by-side
examples/
GiantImpactUranu
s/get_eos_tables.sh
→
examples/
EoSTable
s/get_eos_tables.sh
View file @
dcbcd31b
...
...
@@ -2,3 +2,8 @@
wget http://astro.dur.ac.uk/~cklv53/swift_planet_examples/HM80_HHe.txt
wget http://astro.dur.ac.uk/~cklv53/swift_planet_examples/HM80_ice.txt
wget http://astro.dur.ac.uk/~cklv53/swift_planet_examples/HM80_rock.txt
wget http://astro.dur.ac.uk/~cklv53/swift_planet_examples/SESAME_basalt_7530.txt
wget http://astro.dur.ac.uk/~cklv53/swift_planet_examples/SESAME_iron_2140.txt
wget http://astro.dur.ac.uk/~cklv53/swift_planet_examples/SESAME_water_7154.txt
wget http://astro.dur.ac.uk/~cklv53/swift_planet_examples/SS08_water.txt
examples/GiantImpactUranus/run.sh
View file @
dcbcd31b
...
...
@@ -8,11 +8,13 @@ then
fi
# Get the EoS tables if they are not present.
cd
../EoSTables
if
[
!
-e
HM80_HHe.txt
]
||
[
!
-e
HM80_ice.txt
]
||
[
!
-e
HM80_rock.txt
]
then
echo
"Fetching equations of state tables for the Uranus impact example..."
./get_eos_tables.sh
fi
cd
../GiantImpactUranus
# Run SWIFT
../swift
-s
-G
-t
8 uranus_1e6.yml 2>&1 |
tee
output.log
...
...
examples/GiantImpactUranus/uranus_1e6.yml
View file @
dcbcd31b
...
...
@@ -57,7 +57,7 @@ Scheduler:
# Parameters related to the equation of state
EoS
:
planetary_use_HM80
:
1
# Whether to initialise the Hubbard & MacFarlane (1980) EOS
planetary_HM80_HHe_table_file
:
HM80_HHe.txt
# Table file paths
planetary_HM80_ice_table_file
:
HM80_ice.txt
planetary_HM80_rock_table_file
:
HM80_rock.txt
planetary_use_HM80
:
1
# Whether to initialise the Hubbard & MacFarlane (1980) EOS
planetary_HM80_HHe_table_file
:
../EoSTables/HM80_HHe.txt
planetary_HM80_ice_table_file
:
../EoSTables/
HM80_ice.txt
planetary_HM80_rock_table_file
:
../EoSTables/
HM80_rock.txt
examples/parameter_example.yml
View file @
dcbcd31b
...
...
@@ -184,13 +184,13 @@ EoS:
planetary_use_ANEOS
:
0
# (Optional) Whether to prepare the ANEOS EOS
planetary_use_SESAME
:
0
# (Optional) Whether to prepare the SESAME EOS
# (Optional) Table file paths
planetary_HM80_HHe_table_file
:
./
equation_of_state
/planetary_HM80_HHe.txt
planetary_HM80_ice_table_file
:
./
equation_of_state
/planetary_HM80_ice.txt
planetary_HM80_rock_table_file
:
./
equation_of_state
/planetary_HM80_rock.txt
planetary_SESAME_iron_table_file
:
./
equation_of_state
/planetary_SESAME_iron_2140.txt
planetary_SESAME_basalt_table_file
:
./
equation_of_state
/planetary_SESAME_basalt_7530.txt
planetary_SESAME_water_table_file
:
./
equation_of_state
/planetary_SESAME_water_7154.txt
planetary_SS08_water_table_file
:
./
equation_of_state
/planetary_SS08_water.txt
planetary_HM80_HHe_table_file
:
./
EoSTables
/planetary_HM80_HHe.txt
planetary_HM80_ice_table_file
:
./
EoSTables
/planetary_HM80_ice.txt
planetary_HM80_rock_table_file
:
./
EoSTables
/planetary_HM80_rock.txt
planetary_SESAME_iron_table_file
:
./
EoSTables
/planetary_SESAME_iron_2140.txt
planetary_SESAME_basalt_table_file
:
./
EoSTables
/planetary_SESAME_basalt_7530.txt
planetary_SESAME_water_table_file
:
./
EoSTables
/planetary_SESAME_water_7154.txt
planetary_SS08_water_table_file
:
./
EoSTables
/planetary_SS08_water.txt
# Parameters related to external potentials --------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment