关于dyna计算中binout文件输出
(2010-11-24 10:40:38)
标签:
杂谈 |
从970版本开始,有了二进制格式格式的所谓的ASCII output文件(matsum,rcforc,etc.)。
--注单机版和smp版输出的为文本格式的ASCII output文件。
MPP-DYNA 不是直接写出ASCII输出文件,而是输出二进制格式数据。这些数据可以有两种格式:dbout(参见V.970用户手册Appendix L,P.L3)和binout。MPP缺省情况下会输出binout格式的数据。卡片*database_matsum,*database_rcforc,etc的第二个参数控制输出哪一种类型的数据。
1= old format,例如,ASCII文件(SMP) 或者 dbout文件(MPP)
2= new binout格式(对MPP版这是缺省的)
3= both formats都输出
LS-Prepost可以直接读取binout数据而不需要转换,但dbout文件需要用dumpbdb来转换成ASCII格式输出。 在LS-Prepost里,选项页”2〃(启动界面右边的Group按钮下面),在CFD按钮下面有“Binout”按钮。点击之后在左下面出现的子面板中点击“Load”按钮,选择求解器输出的binout文件。之后可以进行相关曲线的绘制。(此处修改原文部分)
作为lsda软件包的一部分,有两个程序可以获得(以用户账号登陆lstc ftp site,在”lsda”目录下)。一个是”l2a”,它可以用来从binout文件中提取不同的ascii文件。另一个是”ioq”,它是让你用来直接读取/浏览binout文件的小工具。
通常一个”l2a”执行块会包含在相应平台的MPP执行块的压缩包里,但你也可以用那个l2a来操作任何ls-dyna执行块(MPP or SMP)产生的binout文件。要从binout文件中提取ASCII输出文件,在命令行执行l2a,后面包含binout文件的名字。例如:”./l2a binout.0000〃
Binout文件是平台无关的,例如,你可以在与输出binout数据的平台同一平台或者任何其它平台下处理binout数据。
当MPP LS-DYNA执行块输出binout数据时,将会有多于一个的文件以”binout”作为根名字。每一个这样的文件需要被独立的打开来得到所有需要的数据。在d3hsp文件里,你可以看到像如下的部分所示的信息告许你每一个binout文件包含哪些数据。
>The following binary output file are being
created,
>and contain data equivalent to the indicated ascii
output files
>
>
>
>
>
>
>
>
>
>
>
>
程序将像之前一样输出dbout.*文件(没有binout),之后你可以用dumpbdb来提取所有的ASCII文件。
English Version:
Starting with version 970, a binary format for the so-called ASCII output files (matsum, rcforc, etc.) is available.
MPP-DYNA runs do not write ASCII output files directly but
instead write the data to binary
database(s).
The second input parameter of *database_matsum,
*database_rcforc,
etc.controls what type of output will be written.
1 = old format, i.e., ASCII files (SMP) or dbout files
(MPP)
2 = new binout format (this is the default for MPP)
3 = both formats written
LS-PrePost can read the binout data directly with no conversion
by dumpbdb being
required.
There are two programs that are available as part of our lsda
package (see the “lsda” directory under the user account of our ftp
site).
Binout files are platform-independent, i.e., you can process
binout data written by one platform on that same platform or on any
other platform.When a binout database is written by an MPP LS-DYNA
executable, there will be more than one file with the “binout”
rootname.
> The following binary output files are being
created,
> and contain data equivalent to the indicated ascii
output files
>
>
>
>
>
>