CAD/CAE/CAPP/CAM20088APDL1,2(1,467001;2,450000):ANSYS,,,APDL,C++BuilderANSYS,:;APDL;;C++Builder:TP39117:B:16713133(2008)08005903ParametricfiniteelementanalysisbasedonAPDLWeiYong1,WuXiang2wei2(1Mechanical&ElectronicalEngineeringdepartment,PingdingshanIndustrialInstituteofTechnological,Pingdingshan467001,Henan,CHN;2ZhongzhouUniversity,Zhengzhou450000,CHN)Abstract:Forfiniteelementanalysissoftware,suchasANSYS,itisaproblemtoanalysisbecauseofitpscomplexandcostingalotoftime,soneeduseparametricdesignmethodtooptimizeproductstructureandshortendesignperiod.Analysisandcomparethreeparametricfiniteelementmethods,andchoosethemethodofparametricfiniteelementanalysisbasedonAPDLtoexpatiate,anduseC++BuildertoencapsulatethewholeANSYSparametricanalysisprocess,attheend,useanexampletogiveaconcreteprocess.Keywords:Finiteelement;APDL;Parametric;C++Builder0ANSYS,,ANSYS,ANSYS,,ANSYS[1],40%45%,50%55%,5%,,,()[2]ANSYS(ANSYSParametricDesignLanguage,APDL),AP2DL,,,CAD[3]11)CAD(UG,Pro/E),,,2)3)APDL,,1),CAD9520088CAD/CAE/CAPP/CAM,,,;2),,1)2),;3),,,3),APDL,,ANSYSANSYSAPDLANSYS,,ANSYS,1)Bor2landC++Builder,:,,2)ANSYS,ANSYSANSYS,ANSYS,,ANSYS,,ANSYS,ANSYS1,C++,,,ANSYS,ANSYS,,122,,P,,:(),2,:,:,,211,ANSYS,ANSYS,:,,,,APDL,f2wheel.txt:fstreamoutfile;//outfilefloati,dg,t,u,l,s,E,w0,f;//dg=StrToFloat(Edit1-Text);//,outfile.open(D:\\csh\\as\\f2wheel.txt,ios::out);//:f2wheel.txtoutfile/CLEARendl;//f2wheel.txt,outfile.close();//,ANSYS,,06CAD/CAE/CAPP/CAM20088[4,5]33212ANSYSC++ANSYSANSYS,:ANSYS2iin2putfilename2ooutfilenameANSYS,ANSYS:STARTUPINFOsi;//STARTUPINFOsi,PROCESS_INFORMATIONpi;//PROCESS_INFORMATIONpi,ZeroMemory(&si,sizeof(si));//ZeroMemorysi.cb=sizeof(si);//sisi.cbZeroMemory(&pi,sizeof(pi));//ZeroMemoryCreateProcess(NULL,C:\\ProgramFiles\\AnsysInc\\v80\\ANSYS\\bin\\intel\\f2wheel.txt,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi);//CreateProcess,,ansys213,,,,JPEG,APDL:/SHOW,JPEG//jpegJPEG,QUAL,90,//JPEG,ORIENT,HORIZ//JPEG,COLOR,2//JPEG,TMOD,1///GFILE,480,//480:f2whee1000.jpg,f2whee1001.jpg,f2whee1002.jpg[6]443ANSYS,,,,,,:[1],,.ANSYS710[M].:,2004.[2],,.ANSYS710[M].:,2004.[3].APDL[M].:,2004.[4],,.VisualC++ANSYS[J].,2003(5).[5],.VCAPDL[J].:,2004(6).[6],.VCAnsys[J].,2004(6).:,,:,:3(467001)E2mail:bruck3000@yahoo.com.cn:20082042152007536301A(100053),,16