技術鄰?>? CAE仿真?>? 前后處理 ,Abaqus python對abaqus后處理? 50 瀏覽:1573 回答:7 求問各位大佬,我現在要對abaqus進行后處理,不通過cae界面,直接在外部利用python腳本提取所有節點的應力信息,請問python能實現嗎
可以,下面是代碼示例:
path = os.getcwd() #獲取當前目錄位置
odb = openOdb('%s' % (path+'****'+'.odb')) #打開odb文件
step1=odb.steps['Step-1'] #指定分析步
lastFrame=step1.frames[-1]#
element_volume=lastFrame.fieldOutputs['EVOL'] #單元體積
intergration_point_volume=lastFrame.fieldOutputs['IVOL'] #積分點體積
stress=lastFrame.fieldOutputs['S'] #應力
strain=lastFrame.fieldOutputs['E'] #應變