This article introduces a modeling method aimed at predicting the internal geometric structure of 3D warp interlock fabric. Inspired by the digital element method, the method employs truss elements to model the yarns as fiber bundles, and considers their material properties. This technique allows for predicting the microstructure of 3D woven fabric based on simple input characteristics. By varying the elastic modulus of virtual fibers, the friction coefficient between fibers, and the tension load at the ends of yarns, and designing compression molding molds to compress the fabric into shape, the virtual fiber fabric predicted the influence of variables on the fabric. The study found that the structure of the samples obtained through CT scanning is generally consistent with the structure of the virtual fiber fabric. The elastic modulus has a relatively minor impact on the fabric structure, whereas the friction coefficient and tension load significantly affect the cross-sectional shape of the yarns. During compression molding, deformation within the mold leads to interlayer fabric slippage and changes in the cross-sectional shape of the fabric. This suggests the feasibility and applicability of virtual simulation testing methods for analyzing the behavior of various types of 3D woven fabrics.