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

Centralise the EoS tables

parent ddfac3ea
No related branches found
No related tags found
1 merge request!733Planetary documentation
...@@ -2,3 +2,8 @@ ...@@ -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_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_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/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 ...@@ -8,11 +8,13 @@ then
fi fi
# Get the EoS tables if they are not present. # Get the EoS tables if they are not present.
cd ../EoSTables
if [ ! -e HM80_HHe.txt ] || [ ! -e HM80_ice.txt ] || [ ! -e HM80_rock.txt ] if [ ! -e HM80_HHe.txt ] || [ ! -e HM80_ice.txt ] || [ ! -e HM80_rock.txt ]
then then
echo "Fetching equations of state tables for the Uranus impact example..." echo "Fetching equations of state tables for the Uranus impact example..."
./get_eos_tables.sh ./get_eos_tables.sh
fi fi
cd ../GiantImpactUranus
# Run SWIFT # Run SWIFT
../swift -s -G -t 8 uranus_1e6.yml 2>&1 | tee output.log ../swift -s -G -t 8 uranus_1e6.yml 2>&1 | tee output.log
......
...@@ -57,7 +57,7 @@ Scheduler: ...@@ -57,7 +57,7 @@ Scheduler:
# Parameters related to the equation of state # Parameters related to the equation of state
EoS: EoS:
planetary_use_HM80: 1 # Whether to initialise the Hubbard & MacFarlane (1980) 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_HHe_table_file: ../EoSTables/HM80_HHe.txt
planetary_HM80_ice_table_file: HM80_ice.txt planetary_HM80_ice_table_file: ../EoSTables/HM80_ice.txt
planetary_HM80_rock_table_file: HM80_rock.txt planetary_HM80_rock_table_file: ../EoSTables/HM80_rock.txt
...@@ -184,13 +184,13 @@ EoS: ...@@ -184,13 +184,13 @@ EoS:
planetary_use_ANEOS: 0 # (Optional) Whether to prepare the ANEOS EOS planetary_use_ANEOS: 0 # (Optional) Whether to prepare the ANEOS EOS
planetary_use_SESAME: 0 # (Optional) Whether to prepare the SESAME EOS planetary_use_SESAME: 0 # (Optional) Whether to prepare the SESAME EOS
# (Optional) Table file paths # (Optional) Table file paths
planetary_HM80_HHe_table_file: ./equation_of_state/planetary_HM80_HHe.txt planetary_HM80_HHe_table_file: ./EoSTables/planetary_HM80_HHe.txt
planetary_HM80_ice_table_file: ./equation_of_state/planetary_HM80_ice.txt planetary_HM80_ice_table_file: ./EoSTables/planetary_HM80_ice.txt
planetary_HM80_rock_table_file: ./equation_of_state/planetary_HM80_rock.txt planetary_HM80_rock_table_file: ./EoSTables/planetary_HM80_rock.txt
planetary_SESAME_iron_table_file: ./equation_of_state/planetary_SESAME_iron_2140.txt planetary_SESAME_iron_table_file: ./EoSTables/planetary_SESAME_iron_2140.txt
planetary_SESAME_basalt_table_file: ./equation_of_state/planetary_SESAME_basalt_7530.txt planetary_SESAME_basalt_table_file: ./EoSTables/planetary_SESAME_basalt_7530.txt
planetary_SESAME_water_table_file: ./equation_of_state/planetary_SESAME_water_7154.txt planetary_SESAME_water_table_file: ./EoSTables/planetary_SESAME_water_7154.txt
planetary_SS08_water_table_file: ./equation_of_state/planetary_SS08_water.txt planetary_SS08_water_table_file: ./EoSTables/planetary_SS08_water.txt
# Parameters related to external potentials -------------------------------------------- # 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