欢迎来到天天文库
浏览记录
ID:10224848
大小:230.50 KB
页数:17页
时间:2018-06-12
《python scripting in abaqus》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、PythonScriptinginABAQUSPythonScriptinginABAQUSKevinMaxwellTexasA&MUniversityAugust30,2006IntroductionABAQUSCAEprovidesagraphicaluserinterfacethatallowstheusertocreatefiniteelementmodelsthatcanthenbeanalyzedinABAQUSStandard.ForeveryfeatureinCAE,thereisacorrespondingPythonscriptcomma
2、ndthattheprogramuseswhencreatingthemodel.Ifthelanguageisunderstoodwellenough,anentiremodelcanbecreatedsimplybyrunningascriptfile.Whileonecouldwriteanentirescriptfromscratch,ABAQUSprovidesseveraleasiermethodsthatautogeneratePythoncommands.WhenamodeliscreatedinCAE,twofilesareautomati
3、callycreatedintheworkdirectory.ThereplayfilerecordseveryactionthatisperformedinCAEincludingcamerazoom/panningcommandsandalsoanymistakesthatweremadeandthencorrected.Thisfilecanberunto“replay”alltheworkthathasbeendoneonthemodel.Therecoverfilerecordsonlytheminimumnecessarycommandstore
4、createthemodel.IfanerroroccursandCAEcloseswithoutsaving,therecoverfilecanberuntorecreatethemodel.Whenamodelissaved,CAEusestherecoverfiletowriteajournalfile.Thejournalfileisacomprehensivescriptthatshowsallworksavedonthemodel.Notethattherecoverfileisdeletedwheneverthemodelissavedanda
5、llofitscommandsaretransferredtothejournalfile.TherecoverandjournalfilesprovideaneasyalternativetowritingPythonscriptsfromscratch.OnecansimplydefineamodelinCAEandthensavethePythoncommandsfromtherecoverorjournalfilesasaseparatescriptfile.Thereareseveralvaluablesourcesofinformationper
6、tainingtoscriptinginABAQUS.TheABAQUSScriptingUser’sManualandABAQUSScriptingReferenceManualareinvaluableresourcesthatareincludedintheABAQUSdocumentation.Theuser’smanualgivesanoverviewtoscriptingwhilethereferencemanualprovidesin-depthcoverageofeveryscriptingcommandusedinABAQUS.Anothe
7、rsourceofinformationcanbefoundathttp://www.python.org.ThiswebsitecontainsnumerousresourcesdealingwiththePythonlanguageingeneral.ExampleToillustratetheprocedureforauto-generatingPythonscripts,thecruciformspecimenusedforinterfacialnormalstrengthtestingwillbemodeled.Thisspecimenisshow
8、ninFigure1.Ascanbeseenfrom
此文档下载收益归作者所有