lyk6756 / lyk6756.github.io

My blog made with Jekyll on GitHub Pages.
https://lyk6756.github.io
MIT License
6 stars 3 forks source link

在CentOS上安装ABAQUS 2019并搭建子程序开发环境 - 李宇琨的博客 #36

Open lyk6756 opened 4 years ago

lyk6756 commented 4 years ago

https://lyk6756.github.io/2020/08/13/install_abaqus2019_on_centos.html

系列文章 在Win10下搭建Abaqus子程序开发环境 Install Abaqus2016 on Linux (Ubuntu 16.04 64bit)部署平台 CentOS Linux release 7.8.2003 ABAQUS 2017 Intel Paralle...

yifanyibufan commented 2 years ago

你好,博主,在CentOS上关联abaqus和Intel Fortran编译器有没有版本的对应关系

lyk6756 commented 2 years ago

@yifanyibufan 你好,博主,在CentOS上关联abaqus和Intel Fortran编译器有没有版本的对应关系

本文中提供的对应版本经过了我本人的验证,其他版本的对应关系我在CentOS平台上没有亲自验证过。你可以参考我的另一篇基于Windows平台安装的博文:在Win10下搭建Abaqus子程序开发环境,里面列出了更多可能的对应版本。

yifanyibufan commented 2 years ago

感谢你的回复,我应该直接尝试一下

yifanyibufan commented 2 years ago

你好 博主 我利用你的教程成功关联了ABAQUS和Parallel Studio,非常感谢你的分享。我想问一下你是否使用过子程序来输出仿真过程中的结果,将结果保存到子程序和inp文件所在的目录中的txt文件中,在子程序中中我是利用以下的语句:open(unit=101,file='./a.txt')以及WRITE(101,*) NODE,KINC,CPRESS。虽然使用子程序的分析步在顺利运行,但在当前目录中没有生成TXT文件,所以我想问一下博主是否遇到过该情况。

lyk6756 commented 2 years ago

@yifanyibufan 你好 博主 我利用你的教程成功关联了ABAQUS和Parallel Studio,非常感谢你的分享。我想问一下你是否使用过子程序来输出仿真过程中的结果,将结果保存到子程序和inp文件所在的目录中的txt文件中,在子程序中中我是利用以下的语句:open(unit=101,file='./a.txt')以及WRITE(101,*) NODE,KINC,CPRESS。虽然使用子程序的分析步在顺利运行,但在当前目录中没有生成TXT文件,所以我想问一下博主是否遇到过该情况。

非常遗憾,关于子程序I/O方面我的经验并不丰富,我一般直接将需要的数据输出到.msg文件或.dat文件中,更多的数据会放在ODB中的状态变量中。这里为你提供ABAQUS官方教程中关于Writing Output from User Subroutines的部分:

  • The following unit numbers can be used within a user subroutine to read and write data from files:

    • 15–18
    • 100+
  • In ABAQUS/Standard user subroutines can write debug output to the message (.msg) file (unit 7) or to the printed output (.dat) file (unit 6).

    • These units do not have to be opened within the user subroutine -- they are opened by ABAQUS.
    • These unit numbers cannot be used by user subroutines in ABAQUS/Explicit.
  • When a file is opened in a user subroutine, ABAQUS assumes that it is located in the scratch directory created for the simulation; therefore, full path names must be used in the OPEN statements in the subroutine to specify the location of the files.

yifanyibufan commented 2 years ago

@lyk6756

@yifanyibufan 你好 博主 我利用你的教程成功关联了ABAQUS和Parallel Studio,非常感谢你的分享。我想问一下你是否使用过子程序来输出仿真过程中的结果,将结果保存到子程序和inp文件所在的目录中的txt文件中,在子程序中中我是利用以下的语句:open(unit=101,file='./a.txt')以及WRITE(101,*) NODE,KINC,CPRESS。虽然使用子程序的分析步在顺利运行,但在当前目录中没有生成TXT文件,所以我想问一下博主是否遇到过该情况。

非常遗憾,关于子程序I/O方面我的经验并不丰富,我一般直接将需要的数据输出到.msg文件或.dat文件中,更多的数据会放在ODB中的状态变量中。这里为你提供ABAQUS官方教程中关于Writing Output from User Subroutines的部分:

  • The following unit numbers can be used within a user subroutine to read and write data from files:

    • 15–18
    • 100+
  • In ABAQUS/Standard user subroutines can write debug output to the message (.msg) file (unit 7) or to the printed output (.dat) file (unit 6).

    • These units do not have to be opened within the user subroutine -- they are opened by ABAQUS.
    • These unit numbers cannot be used by user subroutines in ABAQUS/Explicit.
  • When a file is opened in a user subroutine, ABAQUS assumes that it is located in the scratch directory created for the simulation; therefore, full path names must be used in the OPEN statements in the subroutine to specify the location of the files.

万分感谢