How to Write Calculation Information to a Text File in ANSYS APDL

How to Write Calculation Information to a Text File in ANSYS APDL

Please Share Us

点击此处查看 ✿水哥原创ANSYS视频教程清单 ✿

水哥专属答疑服务已开通,点此此处查看详情

Calculation information contains all the information generated by ANSYS software during the calculation process. By accessing this information, we can obtain important characteristics of our model without the need for complicated post-processing. For instance, when using response spectrum analysis, it is necessary to perform modal analysis to determine if the selected number of modes is sufficient. Now, let us suppose the modal quality parameter coefficient should not be less than 90%,  how can we check this in ANSYS?

If you are familiar with Workbench, you can easily access this information by clicking on “Solu Information” in the solution module. Solu Information represents the calculation information of the model, and you can find the modal quality parameter coefficient and the participation factors of each mode by browsing the calculation information, as shown below:

图片[1]-How to Write Calculation Information to a Text File in ANSYS APDL-峰设教育

图片[2]-How to Write Calculation Information to a Text File in ANSYS APDL-峰设教育

In addition to the above information, users can also check many other parameters, such as the total mass of the model, the total number of elements, and the total number of nodes.

图片[3]-How to Write Calculation Information to a Text File in ANSYS APDL-峰设教育

Of course, in  APDL, you can use the *get command to obtain this information. However, this method can be cumbersome, especially if you only need to query the information. Is there a way to obtain this information in ANSYS APDL similar to Workbench? Yes, there is.

The first method is to use the classical output window, which displays all the information generated by the model during the calculation process. However, this window also records all of our operations, such as zooming and clicking, which can make it difficult to find the desired information.

图片[4]-How to Write Calculation Information to a Text File in ANSYS APDL-峰设教育

图片[5]-How to Write Calculation Information to a Text File in ANSYS APDL-峰设教育

The second method is to output the calculation information to a text file in classical APDL. This can achieve a similar effect to Workbench and makes it easier to find the information we need. To do this, we use the /output command to control the output of the information window.

Here is an example of how to use this method:

/solu
/output,Solu_Information,txt
nsel,s,loc,z,0
d,all,all
allsel,all
antype,modal
modopt,lanb,10
mxpand,10
solve
/output
/post1
set,list

Note that there are two “output” commands in the example above. The first output command must immediately follow the /solu command and specifies the name of the output file. The second output command is used to restore the information to the output window after the solution has been solved. This is done to avoid other operations being output to the file. The output file will be located in the software working directory and will look something like the example below:

图片[6]-How to Write Calculation Information to a Text File in ANSYS APDL-峰设教育

图片[7]-How to Write Calculation Information to a Text File in ANSYS APDL-峰设教育

 

Good Luck!

 

欢迎扫描如下二维码关注本站微信公众号:ANSYS结构院

有时间麻烦帮忙点击下公众号文末的广告哦, 权当码字的辛苦费,感谢大家!

Please Share Us
© 版权声明
THE END
喜欢就支持一下吧
点赞0赞赏 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码

    暂无评论内容

YOU MAY LIKE…