To enhance 3D simulation efficiency for large-scale patterned fabric structures, a GPU-based yarn-level parallel computing framework is developed. individual yarns are adopted as the fundamental units of parallelization. Two key algorithms are devised within this framework: a parallel spline trajectory fitting algorithm and a parallel yarn mesh generation algorithm. Comparative experiments with conventional serial methods show that a maximum speedup of up to 10-fold is achieved by the proposed parallel strategy. Moreover, the speed imbalance across different stages during fabric simulation is effectively alleviated by the method. The algorithms are implemented in OpenCL, demonstrating robust performance across different GPU hardware. The applicability of the method to a wide range of fabric types, including both woven and knitted large-patterned fabrics, is confirmed through simulation case studies, underscoring its substantial potential for real-world deployment.
Xu et al. (Sun,) studied this question.