Skip to content
Snippets Groups Projects
Commit dcbcd31b authored by Jacob Kegerreis's avatar Jacob Kegerreis
Browse files

Centralise the EoS tables

parent ddfac3ea
Branches
Tags
1 merge request!733Planetary documentation
......@@ -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
......@@ -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
......
......@@ -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
......@@ -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 --------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment