Simulation and sensitivity of isotopic alteration and vein development in carbonate rock formations