Questions from Emily

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
Martin
Project Leader
Posts: 70
Joined: Wed Mar 28, 2007 9:05 am
Location: Nottingham
Contact:

Questions from Emily

Post by Martin »

when trying to export a few models, I have an unhandled exeption error that prevents it working. Not sure at all what this is!
An unhandled exeption error usually means that there is a bug within TexGen or one of the libraries that TexGen is using. As it is to do with exporting it is quite probable that it may be a problem with OpenCASCADE. But if you are to tell me how to reproduce the problem I will look into it.
when creating some basic 3D weaves (which is the crux of my project) it looks like the yarns become twisted when I start weaving them between layers. It doesn't seem to prevent exports in particular (some work, and some don't), so it may just be a funny rendering issue, but is perhaps related to the unhandled exception error? I can screenshot some examples for you if I haven't explained that properly.
The twisting you see when generating 3D weaves isn't a rendering bug, but a modelling issue. I described this problem in my Thesis Section "2.5 Yarn surface" page 18:

http://etheses.nottingham.ac.uk/archive ... -final.pdf

As you will most likely be spending a lot of time modelling 3D weaves, I suggest you seriously consider creating your models from a python script rather than from the weave wizard interface. The user interface is quite restrictive and has only recently been implemented as a quick and dirty way of getting a geometrical model. It is not really suitable for running FE simulations. You will only really be able to get good geometrical accuracy by defining cross-sections and yarn paths yourself in a python script.
how does the .vox approach work? I'm seriously considering basing the rest of my project around the voxel approach, and it would be great if I could get directly a voxel mesh/model from TexGen and import that to Abaqus. Is that possible? I haven't managed to make it work yet
Not a bad idea. The .vox file is a file format is one designed by a Bart Verleye from Leuven university. I implemented a Python script to export to his file format, this is entirely written in Python. I wouldn't necessarily recommend using these files. Instead I would suggest you write a Python script that outputs to a format that suits your needs (this will depend on what software you will be using to perform the analysis). You can use the Python export script as a starting point, you will probably find the file here (depending on how you installed TexGen):

C:\Python25\Lib\site-packages\TexGen\FlowTex.py

The script is fairly small and well commented so you should be able to follow it as long as you know a little bit about programming in Python. If not there are a few links on the TexGen website to Python programming guides that you may find useful.
Post Reply