Simulating the behavior of geologic materials under impact loading conditions requires the use of a constitutive model that includes the effects of bulking, yielding, damage, porous compaction and loading rate on the material response. This paper describes the development, implementation and calibration of a thermodynamically consistent constitutive model that incorporates these features. The paper also describes a computational study in which the model was used to perform numerical simulations of PILE DRIVER, a deeply-buried underground nuclear explosion detonated in granite at the Nevada Test Site. Particle velocity histories, peak velocity and peak displacement as a function of slant range obtained from the code simulations compare favorably with PILE DRIVER data. The simulated attenuation of peak velocity and peak displacement also agrees with the results from several other spherical wave experiments in granite.