FeResPost Web Site                     FeResPost Online User Manual

X.E.3 Main function

The file “testSat.rb” contains the “testSat” method that starts the loop on load cases, and where the different post-processing criteria done for each load case are selected.

The different modules that are used in the “testSat” method are made visible by several require statements:

require "util"  
require "loadCases"  
 
require "data_Post_Connect"  
require "data_Post_honeycomb"  
require "data_Post_skins"

Then, in “testSat” method, a loop on the load cases is started by calling the “each” iterator of “LoadCases” module with appropriate parameter:

   version="All"  
   LoadCases.each(version) do |db,lcName,scName|  
      PostConnect.calcAll(db,lcName,scName)  
      Post_honeycomb.calcAll(db,lcName,scName)  
      Post_skins.calcAll(db,lcName,scName)  
      GC.start  
   end

The different post-processing criteria are called in the block that follows the iterator. At the end of each load case calculation a call to the garbage collector cleans the memory.