## 5.21. SUBDEF, Global Part Variable Definitions

Module subdef contains global variables pertaining to Parts.

          MODULE subdef
          USE kindef
          IMPLICIT NONE
          SAVE

          INTEGER (INT4) :: NUMSUB, NUMEUL,  NSP, NUMJON, MAXIJK, NNMZVR, NUMZNS, NDAT1
          INTEGER (INT4) :: NUMBOJ, IFIMPT, NERODED
          INTEGER (INT4), DIMENSION(LIMSUB+1) :: IJKBAS
          INTEGER (INT4), DIMENSION(LIMSUB) :: NUMPRO, NUMI, NUMJ, NUMK, MATSV
          INTEGER (INT4), DIMENSION(LIMSUB) :: IDN,JDN,ISIZ,JSIZ,KSIZ,IJKSIZ
          INTEGER (INT4), DIMENSION(LIMSUB) :: NSPACK, IOPRT, NUMEUP, NUMLAP, NMZNS
          INTEGER (INT4), DIMENSION(LIMSUB) :: IBPRT, IEPRT, JBPRT,  JEPRT, IJKBAZ
          INTEGER (INT4), DIMENSION(LIMSUB) :: KBPRT, KEPRT, IFEBVL, NPLTSL
          INTEGER (INT1), DIMENSION(LIMSUB,LIMSUB), TARGET :: JONSUB, MAPPED
          INTEGER (INT4), DIMENSION(3) :: IJKMAX
          INTEGER (INT1), DIMENSION(LIMSUB) :: IACTIV, IVOLOP
          INTEGER (INT1), DIMENSION(LIMSUB,LIMSUB) :: IFSLAV
          REAL (REAL8) :: TOLJON, TOTMAX, TOTWRK, TOTXIM, TOTYIM, TOTZIM, TOTHI
          REAL (REAL8) :: TOTMSB, TOTVLB, TOTIEB, TOTKEB, TOTDEB
          REAL (REAL8) :: TOTMS, TOTVL, TOTIE, TOTKE, TOTDE
          REAL (REAL8) :: TOTXMB, TOTYMB, TOTZMB, TOTXM, TOTYM, TOTZM
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: XSUBMN, YSUBMN, ZSUBMN
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: XSUBMX, YSUBMX, ZSUBMX
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: USUBMX, ASUBMX, SUBMS,  SUBVL
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: VARSB1, VARSB2, VARSB3, VARSB4, SUBDE
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: SUBMSB, SUBVLB, SUBDEB, SUBIE
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: SUBKE, SUBXM, SUBYM, SUBZM, SUBIEB
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: SUBKEB, SUBXMB, SUBYMB, SUBZMB
          REAL (REAL8), DIMENSION(LIMSUB), TARGET :: ACTIME, DCTIME, TSTPFC
          REAL (REAL8), DIMENSION(LIMSUB), TARGET ::  XNMIN,  XNMAX,  YNMIN,  YNMAX,  ZNMIN,
    ZNMAX
          REAL (REAL8), DIMENSION(LIMSUB) ::  AVLEN
          REAL (REAL8) :: AVLENL
          CHARACTER(LEN=10), DIMENSION(LIMSUB) :: NAMSUB
          CHARACTER(LEN=1), DIMENSION(LIMSUB) :: NEWSUB
          INTEGER (INT4) :: NSUB, NPROC, IMAX, JMAX, KMAX, NWRKSB, NPLTSB, NZSUB, NSHTYP
          INTEGER (INT4) :: NSBBEG, NSBEND, NSBLAY, MATLOC, IMAXP, JMAXP, KMAXP, KMAXBM
          INTEGER (INT4) :: NPROE, NPROL, NUMIJK, NSBOLD, IFDEZN
          REAL (REAL8) :: DUMMYV, ALERTI, ALERTJ, ALERTK, ALEFRX
          CHARACTER(LEN=10) :: DUMMYN

          END MODULE subdef

NSUB | Current Part number
NPROC | Processor type (Lagrange, Euler, and so on) for current Part
IMAX | Maximum I-index for current Part
JMAX | Maximum J-index for current Part
KMAX | Not used in 2D
NSBLAY | Number of sublayers (shell Parts)
MATLOC | Material location (shell Parts)
IMAXP | IMAX + 1
JMAXP | JMAX + 1
ALERTI | I-line spacing ratio (ALE Parts)
ALERTJ | J-line spacing ratio (ALE Parts)
ALEFRX | Relaxation coefficient (ALE Parts)

LIMSUB | Limit on number of Parts
NUMSUB | Number of Parts in problem
NUMEUL | Number of Euler Parts in problem
NSP | Current data page
NUMPRO | Processor types for Parts
NUMI | Maximum I index for Parts
NUMJ | Maximum J index for Parts
IJKBASE | Base addresses for Parts
IOPRT | Order of printout for each Part
IBPRT | Index ranges for Part prints
IEPRT | Index ranges for Part prints
JBPRT | Index ranges for Part prints
JEPRT | Index ranges for Part prints
XSUBMN | (X,Y) ranges for Parts
YSUBMN | (X,Y) ranges for Parts
XSUBMX | (X,Y) ranges for Parts
YSUBMX | (X,Y) ranges for Parts
USUBMX | Maximum velocity in Part
ASUBMX | Maximum cell area in Part
VARSB1 | not available
VARSB2 | not available
VARSB3 | not available
ACTIME | Activity times array by Part
NAMSUB | Part names
NEWSUB | Indicates if Part is newly created
TOTMAX | Total energy
TOTWRK | Total work
TOTXIM | Total X-impulse
TOTYIM | Total Y-impulse
TOTHI | Total hoop impulse
TOTMSB | Total mass at t(n)
TOTVLB | Total volume at t(n)
TOTIEB | Total internal energy at t(n)
TOTKEB | Total kinetic energy at t(n)
TOTDEB | Total distortional energy at t(n)
TOTXMB | Total X-momentum at t(n)
TOTYMB | Total Y-momentum at t(n)
TOTMS | Total mass at t(n+1)
TOTVL | Total volume at t(n+1)
TOTIE | Total internal energy at t(n+1)
TOTKE | Total kinetic energy at t(n+1)
TOTDE | Total distortional energy at t(n+1)
TOTXM | Total X-momentum at t(n+1)
TOTYM | Total Y-momentum at t(n+1)
SUBMS | Part masses at t(n+1)
SUBVL | Part volume at t(n+1)
SUBDE | Part distortional energy at t(n+1)
SUBMSB | Part masses at t(n)
SUBVLB | Part volume at t(n)
SUBDEB | Part distortional energy at t(n)
SUBIE | Part internal energy at t(n+1)
SUBKE | Part kinetic energy at t(n+1)
SUBXM | Part X-momentum at t(n+1)
SUBYM | Part Y-momentum at t(n+1)
SUBIEB | Part internal energy at t(n)
SUBKEB | Part kinetic energy at t(n)
SUBXMB | Part X-momentum at t(n)
SUBYMB | Part Y-momentum at t(n)
NUMJON | Joined Part switch
JONSUB | Joined Part array
TOLJON | Joined Part tolerance
MATSV | not available

Release 18.2 - © ANSYS, Inc. All rights reserved.