我要加入 登录
声振论坛 返回首页

FSI的个人空间 http://home.vibunion.com/?13 [收藏] [复制] [分享] [RSS]

日志

APDL转换浮点数为给定的字符格式

已有 1063 次阅读2007-6-17 17:01

# file: num2str.tcl
# num2str in tcl/tk
# get float number "foo" from ansys
# output string "strfoo" in certain format

proc num2str_ {} {

set foo [ans_getvalue parm, foo ,value]
ans_sendcommand [format "strfoo='%8.6f'" $foo]
}



num2str_ansys command line 中运行


~eui, 'source num2str.tcl'

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 我要加入

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-3-29 12:36 , Processed in 0.040892 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部