In this work, brief theoretical modeling, analysis, and novel numerical verification of a photorefractive polymer based four wave mixing (FWM) setup for defect detection has been developed. The numerical simulation helps to validate our earlier experimental results to perform defect detection in periodic amplitude and phase objects using FWM. Specifically, we develop the theory behind the detection of isolated defects, and random defects in amplitude, and phase periodic patterns. In accordance with the developed theory, the results show that this technique successfully detects the slightest defects through band-pass intensity filtering and requires minimal additional post image processing contrast enhancement. This optical defect detection technique can be applied to the detection of production line defects, e.g., scratch enhancement, defect cluster enhancement, and periodic pattern dislocation enhancement. This technique is very useful in quality control systems, production line defect inspection, and computer vision.