找回密码
 注册
Simdroid-非首页
查看: 469|回复: 5

[二次开发及其理论] 二次开发的执行操作过程

[复制链接]
发表于 2009-10-6 20:39:26 | 显示全部楼层 |阅读模式 来自 新加坡
找了一些资料:没有翻译的,看看就行.前面看cao大侠的书也没动静了.只好自己到外找些东西看看.发现这个东西也是与时俱进.不同的年代好像也不一样.三种说法在这儿.


HOW TO USE LS-DYNA LIBRARY
~~~~~~~~~~~~~~~~~~~~~~~~~~
1. The following files are provided for making a user-defined
   LS-DYNA solver:
        LSDYNA.LIB    LS-DYNA static library for Win32
        LSDYNA.F      FORTRAN source code (main program entry
                      & user routines)
        LSDYNA.DSP    Compaq Visual FORTRAN project file
   Copy them to a writable disk drive (hard disk or network
   drive).
2. Add user-defined subroutines in the file LSDYNA.F.
3. In Compaq-Visual FORTRAN use the project file LSDYNA.DSP
   to build a user-defined LS-DYNA executable (LSDYNA.EXE).
   Ignore the warning messages caused by multiple-defined
   subroutines in LIB files.
4. Run LS-DYNA (LSDYNA.EXE) and follow the command-line
   options listed in the LS-DYNA User's Manual.
************************************************************************************

This is what we use.
(1) Windows XP or Windows 2000.
(2) Intel FORTRAN compiler Version 9.0 or 9.1.
You need to
(1) Download the LS-DYNA version (from the pc-dyna directory) that goes
with user subroutines.
(2) Write your subroutine, then compile it separately and see if it
compiles correctly.
(3) Use the LS-DYNA supplied makefile. You will have to edit this
makefile to insert the appropriate commands if your user subroutine
created in step (2), is in a different file.
(4) Open a DOS window. Type the command nmake and the makefile is used
to create the executable. If you wish to use the LS-DYNA Manager, you
can copy the execuatble file to the directory where other LS-DYNA
executabls reside. Otherwise, you can launch your executable from the
command line.
*************************************************************************************************

How to make executable for User Defined Materials
1.Open a Dos command Windows
Start->Programs->Intel(R) Software Development Tools
->Intel(R) Fortran compiler 10.1->Intel(R) Fortran Compiler
for Intel(R) EM64T-based applications
2.Modify user defined material subroutine
Modify dyn21.F with notepad or other edit utility.
3.Make executable
Type "nmake" and press Enter to Compiler and link.
Ignore the warning messages caused by multiple-defined
subroutines in the LIB files.
Compiler and version:
1.Intel Fortran:
Intel(R) Fortran Compiler for Intel(R) EM64T-based applications,
Version 10.1
2.Microsoft Visual C++
Microsoft Visual Studio 2005 x64 cross tools

*********************************************************************************************
想问问这个什么意思,是两者取一的意思?还是两者都需要用到?上面写的10.1,那9.1的不行吗?看大家是什么看法.
Compiler and version:
1.Intel Fortran:
Intel(R) Fortran Compiler for Intel(R) EM64T-based applications,
Version 10.1
2.Microsoft Visual C++
Microsoft Visual Studio 2005 x64 cross tools

评分

1

查看全部评分

发表于 2009-10-7 09:28:11 | 显示全部楼层 来自 大连理工大学
Simdroid开发平台
dyna的二次开发倒是有一些帖子
呵呵,楼主找到文件啦
恭喜
回复 不支持

使用道具 举报

发表于 2009-10-12 08:57:24 | 显示全部楼层 来自 广东深圳
一个是970的开发
一个是971的开发
回复 不支持

使用道具 举报

发表于 2009-10-12 09:50:47 | 显示全部楼层 来自 甘肃兰州
期待cao的书,可以少走些弯路!
回复 不支持

使用道具 举报

 楼主| 发表于 2009-10-12 17:39:45 | 显示全部楼层 来自 新加坡
两种环境都要.
回复 不支持

使用道具 举报

 楼主| 发表于 2009-10-15 21:35:55 | 显示全部楼层 来自 新加坡
64位环境, 编译时总是说Bufferoverflowu.lib  打不开,谁有这个文件啊.
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-5-24 07:19 , Processed in 0.037968 second(s), 17 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表