Contains proprietary and confidential information of ANSYS, Inc.
and its subsidiaries and affiliates Page ! 3.8. Parametric Functions A parametric function is a programmed se"uence of mat#ematical operations $#ic# returns a single %alue, suc# as SIN&'(, S)*+&,(, and L-G&!../(. +#e follo$ing table pro%ides a complete list of functions currently a%ailable in ANSYS. A,S&0( Absolute %alue of 0. SIGN&0,y( Absolute %alue of 0 $it# sign of y. y12 results in positi%e sign. C'A,S&0,y( Absolute %alue of t#e comple0 number 0 3 yi & ( 4'P&0( 40ponential of 0 &e 0 (. L-G&0( Natural log of 0 &ln &0((. L-G!2&0( Common log of 0 &log !2 &0((. S)*+&0( S"uare root of 0. NIN+&0( Nearest integer to 0. 5-D&0,y( *emainder of 06y, computed as 0 7 &IN+&06y( 8 y(. y12 returns 9ero &2(. *AND&0,y( *andom number &uniform distribution( in t#e range 0 to y &0 1 lo$er bound, y 1 upper bound(. GDIS&0,y( *andom sample of a Gaussian &normal( distribution $it# mean 0 and standard de%iation y. ANSYS Parametric Design Language Guide Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates Page / SIN&0(, C-S&0(, +AN&0( Sine, Cosine, and +angent of 0. 0 is in radians by default, but can be c#anged to degrees $it# *AFUN. SIN:&0(, C-S:&0(, +AN:&0( :yperbolic sine, :yperbolic cosine, and :yperbolic tangent of 0. ASIN&0(, AC-S&0(, A+AN&0( Arcsine, Arccosine, and Arctangent of 0. 0 must be bet$een 7!.2 and 3!.2 for ASIN and AC-S. -utput is in radians by default, but can be c#anged to degrees $it# *AFUN. *ange of output is 7pi6/ to 3pi6/ for ASIN and A+AN, and 2 to pi for AC-S. A+AN/&y,0( Arctangent of y60 $it# t#e sign of eac# component considered. -utput is in radians by default, but can be c#anged to degrees $it# *AFUN. *ange of output is 7pi to 3pi. ;ALC:* &CPARM Numerical %alue of CPARM &if CPARM is non7numeric, returns 2.2(. C:*;AL &PARM( C#aracter %alue of numerical parameter PARM. Number of decimal places depends on magnitude. <PCAS4 CPARM <pper case e"ui%alent of CPARM. L=CAS4 &CPA*5( Lo$er case e"ui%alent of CPARM. +#e follo$ing are e0amples of parametric functions PI1AC-S&7!( > PI 1 arc cosine of 7!, PI calculated to mac#ine accuracy ?.1C-S&/8+:4+A(7?!88/ */1S)*+&A,S&*!7.(( '1*AND&7/@,*/( > ' 1 random number bet$een 7/@ and */ ANSYS Parametric Design Language Guide Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates Page . 8AA<N,D4G > <nits for angular functions are degrees +:4+A1A+AN&S)*+&.(( > +:4+A e%aluates to B2 degrees P:I1A+AN/&7S)*+&.(,7!( > P:I e%aluates to 7!/2 degrees 8AA<N,*AD > <nits for angular functions reset to radians '/@C1N'&/@C( > '7coordinate of node /@C SL-P41&DY&/(7DY&!((6&D'&/(7D'&!(( > Slope of line Eoining Feypoints ! and / C:N<51C:*;AL&'( > C:N<5 1 c#aracter %alue of ' <PP4*1<PCAS4&LA,4L( > <PP4* 1 uppercase c#aracter %alue of parameter LA,4L *elease !@.G 7 H SAS IP, Inc. All rig#ts reser%ed.