Quantitative flow modeling of fluids at elevated temperatures and pressures has generally been limited to consideration of either single-phase flow or two-phase flow at conditions below the critical point of water. In this paper, we introduce a version of the GEOTHER model that can simulate both multiphase flow and flow above the critical point, and demonstrate its capabilities by simulating flow in the vicinity of the critical point. GEOTHER2 is a multiphase, finite-difference model that simulates three-dimensional flow of pure water and heat at temperatures ranging from 0{degree} to 1,200{degree}C and pressures ranging from 0.5 to 10,000 bars. The governing equations are expressions of mass and energy conservation that are posed in terms of pressure and enthalpy. A series of one-dimensional experiments indicates that permeability is a pivotal factor in determining pressure-enthalpy/temperature trajectories near the critical point. At low permeabilities (10{sup -16} m{sup 2}), advective heat transport dominates, and the pressure-enthalpy trajectory maintains a constant "flowing enthalpy"