Terahertz-dependent identification of simulated hole shapes in oil-gas reservoirs