没有合适的资源?快使用搜索试试~ 我知道了~
首页ANSYS AUTODYN二次开发手册
资源详情
资源评论
资源推荐
Autodyn User's Subroutines Tutorial
Release 15.0ANSYS, Inc.
November 2013Southpointe
275 Technology Drive
Canonsburg, PA 15317
ANSYS, Inc. is
certified to ISO
9001:2008.
ansysinfo@ansys.com
http://www.ansys.com
(T) 724-746-3304
(F) 724-514-9494
Copyright and Trademark Information
© 2013 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited.
ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any
and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarks or
trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used
by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service
and feature names or trademarks are the property of their respective owners.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. is certified to ISO 9001:2008.
U.S. Government Rights
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the
legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, please contact ANSYS, Inc.
Published in the U.S.A.
Table of Contents
1. User Subroutine Tutorial Introduction ................................................................................................... 1
2. How to Invoke User Subroutines ............................................................................................................ 3
3. Writing Your Own User Subroutines ....................................................................................................... 9
3.1. Compilers Required to Work with User Subroutines ........................................................................... 9
3.2. User Subroutine Files ........................................................................................................................ 9
3.3. Formal Parameters .......................................................................................................................... 10
3.4. Autodyn Modules (Non-Parameter Data) ......................................................................................... 10
3.5. Autodyn Variables ........................................................................................................................... 11
3.5.1. IJK Solvers .............................................................................................................................. 11
3.5.2. Unstructured Solvers/Elements .............................................................................................. 12
3.5.3. Notes About Autodyn Variables .............................................................................................. 13
3.6. Accessing Multiple Material Data – All IJK Solvers ............................................................................. 13
3.7. Material Modeling User Subroutines ................................................................................................ 14
3.8. Timing of Calls to User Subroutines ................................................................................................. 15
3.9. Autodyn Utility Functions/Subroutines ............................................................................................ 18
3.10. Terminating Execution from a User Subroutine .............................................................................. 23
3.11. How to Determine the Part Number from the Part Name ............................................................... 23
3.12.Variables Available through F90 Modules ....................................................................................... 24
4. Compiling and Running Your User Subroutines ................................................................................... 25
4.1. Compiling, Debugging and Running your Customized Autodyn Version on Microsoft Windows ........ 25
4.2. Linking your own User Subroutines on Linux Platforms .................................................................... 26
5. Autodyn User Subroutine Modules ...................................................................................................... 29
5.1. BNDDEF, Boundary Definitions ........................................................................................................ 29
5.2. CYCVAR, Cycle Variables ................................................................................................................... 29
5.3. FILDEF, File Definitions .................................................................................................................... 30
5.4. GLOOPT, Global Options .................................................................................................................. 31
5.5. IJKNOW, Cell Indices ........................................................................................................................ 32
5.6. JETDEF, Jetting Variables .................................................................................................................. 32
5.7. KINDEF, Constant Variable Definitions .............................................................................................. 33
5.8. LOCELM, Element Quantities ........................................................................................................... 34
5.9. MATDEF, Material Definitions ........................................................................................................... 35
5.10. MATERIAL, Local Material Data ....................................................................................................... 38
5.11. Equation of State (EOS) Variables ................................................................................................... 41
5.11.1. Linear EOS ............................................................................................................................ 41
5.11.2. Polynomial EOS .................................................................................................................... 41
5.11.3. Ideal Gas EOS ....................................................................................................................... 41
5.11.4. Shock EOS ............................................................................................................................ 42
5.11.5. JWL EOS ............................................................................................................................... 42
5.11.6. Tillotson EOS ........................................................................................................................ 42
5.11.7. PUFF EOS ............................................................................................................................. 43
5.11.8. Porous EOS .......................................................................................................................... 43
5.11.9. Orthotropic EOS ................................................................................................................... 43
5.11.10.Two-Phase EOS ................................................................................................................... 44
5.11.11. Lee-Tarver EOS ................................................................................................................... 44
5.11.12. P-α EOS .............................................................................................................................. 45
5.11.13. Rigid EOS ........................................................................................................................... 45
5.12. Strength Model Variables .............................................................................................................. 46
5.12.1. Drucker-Prager Strength Model ............................................................................................ 46
5.12.2. Johnson-Cook Strength Model ............................................................................................. 47
5.12.3. Zerilli-Armstrong Strength Model ......................................................................................... 47
iii
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
5.12.4. Steinberg-Guinan Strength Model ........................................................................................ 47
5.12.5. Cowper Symonds Strength Model ........................................................................................ 47
5.12.6. Piecewise Linear Strength Model .......................................................................................... 48
5.12.7. Johnson-Holmquist Strength Model ..................................................................................... 48
5.12.8. RHT Concrete Strength Model .............................................................................................. 48
5.12.9. Orthotropic Yield Strength Model ......................................................................................... 49
5.13. Crushable Foam (Isotropic) ............................................................................................................ 49
5.14. Failure Model Variables ................................................................................................................. 49
5.14.1. Hydro (PMIN) Failure Model .................................................................................................. 49
5.14.2. Directional Failure Model ...................................................................................................... 50
5.14.3. Cumulative Failure Model ..................................................................................................... 50
5.14.4. Johnson-Holmquist Damage Model ...................................................................................... 50
5.14.5. RHT Damage Model ............................................................................................................. 50
5.14.6. Orthotropic Softening Model ................................................................................................ 51
5.15. MDGRID, Autodyn-2D Grid Variable Definitions .............................................................................. 51
5.16. MDGRID3, Autodyn-3D Grid Variable Definitions ............................................................................ 53
5.17. MDPP, Parallel Calculation Variables ............................................................................................... 59
5.18. MDSOLV, Unstructured Entity Types ............................................................................................... 60
5.19. POLGON, Polygon Variable Definitions ........................................................................................... 61
5.20. RUNDEF, Run Variable Definitions .................................................................................................. 62
5.21. SUBDEF, Global Part Variable Definitions ........................................................................................ 63
5.22.WRAPUP, Execution Termination Variables ...................................................................................... 66
5.23. OBJECT, SPH Object Definitions ..................................................................................................... 66
6. Autodyn Variable Listings ..................................................................................................................... 69
6.1. Autodyn-2D – Structured (IJK) Solvers ............................................................................................. 69
6.2. Autodyn-3D – Structured (IJK) Solvers ............................................................................................. 74
6.3. Notes ............................................................................................................................................. 83
6.4. Unstructured Solvers ...................................................................................................................... 85
7. User Subroutine Examples .................................................................................................................... 87
7.1. Subroutine MDSTR_USER_1 ............................................................................................................ 87
7.2. Subroutine EXVEL ........................................................................................................................... 92
7.3. Subroutine EXALE ........................................................................................................................... 94
7.4. Subroutine EXEDIT - 2D ................................................................................................................... 94
7.5. Subroutine EXEDIT3 – 3D ................................................................................................................ 96
7.6. Unstructured Element Data Access .................................................................................................. 97
7.6.1. Direct Access through User Element Number ......................................................................... 97
7.6.2. Access to All Elements in a Part ............................................................................................... 98
7.6.3. Access to All Elements in a Component ................................................................................... 98
7.6.4. Access to All Elements in a Group ........................................................................................... 99
7.6.5. Access to Nodal Variables for NBS Tetrahedral Elements ......................................................... 100
7.7. Subroutine EXFOR3 ....................................................................................................................... 104
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.iv
User Subroutines Tutorial
Chapter 1: User Subroutine Tutorial Introduction
This manual shows you how to create and use your own user subroutines in Autodyn. Topics covered
include:
• How to invoke the user subroutines from Input
• Compiling and linking user subroutines
• Writing your own user subroutines
• Description of Autodyn module variables
Autodyn provides you with a number of standard alternatives for options such as Equations of State,
Yield Models, Boundary Conditions, and so on. However, you may wish to use your own custom models
for these options. Autodyn allows you to do this by including your own subroutines written in Fortran.
This tutorial shows you how to include these subroutines in your calculations and offers guidelines on
writing user subroutines.
Table 1.1: Material Modeling User Subroutines (p. 1) and Table 1.2: Additional
User Subroutines (p. 1) show the user subroutines that are available for use with Autodyn.
Table 1.1: Material Modeling User Subroutines
Custom equation of state (Previously EXEOS)MDEOS_USER_1
Custom yield and/or shear model (Previously EXYLD)MDSTR_USER_1
Custom failure criteria (Previously EXFAIL / EXFAILS)MDFAI_USER_1
Custom erosion criteria (Previously EXEROD)MDERO_USER_1
Custom bulk modulus for a linear EOSEXBULK
Custom porous compaction curve, P-α equation of stateEXCOMP
Custom tensile crack softening rateEXCRCK
Custom damage parameterEXDAM
Custom plastic flow return algorithmEXPLRN
Custom shear modulusEXSHR
Custom stiffness matrix, orthotropic-elastic with failureEXSTIF
Custom tabulated saturation curve for two-phase EOSEXTAB
Table 1.2: Additional User Subroutines
Apply user defined acceleration to a Lagrangian nodeEXACC
Custom ALE (Arbitrary Lagrange Euler) grid motionsEXALE
Custom editsEXEDIT
Custom Euler flow boundaryEXFLOW
Custom Force Boundary on structured and unstructured nodesEXFOR3
User defined frictionEXFRICTION
1
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates.
剩余107页未读,继续阅读
stranger61
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1