Download Programmer`s Manual for Mechanical APDL application
Transcript
7.6.2. eprget Function (Getting an Element Face Pressure) c c c output arguments: none. 7.6. Element Loading Routines 7.6.1. epriqr Function (Getting Information About Element Pressure/Convection) *deck,epriqr function epriqr (ielem,iface,key) c *** primary function: get information about element pressure/convection c *** Notice - This file contains ANSYS Confidential information *** c c c c c c c c c c c c c c c c c c c c c c c c c c c input arguments: ielem (int,sc,in) c c c output arguments: epriqr (int,func,out) iface (int,sc,in) key (int,sc,in) = 1 = 5 - element number should be zero for key=DB_NUMDEFINED or DB_MAXRECLENG - face number for inquire (0-6) face number is needed for key=5. for other values of key, iface has different meaning (see below) - key as to the information needed - return pressure mask for element - return number of pressures for this element face = DB_NUMDEFINED, = DB_MAXDEFINED - return value is based on setting of iface NOTE: both DB_NUMDEFINED and DB_MAXDEFINED produce the same functionality iface = 0 - return number of surface loads defined = 1-6 - return number of pressure loads defined for this element. NOTE: only 1-6 is valid, but this routine simply checks that iface is in the range. The actual value of iface does not matter in this case. = DB_MAXRECLENG - return the maximum number of element pressures on any element (max record length) - the returned value of epriqr is based on setting of key. 7.6.2. eprget Function (Getting an Element Face Pressure) *deck,eprget function eprget (elem,iface,value) c *** primary function: get an element face pressure c *** Notice - This file contains ANSYS Confidential information *** c c c c input arguments: elem (int,sc,in) c c c c output arguments: eprget (int,func,out) iface (int,sc,in) - element number (negative value for no partabeval) - face number (1-68) - status of element. =-1 - element has no pressures = 0 - this element face has no pressures Release 12.1 - © 2009 SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 245