Modelling a ply with +/-45° fibers

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
IanKarp
Posts: 6
Joined: Wed Oct 18, 2017 2:56 pm

Modelling a ply with +/-45° fibers

Post by IanKarp »

Hello everyone,

I have recently been trying to model a 5 harness satin weave with +/-45° fibers but without any success yet.

To do so, I :
1/ Create automatically a 5 HS weave with 0/90° fibers
2/ Change the coordinates of the nodes in order to rotate each fiber of 45°

As you can see, the result is not so nice... (picture 1 attached).

I have noted two points:
- Netgen fails to correctly interpolate the path between the nodes (with a Bezier spline) with +/-45° fibers (picture 2 attached)
- The fibers section seems to be defined in a (xy) or (yz) plane whereas it should be defined in a plane perpendicular to the fibers

Does anyone know how to solve this problem ?

Thanks. Yann
Attachments
Picture2.JPG
Picture2.JPG (86.14 KiB) Viewed 10901 times
Picture1.png
Picture1.png (177.09 KiB) Viewed 10901 times
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Modelling a ply with +/-45° fibers

Post by louisepb »

Dear Yann,

I'm not sure what is causing the effect that you are seeing. Could you send the tg3 file for the rotated textile and I'll see if I can work out what the issue is.

In the meantime you can easily rotate a textile using the textile.Rotate() function. There is a thread about it here: http://texgen.sourceforge.net/phpBB3/vi ... tate#p2761

I have now included a rotate textile option in the GUI which will be included in the next release (probably in the next month or so).

Hope that helps,
Louise
IanKarp
Posts: 6
Joined: Wed Oct 18, 2017 2:56 pm

Re: Modelling a ply with +/-45° fibers

Post by IanKarp »

Hello Louise,

Thanks for your quick response, I am going to try the Rotate function. I attached the .tg3 file if you want to have a look on it.

By the way, I may have found another solution. The idea is to create a 5 HS weave with the GUI and then to create a domain with planes oriented at 45°. The result is better, but there is one problem remaining with this method : the warp and weft yarns don't cross each other where they are supposed to in a 5 HS...

Best regards,
Yann
Attachments
Domain_rotation.png
Domain_rotation.png (54.68 KiB) Viewed 10893 times
5HS_45_test.zip
(60.8 KiB) Downloaded 161 times
IanKarp
Posts: 6
Joined: Wed Oct 18, 2017 2:56 pm

Re: Modelling a ply with +/-45° fibers

Post by IanKarp »

Louise,

I tried the weave.Rotate function with the following line (to rotate of 45° around the z axis):

Code: Select all

weave.Rotate(WXYZ(XYZ(0.0,0.0,1.0), pi/4), XYZ(0.0,0.0,0.0))
The console does not return any error message but nothing happens. Any idea why ?

Thank you in advance for your help

Yann
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Modelling a ply with +/-45° fibers

Post by louisepb »

Hi Yann,

Try turning the surface rendering off and back on again. The function doesn't re-render automatically.

Best regards,
Louise
IanKarp
Posts: 6
Joined: Wed Oct 18, 2017 2:56 pm

Re: Modelling a ply with +/-45° fibers

Post by IanKarp »

It works !

Thanks a lot for your help Louise.

Have a nice day.

Yann
anhhai
Posts: 1
Joined: Mon Mar 05, 2018 1:12 am

Re: Modelling a ply with +/-45° fibers

Post by anhhai »

hi,
I want make model this one in texgen. help me
thanks
Attachments
Untitled.png
Untitled.png (73.23 KiB) Viewed 10829 times
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Modelling a ply with +/-45° fibers

Post by louisepb »

Hi,

You will probably need to write a script to do this. You can find links to tutorials and a scripting guide here: http://texgen.sourceforge.net/index.php/Scripting_Guide

You will need to work out where the nodes need to be located for your yarns and what the cross sections should be.

Hope that helps,
Louise
Post Reply