ANSYS 支持的函数列表

ANSYS 支持的函数列表,备用与共享,以后不要老再去找了

SIN(X) Sine

COS(X) Cosine

TAN(X) Tangent

ASIN(X) Arcsine

ACOS(X) Arccosine

ATAN(X) Arctangent

ATAN2(Y,X) Arctangent (Y/X) with the sign of each component considered

SINH(X) Hyperbolic sine

COSH(X) Hyperbolic cosine

TANH(X) Hyperbolic tangent

SQRT(X) Square root

ABS(X) Absolute value

SIGN(X,Y) Absolute value of X with sign of Y. Y=0 results in positive sign

NINT(X) Nearest integer

MOD(X,Y) Remainder of X/Y Y=0 returns zero (0)

EXP(X) Exponential

LOG(X) Natural log

LOG10(X) Common log

RAND(X,Y) Random number, where X is the lower bound, and Y is the upper bound

GDIS(X,Y) Random sample of Gaussian distributions, where X is the mean, and Y is the standard deviation

LWCASE(CPARM) Lowercase equivalent of character parameter CPARM

UPCASE(CPARM) Uppercase equivalent of character parameter CPARM

VALCHR(CPARM) Numeric value of character parameter CPARM (If CPARM is a numeric parameter, returns 0.0)

CHRVAL(PARM) Character value of numerical parameter PARM. For ABS(PARM) < 10, character value format is F8.5; for 10   ABS(PARM) < 1000, format is F8.3; for 1,000   ABS(PARM)< 10,000,000, format is F8.0. For 10,000,000  PARM < 100,000,000, format is also F8.0. Otherwise result is 0.0 and is not a character value.

IBSET(b1,n2) Set the n2 bit in value b1 (bits are numbered from 0 to 31)

IBCLR(b1,n2) Clear the n2 bit in value b1

BTEST(b1,n2) Test the n2 bit in value b1 (return true (1.0) if bit is set)

BITAND(b1,b2) Bitwise AND of value b1 and b2

BITOR(b1,b2) Bitwise OR of value b1 and b2

BITXOR(b1,b2) Bitwise XOR of value b1 and b2

BITSET(b1,b2) Set the b2 bits in b1

BITCLEAR(b1,b2) Clear the b2 bits in b1

登录后免费查看全文
立即登录
App下载
技术邻APP
工程师必备
  • 项目客服
  • 培训客服
  • 平台客服

TOP

20
2
4