The maximum pressure hard-coded into EQ3/6 is 10 kb. I assume this is because the program originally assumed users were using SUPCRT and IAPWS water models that are applicable up to 5 kb and 10 kb, respectively. Unfortunately, this hard-coded cap does not allow users to take advantage of the Deep Earth Water (DEW) model that takes calculations up to 60 kb. By increasing the pressure cap, speciation calculations can successfully be performed in an EQ3/6 backend using the DEW water model (for example, pyDEW and aqequil).
The pressure cap can be increased to 90 kb with edits to the following two files:
git clone https://github.com/39alpha/eq3_6.git
cd eq3_6
sed -i 's/data presmx \/10000.\//data presmx \/90000.\//' src/eq3nr/src/eq3nr.f
sed -i 's/data presmx \/10000.\//data presmx \/90000.\//' src/eq6/src/gpress.f
make
sudo make install
I request that the pressure maximum be increased to 90 kb (or at least 60 kb) to provide support for DEW speciation calculations.
The maximum pressure hard-coded into EQ3/6 is 10 kb. I assume this is because the program originally assumed users were using SUPCRT and IAPWS water models that are applicable up to 5 kb and 10 kb, respectively. Unfortunately, this hard-coded cap does not allow users to take advantage of the Deep Earth Water (DEW) model that takes calculations up to 60 kb. By increasing the pressure cap, speciation calculations can successfully be performed in an EQ3/6 backend using the DEW water model (for example, pyDEW and aqequil).
The pressure cap can be increased to 90 kb with edits to the following two files:
I request that the pressure maximum be increased to 90 kb (or at least 60 kb) to provide support for DEW speciation calculations.