The nonlinear Schrödinger equation and Drude equation are simultaneously solved taking into account diffraction, group velocity dispersion, self-focusing, multiphoton ionization and plasma creation, and plasma absorption inside a transparent material, i.e., silica. Contact and noncontact geometries, where the focusing lens is, respectively, in contact with the sample or at a specified distance from it, are studied. It is observed that for noncontact geometry, maximum electron density in the vicinity of the focal point inside silica is lower than that in contact geometry. Furthermore, it is observed that locations for initiation of pulse splitting for two geometries are different. The effect of the variations of the peak power of the incident pulse, its beam waist, the focal length of the focusing lens, and the air gap length on the maximum electron density is also investigated in noncontact geometry. Calculation reveals that for higher peak powers and larger beam waists, maximum electron density increases and occurs at closer distance relative to linear focus point inside glass. Simulations are performed in time domain by operator-split technique and alternating-direction implicit algorithm to reduce execution time of the program.