Presentation is loading. Please wait.

Presentation is loading. Please wait.

Training Manual 001419 15 Aug 2000 2.3-1 2.3 APDL Enhancements ANSYS Parametric Design Language enhancements in ANSYS 5.7 include: A.Matrix output capability.

Similar presentations


Presentation on theme: "Training Manual 001419 15 Aug 2000 2.3-1 2.3 APDL Enhancements ANSYS Parametric Design Language enhancements in ANSYS 5.7 include: A.Matrix output capability."— Presentation transcript:

1 Training Manual 001419 15 Aug 2000 2.3-1 2.3 APDL Enhancements ANSYS Parametric Design Language enhancements in ANSYS 5.7 include: A.Matrix output capability B.C format data descriptors C.String arrays and string array functions D.Miscellaneous enhancements

2 Training Manual 001419 15 Aug 2000 2.3-2 *MWRITE allows matrices to be output to a file. *MWRITE,ParR,Fname,Ext,Dir,Label,n1,n2,n3 –Writes ParR to a file using format descriptors (Fortran or C based) specified on the subsequent line –Output order controlled by Label option (JIK default) and n1, n2, n3 available to limit output –No limit to output line length –Format descriptor line limited to 80 characters APDL Enhancements A. Matrix Output Capability

3 Training Manual 001419 15 Aug 2000 2.3-3 Available with *MSG, *VWRITE, And *MWRITE commands –%I for integer, %G for double precision, %C for alphanumeric data –C descriptors assumed if first character of format line is not left paranthesis “(“ Example: *VWRITE,nmax,x1360 X Coordinate of node %I is %g Output: X Coordinate of node 1360 is 0.234567 APDL Enhancements B. C Format Data Descriptors

4 Training Manual 001419 15 Aug 2000 2.3-4 Each string can be up to 128 characters in length *DIM,strparm,STRING,IMAX,JMAX,KMAX String functions: –STRSUB(Str1,nLoc,nChar)Sub-string –STRCAT(Str1,Str2)Concatenate –STRFILL(Str1,Str2,Nloc)Fill –STRCOMP(Str1)Compress out blanks –STRLEFT(Str1)Left justify –STRPOS(Str1,Str2)Position –STRLENG(Str1)Length to last non-blank –UPCASE(Str1)Upper case –LWCASE(Str1)Lower case APDL Enhancements C. String Arrays and Functions

5 Training Manual 001419 15 Aug 2000 2.3-5 APDL Enhancements D. Miscellaneous Additional comparison operation available on the *IF and *ELSEIF commands with AND, OR, or XOR options – *IF,A,EQ,B,AND,C,GT,D,THEN Additional *GET items –Active platform name *GET,cparm,ACTIVE,,PLATFORM –Maximum number of processors available *GET,par,ACTIVE,,NPROC (also reported by the new SETNPROC command)

6 Training Manual 001419 15 Aug 2000 2.3-6 APDL Enhancements … Miscellaneous New character parameter functions –Octal or hexadecimal value of a character parameter VALOCT(cparm) VALHEX(cparm) –Octal or hexadecimal character representation of a numeric parameter CHROCT(par) CHRHEX(par)


Download ppt "Training Manual 001419 15 Aug 2000 2.3-1 2.3 APDL Enhancements ANSYS Parametric Design Language enhancements in ANSYS 5.7 include: A.Matrix output capability."

Similar presentations


Ads by Google