On the calculation of the seismic parameter ϕ at high pressure and high temperatures