Glad to be among you using TexGen to model textile. Here I just meet up with some problems using texgen. How can you guys deal with yarns interference or penetration? I didn't find any module in GUI or python scripts to deal with this right now, and it really makes me stuck. Is there any "automatic" solution for interference in TexGen or scripts? Thank you so much for any information.
Welcome to the forum. It would be good to hear where you are from and what your application of TexGen is.
The Rendering->Textile Interference and Textile Interference Depth options will show you the amount and positions of interference in your model.
If you are using the 2D weave wizard to create your textile then the 'Refine' option will remove interference in the model.
To correct small intersections (less than one volume element in depth) you can use the File->Export->Abaqus Dry Fibre option and then select the Adjust Intersections option. This makes small adjustments to the surface of the yarns to remove intersections. You will need to also select the Regenerate Mesh option for it to actually make changes to the model (otherwise it just make them to the elements being exported to Abaqus).
Otherwise the issue of interference is either dealt with by careful creation of the model - making use of the ability to change cross-sections along the length of the yarn to create more realistic models, or by leaving in the intersection but using the meshing techniques included in TexGen to assign elements to the voxel or yarn as appropriate. The Volume Mesh export will create a boundary at the middle of the intersection and therefore average the position of the surface. The voxel mesh takes the centre point of the voxel and determines whether that falls within the yarn or matrix and assigns the voxel accordingly. This has been found to provide a good solution for prediction of material properties providing the voxel size is selected carefully to preserve all the features of the textile.