SlideShare una empresa de Scribd logo
1 de 16
Rajesh Kumar
Impact Lab, DME
IIT Delhi
User material development in LS-Dyna environment:
 Learnt dynamic simulation using LS Dyna software
 Learnt FORTRAN language, its compilation and implementation in
FEA code development
 Understood the process of implementing user material subroutine
development in LS Dyna environment
 Implementation of user defined material model for DP model with
solid element and its verification with existing DP model (in
progress)
User interface in LS-DYNA
User Interface provides freedom to choose solution methods for
the problem at hand. LS-DYNA already offers options for all
imaginable tasks such as element types, materials, contacts,
connections, loads, boundary conditions, etc. But sometimes, the user
still wishes to implement her or his own algorithm at a particular point
of the solution procedure. Therefore, LS-DYNA also provides user-
defined interfaces, i.e. the source code is partly open for modifications.
User interface in LS-DYNA
 Environment for large-scale real-world problems, no need for the
comprehensive task of developing and maintaining complete FE
software
 Implementation concerns only to a specific field of interest
 The most popular user interface is for material modeling.
 There also exist user interfaces for structural elements, airbag sensors,
solution control, friction, interface control, weld failure, loads, output
control, adaptivity, thermal contact, and others.
 Allow users to verify research results in the context of general and
complicated finite element applications
 Up to a total of ten different material models in a single LS-DYNA
executable
 An overview of the procedure of implementing UMAT in the interface
will be presented.
User-defined materials (material modeling)
Strain/ Deformation Constitutive Relation Stress/Forces
Existing material models
Isotropic elastic to anisotropic elasto-plastic with damage etc with
constitutive laws that can predict the behavior of metals, plastics, rubber, foam,
concrete, soil, composites, wood etc.
Best solution for their material at hand
Gives rise to the possibility to implement own material models.
*MAT_USER_DEFINED_MATERIAL_MODELS defines the input for the user
material interface.
Main program calls subroutine usrmat in dyn21.f, and from there, different
subroutines are called depending on the element type in use
umatXX (or umatn) , has the provision to compute stresses from strains
User material interface scheme
usermat package
available via LS-DYNA distributors contains several files such as:
library files (*.a)
object files (*.o)
include files (*.inc)
Fortran source files (*.f) and
a Makefile
Most important file is Fortran Source file dyn21.f
Makefile specifies how to derive the LS-DYNA executable and also gives
information about the specific Fortran compiler that should be used.
Compilation needs
- Fortran user routine
- Fortran 77 or Fortran 90 compiler
- Makefile
- The Fortran source file dyn21.f
- Object code files
Standard structure and arguments of a user routine
Bulk modulus,
K
and the
Shear
modulus, G are
used to
calculate
Time step
Writing a UMAT (User MATerial Subroutine) for LS-Dyna:
Material Model Theoretical Development
Material model represented as concise mathematical equations
Flow stress function
Change in the flow stress of the material (temperature, strain rate, etc)
Stress integration scheme
von Mises isotropic material model for plane stress condition:
Flow stress
elastic strain at yield point
plastic strain
material matrix
plastic multiplier
yield function
Writing a UMAT (User MATerial Subroutine) for LS-Dyna:
FORTRAN Implementation of the UMAT
Creation of a Fortran code using the theoretical model
Insert the code in the dyn21.f file
Compilation of a working copy of LS-Dyna (.exe)
Writing a UMAT (User MATerial Subroutine) for LS-Dyna:
Implementation In LS-Dyna & Compilation
√ Code development
Incorporate into LS-Dyna
LS-Dyna provides object files and source routine (dyn21.f)
Addition of own subroutine to the supplied source routine
Compilation of the modified source file using the same compiler
that LS-Dyna uses
Intel(R) Visual Fortran Compiler (readme.txt)
Create LS Dyna solver (ls971_dpmv4.exe)
Ready to run FE simulation
Steps required to build a UMAT:
 Download the required Object files. ftp.lstc.com
 Open the "dyn21.F" file in a text editor . Notepad++
 Search for "subroutine umat43". This will take you to the location where
you can start adding your UMAT's. (next slide)
 Start Intel(R) Visual Fortran Compiler Professional Edition 11.1 for
Windows* OS
 Provide directory path and use "make" command to compile the code.
 If compilation is successful, an executable will be created that can be used
as solver to run LS-DYNA. Copy it to the directory C:LSDYNAprogram
 To call the code in the LS-Dyna input file we use this in keyword file:
*MAT_USER_DEFINED_MATERIAL_MODELS
Writing a UMAT (User MATerial Subroutine) for LS-Dyna:
UMAT Verification
Running a simple problem and compare the results against analytical results
Successful UMAT verification guarantees a high level of confidence and quality in
the developed material model
Mattias Unosson, Eric Buzaud:
Acceleration history of bar’s top center node Pressure history (bottom center’s solid element)
L=0.6 cm
D=0.32 cm
Vo=227 m/s
User material Development in LS Dyna
User material Development in LS Dyna
User material Development in LS Dyna

Más contenido relacionado

La actualidad más candente

ABAQUS Lecture Part I
ABAQUS Lecture Part IABAQUS Lecture Part I
ABAQUS Lecture Part I
chimco.net
 
Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)
Alessandro Palmeri
 
Introduction to SOLIDWORKS SimulationXpress
Introduction to SOLIDWORKS SimulationXpressIntroduction to SOLIDWORKS SimulationXpress
Introduction to SOLIDWORKS SimulationXpress
Tasos Lazaridis
 
Lecture 10 bending stresses in beams
Lecture 10 bending stresses in beamsLecture 10 bending stresses in beams
Lecture 10 bending stresses in beams
Deepak Agarwal
 

La actualidad más candente (20)

Setting up a crash simulation in LS-Dyna
Setting up a crash simulation in LS-DynaSetting up a crash simulation in LS-Dyna
Setting up a crash simulation in LS-Dyna
 
ABAQUS Lecture Part I
ABAQUS Lecture Part IABAQUS Lecture Part I
ABAQUS Lecture Part I
 
Lec 2 stress strain diagram (lec 2)
Lec 2 stress strain diagram (lec 2)Lec 2 stress strain diagram (lec 2)
Lec 2 stress strain diagram (lec 2)
 
Designing a Cold-Formed Steel Beam Using AS4600:2018 and 2005 - Webinar
Designing a Cold-Formed Steel Beam Using AS4600:2018 and 2005 - WebinarDesigning a Cold-Formed Steel Beam Using AS4600:2018 and 2005 - Webinar
Designing a Cold-Formed Steel Beam Using AS4600:2018 and 2005 - Webinar
 
Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)Structural Mechanics: Shear stress in Beams (1st-Year)
Structural Mechanics: Shear stress in Beams (1st-Year)
 
Design of pile cap
Design of pile capDesign of pile cap
Design of pile cap
 
Bending Moment
Bending MomentBending Moment
Bending Moment
 
Soil Dynamics
Soil DynamicsSoil Dynamics
Soil Dynamics
 
Curved beams
Curved beamsCurved beams
Curved beams
 
Principal-stresses
Principal-stressesPrincipal-stresses
Principal-stresses
 
Stiffness matrix method for beam , examples ce525
Stiffness  matrix method for beam , examples   ce525Stiffness  matrix method for beam , examples   ce525
Stiffness matrix method for beam , examples ce525
 
Theory of Elasticity
Theory of ElasticityTheory of Elasticity
Theory of Elasticity
 
7 stress transformations- Mechanics of Materials - 4th - Beer
7 stress transformations- Mechanics of Materials - 4th - Beer7 stress transformations- Mechanics of Materials - 4th - Beer
7 stress transformations- Mechanics of Materials - 4th - Beer
 
Mechanical
MechanicalMechanical
Mechanical
 
Losses in prestressed concrete
Losses in prestressed concreteLosses in prestressed concrete
Losses in prestressed concrete
 
Flexural design of Beam...PRC-I
Flexural design of Beam...PRC-IFlexural design of Beam...PRC-I
Flexural design of Beam...PRC-I
 
Module 1 Behaviour of RC beams in Shear and Torsion
Module 1   Behaviour of RC beams in Shear and TorsionModule 1   Behaviour of RC beams in Shear and Torsion
Module 1 Behaviour of RC beams in Shear and Torsion
 
Design and Analysis of RC beam
Design and Analysis of RC beamDesign and Analysis of RC beam
Design and Analysis of RC beam
 
Introduction to SOLIDWORKS SimulationXpress
Introduction to SOLIDWORKS SimulationXpressIntroduction to SOLIDWORKS SimulationXpress
Introduction to SOLIDWORKS SimulationXpress
 
Lecture 10 bending stresses in beams
Lecture 10 bending stresses in beamsLecture 10 bending stresses in beams
Lecture 10 bending stresses in beams
 

Destacado

Abaqus deakin subroutines ali alireza [modo de compatibilidade]
Abaqus deakin subroutines ali alireza [modo de compatibilidade]Abaqus deakin subroutines ali alireza [modo de compatibilidade]
Abaqus deakin subroutines ali alireza [modo de compatibilidade]
Sérgio Fernando Lajarin
 
Resume_Goyal_Anshul_MS_Structural
Resume_Goyal_Anshul_MS_StructuralResume_Goyal_Anshul_MS_Structural
Resume_Goyal_Anshul_MS_Structural
Anshul Goyal, EIT
 
Железобетонные конструкции под воздействием ударных нагрузок в LS-DYNA
Железобетонные конструкции под воздействием ударных нагрузок в LS-DYNAЖелезобетонные конструкции под воздействием ударных нагрузок в LS-DYNA
Железобетонные конструкции под воздействием ударных нагрузок в LS-DYNA
Yury Novozhilov
 

Destacado (20)

explicit dynamics
explicit dynamicsexplicit dynamics
explicit dynamics
 
Airplane Impact Examples Using ANSYS Explicit Dynamics
Airplane Impact Examples Using ANSYS Explicit DynamicsAirplane Impact Examples Using ANSYS Explicit Dynamics
Airplane Impact Examples Using ANSYS Explicit Dynamics
 
Abaqus deakin subroutines ali alireza [modo de compatibilidade]
Abaqus deakin subroutines ali alireza [modo de compatibilidade]Abaqus deakin subroutines ali alireza [modo de compatibilidade]
Abaqus deakin subroutines ali alireza [modo de compatibilidade]
 
Modeling plastics in ANSYS
Modeling plastics in ANSYSModeling plastics in ANSYS
Modeling plastics in ANSYS
 
51 Side Business Ideas To Make Money
51 Side Business Ideas To Make Money51 Side Business Ideas To Make Money
51 Side Business Ideas To Make Money
 
Program of LS-DYNA conference
Program of LS-DYNA conferenceProgram of LS-DYNA conference
Program of LS-DYNA conference
 
Smooth Particle Hydrodynamics for Bird-Strike Analysis Using LS-DYNA
Smooth Particle Hydrodynamics for Bird-Strike Analysis Using LS-DYNASmooth Particle Hydrodynamics for Bird-Strike Analysis Using LS-DYNA
Smooth Particle Hydrodynamics for Bird-Strike Analysis Using LS-DYNA
 
Aппаратное обеспечения для решения задач механики сыпучих сред
Aппаратное обеспечения для решения задач механики сыпучих средAппаратное обеспечения для решения задач механики сыпучих сред
Aппаратное обеспечения для решения задач механики сыпучих сред
 
Roof crush test using LS-DYNA
Roof crush test using LS-DYNARoof crush test using LS-DYNA
Roof crush test using LS-DYNA
 
NYU Official Transcript
NYU Official TranscriptNYU Official Transcript
NYU Official Transcript
 
Rajesh transcript
Rajesh transcriptRajesh transcript
Rajesh transcript
 
10351104_certificate
10351104_certificate10351104_certificate
10351104_certificate
 
Resume_Goyal_Anshul_MS_Structural
Resume_Goyal_Anshul_MS_StructuralResume_Goyal_Anshul_MS_Structural
Resume_Goyal_Anshul_MS_Structural
 
NYU Transcript
NYU TranscriptNYU Transcript
NYU Transcript
 
NYU 2015 Transcript
NYU 2015 TranscriptNYU 2015 Transcript
NYU 2015 Transcript
 
Железобетонные конструкции под воздействием ударных нагрузок в LS-DYNA
Железобетонные конструкции под воздействием ударных нагрузок в LS-DYNAЖелезобетонные конструкции под воздействием ударных нагрузок в LS-DYNA
Железобетонные конструкции под воздействием ударных нагрузок в LS-DYNA
 
Head On Collision test between SUV and Truck using LS-DYNA
Head On Collision test  between SUV and Truck using LS-DYNAHead On Collision test  between SUV and Truck using LS-DYNA
Head On Collision test between SUV and Truck using LS-DYNA
 
Bird Strikes
Bird StrikesBird Strikes
Bird Strikes
 
Fem ppt swapnil
Fem ppt swapnilFem ppt swapnil
Fem ppt swapnil
 
Transcript UT Austin
Transcript UT AustinTranscript UT Austin
Transcript UT Austin
 

Similar a User material Development in LS Dyna

Signotron Software India Projects
Signotron Software India ProjectsSignotron Software India Projects
Signotron Software India Projects
Rajat Kumar Saha
 
Introduction to computer software
Introduction to computer softwareIntroduction to computer software
Introduction to computer software
Manvendra Singh
 
Operating System
Operating SystemOperating System
Operating System
Syahida
 
BIT204 1 Software Fundamentals
BIT204 1 Software FundamentalsBIT204 1 Software Fundamentals
BIT204 1 Software Fundamentals
James Uren
 
Last module pc_software
Last module pc_softwareLast module pc_software
Last module pc_software
Anirban Mandal
 

Similar a User material Development in LS Dyna (20)

Signotron Software India Projects
Signotron Software India ProjectsSignotron Software India Projects
Signotron Software India Projects
 
Introduction to computer software
Introduction to computer softwareIntroduction to computer software
Introduction to computer software
 
Introduction to computer software
Introduction to computer softwareIntroduction to computer software
Introduction to computer software
 
Bio inspired use case variability modelling, ijsea
Bio inspired use case variability modelling, ijseaBio inspired use case variability modelling, ijsea
Bio inspired use case variability modelling, ijsea
 
Dynamix IoT 2012
Dynamix IoT 2012Dynamix IoT 2012
Dynamix IoT 2012
 
Operating System
Operating SystemOperating System
Operating System
 
Os
OsOs
Os
 
BIT204 1 Software Fundamentals
BIT204 1 Software FundamentalsBIT204 1 Software Fundamentals
BIT204 1 Software Fundamentals
 
BERT QnA System for Airplane Flight Manual
BERT QnA System for Airplane Flight ManualBERT QnA System for Airplane Flight Manual
BERT QnA System for Airplane Flight Manual
 
Adapter pattern
Adapter patternAdapter pattern
Adapter pattern
 
Last module pc_software
Last module pc_softwareLast module pc_software
Last module pc_software
 
Programming Embedded linux
Programming Embedded linuxProgramming Embedded linux
Programming Embedded linux
 
Operating System basics Introduction
Operating System basics IntroductionOperating System basics Introduction
Operating System basics Introduction
 
Operating system
Operating systemOperating system
Operating system
 
System Software and Programming.pptx
System Software and Programming.pptxSystem Software and Programming.pptx
System Software and Programming.pptx
 
Linux
LinuxLinux
Linux
 
Usp notes
Usp notesUsp notes
Usp notes
 
Linux IO
Linux IOLinux IO
Linux IO
 
Terraform modules restructured
Terraform modules restructuredTerraform modules restructured
Terraform modules restructured
 
Terraform Modules Restructured
Terraform Modules RestructuredTerraform Modules Restructured
Terraform Modules Restructured
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

User material Development in LS Dyna

  • 1. Rajesh Kumar Impact Lab, DME IIT Delhi
  • 2. User material development in LS-Dyna environment:  Learnt dynamic simulation using LS Dyna software  Learnt FORTRAN language, its compilation and implementation in FEA code development  Understood the process of implementing user material subroutine development in LS Dyna environment  Implementation of user defined material model for DP model with solid element and its verification with existing DP model (in progress)
  • 3. User interface in LS-DYNA User Interface provides freedom to choose solution methods for the problem at hand. LS-DYNA already offers options for all imaginable tasks such as element types, materials, contacts, connections, loads, boundary conditions, etc. But sometimes, the user still wishes to implement her or his own algorithm at a particular point of the solution procedure. Therefore, LS-DYNA also provides user- defined interfaces, i.e. the source code is partly open for modifications.
  • 4. User interface in LS-DYNA  Environment for large-scale real-world problems, no need for the comprehensive task of developing and maintaining complete FE software  Implementation concerns only to a specific field of interest  The most popular user interface is for material modeling.  There also exist user interfaces for structural elements, airbag sensors, solution control, friction, interface control, weld failure, loads, output control, adaptivity, thermal contact, and others.  Allow users to verify research results in the context of general and complicated finite element applications  Up to a total of ten different material models in a single LS-DYNA executable  An overview of the procedure of implementing UMAT in the interface will be presented.
  • 5. User-defined materials (material modeling) Strain/ Deformation Constitutive Relation Stress/Forces Existing material models Isotropic elastic to anisotropic elasto-plastic with damage etc with constitutive laws that can predict the behavior of metals, plastics, rubber, foam, concrete, soil, composites, wood etc. Best solution for their material at hand Gives rise to the possibility to implement own material models. *MAT_USER_DEFINED_MATERIAL_MODELS defines the input for the user material interface. Main program calls subroutine usrmat in dyn21.f, and from there, different subroutines are called depending on the element type in use umatXX (or umatn) , has the provision to compute stresses from strains
  • 7. usermat package available via LS-DYNA distributors contains several files such as: library files (*.a) object files (*.o) include files (*.inc) Fortran source files (*.f) and a Makefile Most important file is Fortran Source file dyn21.f Makefile specifies how to derive the LS-DYNA executable and also gives information about the specific Fortran compiler that should be used. Compilation needs - Fortran user routine - Fortran 77 or Fortran 90 compiler - Makefile - The Fortran source file dyn21.f - Object code files
  • 8. Standard structure and arguments of a user routine Bulk modulus, K and the Shear modulus, G are used to calculate Time step
  • 9. Writing a UMAT (User MATerial Subroutine) for LS-Dyna: Material Model Theoretical Development Material model represented as concise mathematical equations Flow stress function Change in the flow stress of the material (temperature, strain rate, etc) Stress integration scheme von Mises isotropic material model for plane stress condition: Flow stress elastic strain at yield point plastic strain material matrix plastic multiplier yield function
  • 10. Writing a UMAT (User MATerial Subroutine) for LS-Dyna: FORTRAN Implementation of the UMAT Creation of a Fortran code using the theoretical model Insert the code in the dyn21.f file Compilation of a working copy of LS-Dyna (.exe)
  • 11. Writing a UMAT (User MATerial Subroutine) for LS-Dyna: Implementation In LS-Dyna & Compilation √ Code development Incorporate into LS-Dyna LS-Dyna provides object files and source routine (dyn21.f) Addition of own subroutine to the supplied source routine Compilation of the modified source file using the same compiler that LS-Dyna uses Intel(R) Visual Fortran Compiler (readme.txt) Create LS Dyna solver (ls971_dpmv4.exe) Ready to run FE simulation
  • 12. Steps required to build a UMAT:  Download the required Object files. ftp.lstc.com  Open the "dyn21.F" file in a text editor . Notepad++  Search for "subroutine umat43". This will take you to the location where you can start adding your UMAT's. (next slide)  Start Intel(R) Visual Fortran Compiler Professional Edition 11.1 for Windows* OS  Provide directory path and use "make" command to compile the code.  If compilation is successful, an executable will be created that can be used as solver to run LS-DYNA. Copy it to the directory C:LSDYNAprogram  To call the code in the LS-Dyna input file we use this in keyword file: *MAT_USER_DEFINED_MATERIAL_MODELS
  • 13. Writing a UMAT (User MATerial Subroutine) for LS-Dyna: UMAT Verification Running a simple problem and compare the results against analytical results Successful UMAT verification guarantees a high level of confidence and quality in the developed material model Mattias Unosson, Eric Buzaud: Acceleration history of bar’s top center node Pressure history (bottom center’s solid element) L=0.6 cm D=0.32 cm Vo=227 m/s

Notas del editor

  1. While an executable file can be hand-coded in machine language, it is far more usual to develop software as source code in a high-level language easily understood by humans, or in some cases an assembly language more complex for humans but more closely associated with machine code instructions. The high-level language is compiled into either an executable machine code file or a non-executable machine-code object file of some sort; the equivalent process on assembly language source code is called assembly. Several object files are linked to create the executable.High level languages allow much more abstraction than low level languages. This allows algorithms and functions to be written without requiring detailed knowledge of the hardware used in the computing platform. The compiler provides this interface transparently for the programmer. Low level languages will require more involvement with the actual register and interrupt interfaces to the hardware. This can provide more control and efficiency for the program and can be good for applications which need high speed execution, but high level compilers are much better at optimizing for speed now.Examples of high level languages include C, C++, Java, etc.Examples of low level languages include machine language specific to each processor and assembly language specific to each processor.