density changes with pressure and temperature