help Rec21
  ABAQUS total strain output to MATLAB
  
  Syntax
      #Rec# = Fil2str('*.fil');
      #out# = Rec21(#Rec#)
 
  Description
      Read strain output from the results (*.fil) file generated from the
      ABAQUS finite element software. The asterisk (*) is replaced by the
      name of the results file. The record key for strain output is 21. 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 strain results:
          ...
          *FILE FORMAT, ASCII
          *EL FILE
          E
          ...
      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 #m#]) is a double array containing the attributes of
          the record key 21 as follows:
          Column  1  –  First strain component. 
          Column  2  –  Second strain component. 
          Column  3  –  Etc. (See “Elements” in Abaqus Analysis User's
          Manual for a description of the components for a given element
          type).
          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, and #m# is the number of strain components
          of each element. 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/