def OnInit(self): self.com = commandparser() self.worker = None self.OnStart(None) self.mainframe = MainFrame(None,self.com.model,self) self.resframe = ResultFrame(self.mainframe,self.com.results) self.mainframe.Show() #self.resframe.Show() pub.subscribe(self.OnCommand, "COMMAND") pub.subscribe(self.OnGUI, "GUI") pub.subscribe(self.OnGUIREFRESH, "GUIREFRESH") redir = RedirectText(self.mainframe.TextMessage) sys.stdout = redir print '*Webfe desktop version started on %s' % datetime.datetime.now() # Set up event handler for any worker thread results EVT_RESULT(self,self.OnResult) return True
def test_poledent(): c1 = commandparser() c1.parser( '*procedure_pole_imposedent,-1000,1000,50,60,100,20,50,50,True,True,-500,500' ) c1.parser('*save_project,temp.pydat') c1.parser('*export_marc_dat,default,dd.proc')
def post_dowel(filename): c1 = commandparser() c1.parser('*add_current_settings,filename,%s' % filename) c1.parser( '*macro_load,C:\\Users\\junlings\\Desktop\\dowel action\\codes Finite length\\plots\\popsrprocessf.mac' )
def test_procedure_fillwrap(): c1 = commandparser() #c1.parser('*procedure_pole_imposedent,-1543.5,1102.5,70,56,294,44,31,450,True,True,-441,441') c1.parser( '*procedure_pole_imposedent,-1543.5,1102.5,70,56,294,44,31,450,True,True,-441,441' ) c1.parser('*save_project,temp.pydat') c1.parser('*export_marc_dat,default,dd.proc')
def OnInit(self): self.com = commandparser() self.worker = None self.OnStart(None) self.mainframe = MainFrame(None, self.com.model, self) self.resframe = ResultFrame(self.mainframe, self.com.results) self.mainframe.Show() #self.resframe.Show() pub.subscribe(self.OnCommand, "COMMAND") pub.subscribe(self.OnGUI, "GUI") pub.subscribe(self.OnGUIREFRESH, "GUIREFRESH") redir = RedirectText(self.mainframe.TextMessage) sys.stdout = redir print '*Webfe desktop version started on %s' % datetime.datetime.now() # Set up event handler for any worker thread results EVT_RESULT(self, self.OnResult) return True
if self.resframe == None: self.resframe = ResultFrame(self,self.results) self.resframe.Show() else: try: self.resframe.SetFocus() self.resframe.OnResChange(event) except: self.resframe = ResultFrame(None,self.com.results) self.resframe.Show() elif 'show_figure' in request.data: fkey = request.data.split(':')[1] self.resframe.OnAddFigurePage(fkey) if __name__ == '__main__': for arg in sys.argv: print arg # take care of the command line inputs with mac file if '-f' in sys.argv: commandsys = commandparser() commandsys.macro_load(sys.argv[2]) else: app = MyApp(False) app.MainLoop()
def post_dowel(): c1 = commandparser() c1.parser('*macro_load,M:\\marcworking\\haider_beam\\postprocess new.mac')
def post_dowel(): c1 = commandparser() c1.parser('*macro_load,M:\\marcworking\\dowel\\dowel_base\\full\\posyprocess.mac')
def post_dowel(filename): c1 = commandparser() c1.parser('*add_current_settings,filename,%s' % filename ) c1.parser('*macro_load,C:\\Users\\junlings\\Desktop\\dowel action\\codes Finite length\\plots\\popsrprocessf.mac')
elif request.data == 'show_resultframe': if self.resframe == None: self.resframe = ResultFrame(self, self.results) self.resframe.Show() else: try: self.resframe.SetFocus() self.resframe.OnResChange(event) except: self.resframe = ResultFrame(None, self.com.results) self.resframe.Show() elif 'show_figure' in request.data: fkey = request.data.split(':')[1] self.resframe.OnAddFigurePage(fkey) if __name__ == '__main__': for arg in sys.argv: print arg # take care of the command line inputs with mac file if '-f' in sys.argv: commandsys = commandparser() commandsys.macro_load(sys.argv[2]) else: app = MyApp(False) app.MainLoop()
def test_procedure_fillwrap(): c1 = commandparser() #c1.parser('*procedure_pole_imposedent,-1543.5,1102.5,70,56,294,44,31,450,True,True,-441,441') c1.parser('*procedure_pole_imposedent,-1543.5,1102.5,70,56,294,44,31,450,True,True,-441,441') c1.parser('*save_project,temp.pydat') c1.parser('*export_marc_dat,default,dd.proc')
def test_poledent(): c1 = commandparser() c1.parser('*procedure_pole_imposedent,-1000,1000,50,60,100,20,50,50,True,True,-500,500') c1.parser('*save_project,temp.pydat') c1.parser('*export_marc_dat,default,dd.proc')
def post_dowel(): c1 = commandparser() c1.parser( '*macro_load,M:\\marcworking\\dowel\\dowel_base\\full\\posyprocess.mac' )
def test_postprocess(): c1 = commandparser() ''' c1.parser('*post_marc_t16_open,M:\\marcworking\\Tbeam_interface_tune\\1t1s\\1t1s_elastic.t16') c1.parser('*post_marc_t16_addrequest,Time_837,Time,58.63,-1,1000,1') c1.parser('*post_marc_t16_addrequest,Node Scalar_8481,Node Scalar,Displacement Y,MIDDLE_NODE,-1,1000,1') c1.parser('*post_marc_t16_addrequest,Element Scalar_9571,Element Scalar,Comp 11 of Total Strain,0,MIDDLE_REBAR_ELEMENT,-1,1000,1') c1.parser('*post_marc_t16_addrequest,Element Scalar_9668,Element Scalar,Comp 11 of Total Strain,-1,REBAR_ELEMENTS,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,BOTTOM_INTERFACE11,Element Scalar,Comp 11 of Stress,-1,BOTTOM_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,TOP_INTERFACE11,Element Scalar,Comp 11 of Stress,-1,TOP_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,BOTTOM_INTERFACE22,Element Scalar,Comp 22 of Stress,-1,BOTTOM_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,TOP_INTERFACE22,Element Scalar,Comp 22 of Stress,-1,TOP_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,BOTTOM_INTERFACE33,Element Scalar,Comp 33 of Stress,-1,BOTTOM_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,TOP_INTERFACE33,Element Scalar,Comp 33 of Stress,-1,TOP_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_getdata') c1.parser('*plot_edit_tdb_increment,RebarIncrments,Element Scalar_9668,-1,-1,1') c1.parser('*plot_edit_tdb_increment,TopInterfaceIncrments11,TOP_INTERFACE11,-1,-1,1') c1.parser('*plot_edit_tdb_increment,BotInterfaceIncrments11,BOTTOM_INTERFACE11,-1,-1,1') c1.parser('*plot_edit_tdb_increment,TopInterfaceIncrments22,TOP_INTERFACE22,-1,-1,1') c1.parser('*plot_edit_tdb_increment,BotInterfaceIncrments22,BOTTOM_INTERFACE22,-1,-1,1') c1.parser('*plot_edit_tdb_increment,TopInterfaceIncrments33,TOP_INTERFACE33,-1,-1,1') c1.parser('*plot_edit_tdb_increment,BotInterfaceIncrments33,BOTTOM_INTERFACE33,-1,-1,1') c1.parser('*import_marc_dat,M:\\marcworking\\Tbeam_interface_tune\\1t1s\\1t1s_elastic.dat,Extended') # read csv test results c1.parser('*post_plain_new') c1.parser('*post_plain_filelist ,M:\\marcworking\\Tbeam_interface_tune\\1t1s\\s_1t1s_hook.csv') # update the units of the FEM results c1.parser('*plot_edit_tdb_table_unit,Node Scalar_8481,0:0,in.') c1.parser('*plot_edit_tdb_table_unit,Time_837,0:0,kip') c1.parser('*post_save,tt.pyres') c1.parser('*save_project,tt.pydat') ''' c1.parser('*open_project,tt.pydat') c1.parser('*post_load,tt.pyres') c1.parser( '*plot_edit_tdb_coordlist,BOTTOM_INTERFACE11,BOTTOM_INTERFACE_coord') c1.parser('*plot_edit_tdb_coordlist,TOP_INTERFACE11,TOP_INTERFACE_coord') c1.parser('*plot_edit_tdb_coordlist,Element Scalar_9668,Rebar Location') # add load versus displacement curve c1.parser( '*plot_pdata_add,plot_448,Node Scalar_8481:Node_865|col_flipsign,Time_837:time' ) c1.parser('*plot_pdata_add,plot_448,s_1t1s_hook:S.Pot-3,s_1t1s_hook:Load') c1.parser('*plot_figure_add,plot_448,plot_448,test,line-one axis') c1.parser('*plot_figure_save,plot_448,jpg,loaddisp.jpg') # add load versus bottom strain curve c1.parser( '*plot_pdata_add,plot_strain,Element Scalar_9571:Elem_240-0,Time_837:time' ) c1.parser('*plot_pdata_add,plot_strain,s_1t1s_hook:S.G-0,s_1t1s_hook:Load') c1.parser('*plot_figure_add,plot_strain,plot_strain,test,line-one axis') c1.parser('*plot_figure_save,plot_strain,jpg,loadstrain.jpg') # add rebar strain distribution for certain increment c1.parser( '*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:10' ) c1.parser( '*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:20' ) c1.parser( '*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:30' ) c1.parser( '*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:40' ) c1.parser( '*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:49' ) c1.parser( '*plot_figure_add,plot_rebstrain,plot_rebstrain,test,line-one axis') c1.parser('*plot_figure_save,plot_rebstrain,jpg,rebarstrainincr.jpg') # add rebar strain distribution for certain increment c1.parser( '*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:10' ) c1.parser( '*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:20' ) c1.parser( '*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:30' ) c1.parser( '*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:40' ) c1.parser( '*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:49' ) c1.parser( '*plot_figure_add,plot_topstrain11,plot_topstrain11,test,line-one axis' ) c1.parser('*plot_figure_save,plot_topstrain11,jpg,topstrainincr11.jpg') # add rebar strain distribution for certain increment c1.parser( '*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:10' ) c1.parser( '*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:20' ) c1.parser( '*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:30' ) c1.parser( '*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:40' ) c1.parser( '*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:49' ) c1.parser( '*plot_figure_add,plot_botstrain11,plot_botstrain11,test,line-one axis' ) c1.parser('*plot_figure_save,plot_botstrain11,jpg,botstrainincr11.jpg') # add rebar strain distribution for certain increment c1.parser( '*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:10' ) c1.parser( '*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:20' ) c1.parser( '*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:30' ) c1.parser( '*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:40' ) c1.parser( '*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:49' ) c1.parser( '*plot_figure_add,plot_topstrain22,plot_topstrain22,test,line-one axis' ) c1.parser('*plot_figure_save,plot_topstrain22,jpg,topstrainincr22.jpg') # add rebar strain distribution for certain increment c1.parser( '*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:10' ) c1.parser( '*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:20' ) c1.parser( '*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:30' ) c1.parser( '*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:40' ) c1.parser( '*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:49' ) c1.parser( '*plot_figure_add,plot_botstrain22,plot_botstrain22,test,line-one axis' ) c1.parser('*plot_figure_save,plot_botstrain22,jpg,botstrainincr22.jpg') # add rebar strain distribution for certain increment c1.parser( '*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:10' ) c1.parser( '*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:20' ) c1.parser( '*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:30' ) c1.parser( '*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:40' ) c1.parser( '*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:49' ) c1.parser( '*plot_figure_add,plot_topstrain33,plot_topstrain33,test,line-one axis' ) c1.parser('*plot_figure_save,plot_topstrain33,jpg,topstrainincr33.jpg') # add rebar strain distribution for certain increment c1.parser( '*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:10' ) c1.parser( '*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:20' ) c1.parser( '*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:30' ) c1.parser( '*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:40' ) c1.parser( '*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:49' ) c1.parser( '*plot_figure_add,plot_botstrain33,plot_botstrain33,test,line-one axis' ) c1.parser('*plot_figure_save,plot_botstrain33,jpg,botstrainincr33.jpg') #c1.results.save('tt.pyres') #c1.parser('*save_project,tt.pydat') print 1
def test_procedure_interfaceshear(): c1 = commandparser() #c1.parser('*procedure_pole_imposedent,-1543.5,1102.5,70,56,294,44,31,450,True,True,-441,441') c1.parser('*procedure_interface3d,single,40,40,0,80,20,10,2,2') c1.parser('*save_project,temp.pydat') c1.parser('*export_marc_dat,default,dd.proc')
def test_postprocess(): c1 = commandparser() ''' c1.parser('*post_marc_t16_open,M:\\marcworking\\Tbeam_interface_tune\\1t1s\\1t1s_elastic.t16') c1.parser('*post_marc_t16_addrequest,Time_837,Time,58.63,-1,1000,1') c1.parser('*post_marc_t16_addrequest,Node Scalar_8481,Node Scalar,Displacement Y,MIDDLE_NODE,-1,1000,1') c1.parser('*post_marc_t16_addrequest,Element Scalar_9571,Element Scalar,Comp 11 of Total Strain,0,MIDDLE_REBAR_ELEMENT,-1,1000,1') c1.parser('*post_marc_t16_addrequest,Element Scalar_9668,Element Scalar,Comp 11 of Total Strain,-1,REBAR_ELEMENTS,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,BOTTOM_INTERFACE11,Element Scalar,Comp 11 of Stress,-1,BOTTOM_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,TOP_INTERFACE11,Element Scalar,Comp 11 of Stress,-1,TOP_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,BOTTOM_INTERFACE22,Element Scalar,Comp 22 of Stress,-1,BOTTOM_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,TOP_INTERFACE22,Element Scalar,Comp 22 of Stress,-1,TOP_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,BOTTOM_INTERFACE33,Element Scalar,Comp 33 of Stress,-1,BOTTOM_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_addrequest,TOP_INTERFACE33,Element Scalar,Comp 33 of Stress,-1,TOP_INTERFACE,-1,1e6,1') c1.parser('*post_marc_t16_getdata') c1.parser('*plot_edit_tdb_increment,RebarIncrments,Element Scalar_9668,-1,-1,1') c1.parser('*plot_edit_tdb_increment,TopInterfaceIncrments11,TOP_INTERFACE11,-1,-1,1') c1.parser('*plot_edit_tdb_increment,BotInterfaceIncrments11,BOTTOM_INTERFACE11,-1,-1,1') c1.parser('*plot_edit_tdb_increment,TopInterfaceIncrments22,TOP_INTERFACE22,-1,-1,1') c1.parser('*plot_edit_tdb_increment,BotInterfaceIncrments22,BOTTOM_INTERFACE22,-1,-1,1') c1.parser('*plot_edit_tdb_increment,TopInterfaceIncrments33,TOP_INTERFACE33,-1,-1,1') c1.parser('*plot_edit_tdb_increment,BotInterfaceIncrments33,BOTTOM_INTERFACE33,-1,-1,1') c1.parser('*import_marc_dat,M:\\marcworking\\Tbeam_interface_tune\\1t1s\\1t1s_elastic.dat,Extended') # read csv test results c1.parser('*post_plain_new') c1.parser('*post_plain_filelist ,M:\\marcworking\\Tbeam_interface_tune\\1t1s\\s_1t1s_hook.csv') # update the units of the FEM results c1.parser('*plot_edit_tdb_table_unit,Node Scalar_8481,0:0,in.') c1.parser('*plot_edit_tdb_table_unit,Time_837,0:0,kip') c1.parser('*post_save,tt.pyres') c1.parser('*save_project,tt.pydat') ''' c1.parser('*open_project,tt.pydat') c1.parser('*post_load,tt.pyres') c1.parser('*plot_edit_tdb_coordlist,BOTTOM_INTERFACE11,BOTTOM_INTERFACE_coord') c1.parser('*plot_edit_tdb_coordlist,TOP_INTERFACE11,TOP_INTERFACE_coord') c1.parser('*plot_edit_tdb_coordlist,Element Scalar_9668,Rebar Location') # add load versus displacement curve c1.parser('*plot_pdata_add,plot_448,Node Scalar_8481:Node_865|col_flipsign,Time_837:time') c1.parser('*plot_pdata_add,plot_448,s_1t1s_hook:S.Pot-3,s_1t1s_hook:Load') c1.parser('*plot_figure_add,plot_448,plot_448,test,line-one axis') c1.parser('*plot_figure_save,plot_448,jpg,loaddisp.jpg') # add load versus bottom strain curve c1.parser('*plot_pdata_add,plot_strain,Element Scalar_9571:Elem_240-0,Time_837:time') c1.parser('*plot_pdata_add,plot_strain,s_1t1s_hook:S.G-0,s_1t1s_hook:Load') c1.parser('*plot_figure_add,plot_strain,plot_strain,test,line-one axis') c1.parser('*plot_figure_save,plot_strain,jpg,loadstrain.jpg') # add rebar strain distribution for certain increment c1.parser('*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:10') c1.parser('*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:20') c1.parser('*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:30') c1.parser('*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:40') c1.parser('*plot_pdata_add,plot_rebstrain,Rebar Location:Coord X,RebarIncrments:49') c1.parser('*plot_figure_add,plot_rebstrain,plot_rebstrain,test,line-one axis') c1.parser('*plot_figure_save,plot_rebstrain,jpg,rebarstrainincr.jpg') # add rebar strain distribution for certain increment c1.parser('*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:10') c1.parser('*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:20') c1.parser('*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:30') c1.parser('*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:40') c1.parser('*plot_pdata_add,plot_topstrain11,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments11:49') c1.parser('*plot_figure_add,plot_topstrain11,plot_topstrain11,test,line-one axis') c1.parser('*plot_figure_save,plot_topstrain11,jpg,topstrainincr11.jpg') # add rebar strain distribution for certain increment c1.parser('*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:10') c1.parser('*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:20') c1.parser('*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:30') c1.parser('*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:40') c1.parser('*plot_pdata_add,plot_botstrain11,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments11:49') c1.parser('*plot_figure_add,plot_botstrain11,plot_botstrain11,test,line-one axis') c1.parser('*plot_figure_save,plot_botstrain11,jpg,botstrainincr11.jpg') # add rebar strain distribution for certain increment c1.parser('*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:10') c1.parser('*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:20') c1.parser('*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:30') c1.parser('*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:40') c1.parser('*plot_pdata_add,plot_topstrain22,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments22:49') c1.parser('*plot_figure_add,plot_topstrain22,plot_topstrain22,test,line-one axis') c1.parser('*plot_figure_save,plot_topstrain22,jpg,topstrainincr22.jpg') # add rebar strain distribution for certain increment c1.parser('*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:10') c1.parser('*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:20') c1.parser('*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:30') c1.parser('*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:40') c1.parser('*plot_pdata_add,plot_botstrain22,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments22:49') c1.parser('*plot_figure_add,plot_botstrain22,plot_botstrain22,test,line-one axis') c1.parser('*plot_figure_save,plot_botstrain22,jpg,botstrainincr22.jpg') # add rebar strain distribution for certain increment c1.parser('*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:10') c1.parser('*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:20') c1.parser('*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:30') c1.parser('*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:40') c1.parser('*plot_pdata_add,plot_topstrain33,TOP_INTERFACE_coord:Coord X,TopInterfaceIncrments33:49') c1.parser('*plot_figure_add,plot_topstrain33,plot_topstrain33,test,line-one axis') c1.parser('*plot_figure_save,plot_topstrain33,jpg,topstrainincr33.jpg') # add rebar strain distribution for certain increment c1.parser('*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:10') c1.parser('*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:20') c1.parser('*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:30') c1.parser('*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:40') c1.parser('*plot_pdata_add,plot_botstrain33,BOTTOM_INTERFACE_coord:Coord X,BotInterfaceIncrments33:49') c1.parser('*plot_figure_add,plot_botstrain33,plot_botstrain33,test,line-one axis') c1.parser('*plot_figure_save,plot_botstrain33,jpg,botstrainincr33.jpg') #c1.results.save('tt.pyres') #c1.parser('*save_project,tt.pydat') print 1