help Rec22
  ABAQUS plastic strain output to MATLAB
  
  Syntax
      #Rec# = Fil2str('*.fil');
      #out# = Rec22(#Rec#)
 
  Description
      Read plastic strain output from the results (*.fil) file generated
      from the ABAQUS finite element software (ABAQUS/Explicit). The
      asterisk (*) is replaced by the name of the results file. The record
      key for plastic strain output is 22. See section "Results file output
      format" in ABAQUS Analysis User's manual for more details.
      The following options with parameters have to be specified in the
      ABAQUS input file for the results (*.fil) file to be created and to
      contain plastic strain results:
          ...
          *FILE FORMAT, ASCII
          *EL FILE
          PE
          ...
      NOTE: The results file (*.fil) must be placed in the same directory
      with the MATLAB source files in order to be processed.
      
  Input parameters
      #Rec# (string) is an one-row string containing the ASCII code of the
          ABAQUS results (*.fil) file. It is generated by the function
          Fil2str.m.
  
  Output parameters
      #out# ([#n# x 6]) is a double array containing the attributes of
          the record key 22 as follows:
          Column  1  –  First plastic strain component. 
          Column  2  –  Second plastic strain component. 
          Column  3  –  Etc; followed by the equivalent plastic strain,
          actively yielding flag (yes or no, A8 format), and magnitude of
          plastic strain in Abaqus/Standard; followed by “0.0, UNUSED, 0.0”
          in Abaqus/Explicit for consistency with the length of the
          Abaqus/Standard record.
          where #n# is the number of elements multiplied by the number of
          integration points multiplied by the number of section points
          (for shell, beam, or layered solid elements) multiplied by the
          number of increments. If the results file does not contain the
          desired output, #out# will be an empty array
 
  _________________________________________________________________________
  Copyright (c) 2016
      George Papazafeiropoulos
      Captain, Infrastructure Engineer, Hellenic Air Force
      Civil Engineer, M.Sc., Ph.D. candidate, NTUA
      Email: gpapazafeiropoulos@yahoo.gr
      Website: http://users.ntua.gr/gpapazaf/