2022年ANSYSAPDL中的函数汇总 .pdf

上传人:C****o 文档编号:33384871 上传时间:2022-08-10 格式:PDF 页数:4 大小:80.59KB
返回 下载 相关 举报
2022年ANSYSAPDL中的函数汇总 .pdf_第1页
第1页 / 共4页
2022年ANSYSAPDL中的函数汇总 .pdf_第2页
第2页 / 共4页
点击查看更多>>
资源描述

《2022年ANSYSAPDL中的函数汇总 .pdf》由会员分享,可在线阅读,更多相关《2022年ANSYSAPDL中的函数汇总 .pdf(4页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、1.ANSYS同 fortran相类似的函数ABS(x) Absolute value of x. SIGN(x,y) Absolute value of x with sign of y. y=0 results in positive sign. EXP(x) Exponential of x (ex). LOG(x) Natural log of x (ln (x). LOG10(x) Common log of x (log10(x). SQRT(x) Square root of x. NINT(x) Nearest integer to x. MOD(x,y) Remainder

2、of x/y, computed as x - (INT(x/y) * y). y=0 returns zero (0). RAND(x,y) Random number (uniform distribution) in the range x to y (x = lower bound, y = upper bound). GDIS(x,y) Random sample of a Gaussian (normal) distribution with mean x and standard deviation y. SIN(x), COS(x), TAN(x) Sine, Cosine,

3、and Tangent of x. x is in radians by default, but can be changed to degrees with *AFUN . SINH(x), COSH(x), TANH(x) Hyperbolic sine, Hyperbolic cosine, and Hyperbolic tangent of x. ASIN(x), ACOS(x), ATAN(x) Arcsine, Arccosine, and Arctangent of x. x must be between -1.0 and +1.0 for ASIN and ACOS. Ou

4、tput is in radians by default, but can be changed to degrees with *AFUN . Range of output is -pi/2 to +pi/2 for ASIN and ATAN, and 0 to pi for ACOS. ATAN2(y,x) Arctangent of y/x with the sign of each component considered. Output is in radians by default, but can be changed to degrees with *AFUN . Ra

5、nge of output is -pi to +pi. VALCHR (CPARM Numerical value of CPARM (if CPARM is non-numeric, returns 0.0). CHRVAL (PARM) Character value of numerical parameter PARM. Number of decimal places depends on magnitude. UPCASE CPARM Upper case equivalent of CPARM. LWCASE (CPARM) Lower case equivalent of C

6、PARM. 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 4 页 - - - - - - - - - 2. ANSYS中控制函数APDL Command Action It Takes Usage Tips *DODefines the start of a do loop. The commands following the *DOcommand execute (up to the *ENDDOcommand) repeatedly until some loop

7、 control is satisfied. You can also control looping via the *IF command. ANSYS allows up to 20 levels of nested “do” loops, although “do” loops that include /INPUT, *USE , or an “unknown ” command macro support fewer nesting levels because they do internal file switching. *DO , *ENDDO , *CYCLE , and

8、 *EXIT commands in a “do” loop must all read from the same file or the keyboard. Do not include picking operations in a “do” loop.Be careful if you include a /CLEAR command within a do-loop. The /CLEAR command does not clear the do-loop stack, but it does clear all parameters including the loop para

9、meter in the *DOstatement itself. You can avoid the problem of having an undefined looping value by issuing a PARSAV command before the /CLEAR command, and then following the /CLEARcommand with a PARREScommand. *ENDDO Ends a do loop and starts the looping action. You must use one *ENDDO command for

10、each nested do loop. The *ENDDOand *DOcommands for a loop must be on the same file. *CYCLE When executing a do loop, ANSYS bypasses all commands between the You can use the cycle option conditionally (via the *IFcommand). The *CYCLE command must 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - -

11、 - 名师精心整理 - - - - - - - 第 2 页,共 4 页 - - - - - - - - - *CYCLE and *ENDDOcommands, then (if applicable) initiates the next loop. appear on the same file as the *DOcommand and must appear before the *ENDDO command. *EXITExits from a do loop. The command following the *ENDDOcommand executes next. The *E

12、XITand *DOcommands for a loop must be on the same file. You can use the exit option conditionally (via the *IF command). *IFCauses commands to be read conditionally. You can have up to 10 nested levels of *IF blocks. You cannot jump into, out of, or within a do loop or an if-then-else construct to a

13、 :label line, and jumping to a :label line is not allowed with keyboard entry. You can issue a /CLEARcommand within an if-then-else construct. The /CLEAR command does not clear the *IF stack and the number of *IF levels is retained. An *ENDIF is necessary to close any branching logic. The /CLEAR com

14、mand deletes all parameters, including any that are used in your branching commands. You can avoid any problems that might arise from the deletion of parameters by issuing a PARSAV command before the /CLEAR command, and then following the /CLEARcommand with a PARRES command. *ENDIFTerminates an if-t

15、hen-else construct. (See the *IF discussion for details.) The *IF and *ENDIF commands must appear in the same file. 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 4 页 - - - - - - - - - *ELSECreates a final, optional block separator within an if-then-else constr

16、uct. (See the *IF discussion for details.) The *ELSE and *IF commands must appear in the same file. *ELSEIF Creates an optional, intermediate block separator within an if-then-else construct. If Oper = EQ or NE, VAL1 and VAL2 can also be character strings (enclosed in quotes) or parameters. The *IFand *ELSEIF commands must be on the same file. 3. ANSYS中有关单元和节点的相关函数*get 或者*vget ,vget 命令。或参考: ANSYS HELP 中 APDL部分的Appendix B. GET Function Summary。名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 4 页 - - - - - - - - -

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com