textile generation using texgentexgen.sourceforge.net/workshop/texgenworkshop_geometry_model… ·...

Post on 16-Feb-2018

314 Views

Category:

Documents

10 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Creating Textile Models using TexGen

Materials, Mechanics and Structures Research Division

Faculty of Engineering

The University of Nottingham

2nd May 2012

Louise Brown

2nd May 2012 TexGen Workshop

Generating a Textile

Each step individually using

either GUI, Python script or C++

API functions

Steps

combined and

performed

automatically in

2D and 3D

wizards

3 - Specify domain

4 - Output data

Create yarn path

Assign sections

Select interpolation

Assign repeats

Assign fibre properties

1 - Create Textile

2 - Add yarns

2nd May 2012 TexGen Workshop

2D Weave Wizard

Used for creating 2D plain, twill or satin weaves

2nd May 2012 TexGen Workshop

3D Weave Wizard

Orthogonal weave

2nd May 2012 TexGen Workshop

Angle interlock

Offset angle interlock

Layer to layer

2nd May 2012 TexGen Workshop

Create Textile using script or User

Interface

• Select Textiles -> Create Empty

( Step 1 )

• Use options in Modeller to create

yarn (Step 2)

Textile = CTextile()

Yarn = CYarn()

Yarn.AddNode(CNode(XYZ(0,0,0)))

Yarn.AddNode(CNode(XYZ(5,0,1)))

Yarn.AddNode(CNode(XYZ(10,0,0)))

Create Yarn

2nd May 2012 TexGen Workshop

Yarn Path Interpolation

• Select Modeller -> Interpolation

• Bezier spline

• Natural cubic spline

• Linear spline

• Periodic – select to maintain

continuity across yarn repeats

Yarn.AssignInterpolation(CInterpolationCubic())

# Defaults to periodic, send false for non-periodic interpolation

2nd May 2012 TexGen Workshop

Yarn Cross-sections

• Select Modeller -> Assign Section

• Select interpolation

• Constant

• Interpolate between nodes

• Interpolate between positions

•Select cross-section shape

•Ellipse

•Lenticular

•Power ellipse

•Hybrid

•Polygon (only by script or API

functions)

2nd May 2012 TexGen Workshop

YarnSections = CYarnSectionInterpNode()

YarnSections.AddSection( CSectionLenticular(1.0,0.5,0.1) )

YarnSections.AddSection( CSectionPowerEllipse(1.0,0.5,0.4,0.25) )

Top = CSectionEllipse( 1.0, 0.4 )

Bottom = CSectionPowerEllipse( 1.0, 0.4, 0.4, 0.25 )

YarnSections.AddSection( CSectionHybrid( Top, Bottom ) )

Yarn.AssignSection( YarnSections )

2nd May 2012 TexGen Workshop

Yarn Repeats and Domain

The domain restricts the model to a specific region ( typically, but not necessarily, the unit

cell)

• Either

• Select Domain -> Create Box

• Input minimum and maximum x, y, z values for bounding box

• Or

• Select Domain -> Create Planes

• Input required number of planes

Repeats

•Select Modeller -> Assign Repeats

• Input repeat vectors

• Here: 10,0,0 and 5,5,0

Yarn.AddRepeat(XYZ(10,0,0))

Yarn.AddRepeat(XYZ(5,5,0))

Textile.AddYarn(Yarn)

Textile.AssignDomain(CDomainPlanes(XYZ(-5,-2,-1), XYZ(15,12,2)))

AddTextile(“Workshop”, Textile)

2nd May 2012 TexGen Workshop

Save and Export Data

• File - > Save TexGen file...

– Saves in TexGen tg3 format

SaveToXML(“Workshop“, Textile)

• File - > Export

– IGES file

– STEP file

– Surface Mesh ( .vtu, .stl, .stlb )

– Volume Mesh: Tetrahedral mesh, best for 2D weaves (.vtu, .inp )

– Tetgen Mesh: Tetrahedral mesh using Tetgen software (.inp)

– ABAQUS File -> ABAQUS Dry Fibre File: Hex and wedge elements

-> ABAQUS Voxel File: Cuboidal hex elements

All ABAQUS exports include additional .ori and .eld files containing element orientation,

fibre volume fraction and yarn information.

2nd May 2012 TexGen Workshop

2nd May 2012 TexGen Workshop

Abaqus Voxel Export

Abaqus Dry Fibre Export

Thank you

2nd May 2012 TexGen Workshop

2nd May 2012 TexGen Workshop

3 Tex Orthogonal Weave

3Tex orthogonal weave scanned by x-ray

computed tomography (µCT)

Orthogonal 3D carbon fabric:µCT

images of weft (a,b) and warp

cross-sections (c).

Weft yarn: Width = 2.29mm, Height = 0.41mm

Warp yarn: Width = 1.94mm, Height = 0.43mm

Binder yarn: Width = 0.42mm, Height = 0.26mm

Repeat along warp/binder yarn length = 10.72mm

Repeat along weft yarn length = 9.44mm

(b)

(a)

(c)

top related