Computational Physics has been consolidated as an important field of study together with Basic Physics. In many cases the simulation is carried out considering an ideal case of a wave in infinite edge domain and in open space, not taking into account obstacles, barriers and other aspects of the real world. Our motivation is to perform wave simulation interacting with obstacles, barriers, single slit and double slit and investigate by examining the results obtained in images if the methodology used by us to introduce realistic physical characteristics was successful presenting the expected phenomenology. We present a computational numerical operator that we call the Temporal Invariance Operator (TIO) this operator can add obstacles to the domain of the differential equation that describes a physical phenomenon, and after that, the wave equation can recognize these points as non-interacting zones without affecting the rest of the domain. The results in this paper allow us to infer that the operator TIO is an ideal way to apply the physical domain over wave propagation simulation and to successfully recreate wave interaction experiments with computer simulation.