- 积分
- 4
- 注册时间
- 2003-5-20
- 仿真币
-
- 最后登录
- 1970-1-1
|
找了一些资料:没有翻译的,看看就行.前面看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
查看全部评分
-
|