Determination of relative permeability under simulated reservoir conditions