Download Programmer`s Manual for ANSYS
Transcript
Chapter 7: Accessing the ANSYS Database c c subroutine echrtr (iott,elcdn,ielc,kerr) primary function: collect all element characteristics based on ityp,jtyp, and keyopts c *** Notice - This file contains ANSYS Confidential information *** c c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout c c input arguments: c variable (typ,siz,intent) description c iott (int,sc,in) - printout file c ielc (int,ar(IELCSZ),inout) - input element characteristics c in positions 1 to 20. c (itype, jstif, keyopts, etc.) c c output arguments: c elcdn (chr,sc,out) - element descriptive name as character c string c ielc (int,ar(IELCSZ),inout) - input element characteristics c in positions 21 to 150. c (kdim, ishap, idegen, etc.) c see elccmt for a full list c kerr (int,sc,out) - error flag c = 0 - no errors c = 1 - errors c 7.5.8. etysel Subroutine (Selecting, Unselecting, Deleting, or Inverting an Element Type) *deck,etysel subroutine etysel (itypi,ksel) c *** primary function: to select, unselect, delete, or invert an c element type. c *** secondary functions: none. c c *** Notice - This file contains ANSYS Confidential information *** c c typ=int,dp,log,chr,dcp siz=sc,ar(n),func intent=in,out,inout c c input arguments: c variable (typ,siz,intent) description c itypi (int,sc,in) - element type number c = 0 - all element types c ksel (int,sc,in) - type of operation to be performed. c = 0 - delete element type. c = 1 - select element type. c =-1 - unselect element type. c = 2 - invert element type. c c output arguments: c none. c 7.5.9. mpinqr Function (Getting Information About a Material Property) *deck,mpinqr function mpinqr (mat,iprop,key) c *** primary function: get information about a material property. c *** Notice - This file contains ANSYS Confidential information *** c c c c c c 204 input arguments: mat (int,sc,in) - material number should be 0 for key=11, DB_NUMDEFINED(12), DB_MAXDEFINED(14), and DB_MAXRECLENG(15) Programmer's Manual for ANSYS . ANSYS Release 11.0 . 002328 . © SAS IP, Inc. All rights reserved. Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.