User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual...

33
User-Materials in ANSYS Hl fl Mdlf S ft Ti Holzapfel-Model for Soft Tissues Prof. Dr. Prof. Dr.-Ing A. Fritsch Ing A. Fritsch

Transcript of User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual...

Page 1: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

User-Materials in ANSYS

H l f l M d l f S ft TiHolzapfel-Model for Soft Tissues

Prof. Dr.Prof. Dr.--Ing A. FritschIng A. Fritsch

Page 2: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Possibilities of user programming

ANSYS User Programmable Features (UPF) are capabilities you can use to write your own subroutines. This extents the usage of ANSYS to a wider range of applicationsto a wider range of applications.

An extensive description can be found in the ANSYS documentation, p ,which is provided for download at the ANSYS� customer portal. For UPF, the following manual is essential:

Programmer�s Manual for ANSYS:Programmer s Manual for ANSYS:

Part I: Guide to interfacing with ANSYSPart II: Guide to ANSYS User Programmable Features

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen1

Page 3: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Possibilities of user programming

There are different possibilities using UPF. Here are some examples (excerpt):

Read into or fetch information from the ANSYS database Write your own commands.yManipulate various types of loads: BF or BFE loads, temperatures, pressures, convections, heat fluxes and so on.C b l lid lCreate your own beam, plane, solid� user element.Modify and monitor existing elements.

Routines to customize material behavior for

Plasticity, Hyperelasticity, Creep etc.

most general routine therefore is USERMAT

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen2

most general routine therefore is USERMAT

Page 4: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Programming language

ANSYS� UPF subroutines are written in

FORTRAN90FORTRAN90

with some extensions (e.g. Cray-style pointers). However, most of the example subroutines are still written in

FORTRAN77FORTRAN77

Thus, you can choose your favorite language.Thus, you can choose your favorite language.

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen3

Page 5: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Compiler prerequisites:

For the compilation process you need the appropriate compilers and compiler versions. The necessary information is given in the ANSYS� Help Installation and Licensing Documentation In the subfolderHelp Installation and Licensing Documentation. In the subfolder �Platform Details� you will find the information needed:

E.g. on a 32-bit Windows XP platform you currently (ANSYS v12) need th I t l F t 10 1 d MS Vi l St di 2005 il !

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen4

the Intel Fortran v10.1 and MS Visual Studio 2005 compilers!

Page 6: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

License prerequisites:

The use of the ANSYS customization tools is only possible for certain types of licenses. These are (complete list):

ANSYS MultiphysicsANSYS MultiphysicsANSYS MechanicalANSYS StructuralANSYS PrepPostANSYS Emag

S S dANSYS Academic AssociateANSYS Academic ResearchANSYS Academic Teaching AdvancedANSYS Academic Teaching AdvancedANSYS Academic Teaching Mechanical

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen5

Page 7: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Compiling and Linking

Since ANSYS v12 you do have the choice between two compiling options (Windows):

Link your routines into shared libraries (as discussed later). This will create a dynamic linked library *.dll. This option allows y y pthe use of UPFs in Workbench also!

Compile and link your custom routines into the ANSYS programCompile and link your custom routines into the ANSYS program itself. This will create a new ANSYS executable (ansys.exe). You may need superuser or root privileges to run the procedure h d h l kthat does the linking!

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen6

Page 8: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Motivation for Holzapfels� model: Arterial wall mechanics major componentsArterial wall mechanics, major components

Major components of a healthy elastic artery:

(I) Intima: single layer of endothelial cells. For young individuals, it has only an insignificant contribution to y gwall mechanics.

(M) Media: Muscle cells, elastin and collagen fibrils Well-definedcollagen fibrils. Well-defined concentrically fiber-reinforced layers. Contributes significantly to wall stiffness at low pressuresstiffness at low pressures.

(A) Adventitia: Consists of fibroblasts/fibrocytes (matrix) and thi k b dl f ll fib ilthick bundles of collagen fibrils, arranged in helical structures. Contributes significantly to the wall stiffness at higher pressure levels

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen7

stiffness at higher pressure levels.

Page 9: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Constitutive model (Holzapfel et al. [1])

In [1], Holzapfel proposed a hyperelastic potential, which models each layer (media and adventitia), according to its histological information (e g fiber directions) as a fiber reinforced compositeinformation (e.g. fiber directions), as a fiber-reinforced composite. Each layer consist of two families of (collagen-) fibers which are arranged in symmetrical spirals.

The isochoric part of the proposed strain-energy function is as follows:

The fiber directions a01, a02 (||a01 || = ||a02 || = 1) are incorporated as structural

),,()(),,( 02010201 aaCCaaC anisoiso

01, 02 (|| 01 || || 02 || ) ptensors and are defined as

aaAaaA

[1] Holzapfel, G.A.; Gasser, T.C.; Ogden, R.W.: A new constitutive framework for arterial wall mechanics

020202010101 , aaAaaA

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen8

and a comparative study of material models. J. of Elasticity, vol. 61, p 1-48 (2000).

Page 10: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Constitutive model

For the anisotropic part of the strain-energy, Holzapfel proposed the following ansatz:

642

164 1e

2),(

212

ianiso

iIk

kkII

For the isotropic part of the strain-energy function, a small extension to

6,42 i

Holzapfels� ansatz was made. This allows the material model to be used also in �non-biological� applications (e.g. industrial reinforced tubes). Implemented is s

33)( 2011

3

021 IcIcII i 33),( 20111

021 IcIcIIi

iiso

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen9

Page 11: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Constitutive model

Please note, that according to

2T

th t i i t I d I th f th fib t t h d th f

210101010101014 , aFFaaaCACaC TI

the two invariants I4 and I6 are the squares of the fiber stretches and therefore have a clear physical meaning!

Furthermore due to the wavy structure of the collagen fibers the anisotropicFurthermore, due to the wavy structure of the collagen fibers, the anisotropic part only contributes to the mechanical response if the fibers are extended. Therefore we have

641 , 2 iIII i

ianiso

fi CS 6,4 1 , 0

iI

Ii

ifi CS

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen10

Page 12: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Constitutive model

Although soft biological tissues can be always treated as incompressible, ANSYS� USERMAT interface only allows for a nearly incompressible modeling Therefore a volumetric (ANSYS ) part has to be added:modeling. Therefore a volumetric (ANSYS-) part has to be added:

Fdet,11)( 2 JJJl

d is a material parameter and can be identified with the initial bulk modulus

Fdet , 1)( JJd

Jvol

K=2/d. Finally, the implemented strain-energy function is

)(),(),(), , ,( 64210201 JIIIIJ volanisoisoAAC

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen11

Page 13: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Example: Fiber stresses

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen12

Page 14: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Example: Fiber angles

ANSYS Conference & 28. CADFEM Users` Meeting 2010, Aachen13

Page 15: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable
Page 16: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 2 -

Page 17: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

Seminar notes of CADFEM GmbH

© CADFEM GmbH 2009These seminar notes are in copyright. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission of CADFEM GmbH.

- 3 -

Page 18: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 4 -

Page 19: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 5 -

Page 20: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 6 -

Page 21: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 7 -

Page 22: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 8 -

Page 23: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 9 -

Page 24: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 10 -

Page 25: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 11 -

Page 26: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 12 -

Page 27: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 13 -

Page 28: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 14 -

Page 29: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 15 -

Page 30: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 16 -

Page 31: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 17 -

Page 32: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 18 -

Page 33: User-Materials in ANSYS Holzapflfel-Model for Softft Tissues2013/02/10  · Programmerer s Manual for ANSYS: Part I: Guide to interfacing with ANSYS Part II: Guide to ANSYS User Programmable

- 19 -