版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
练习输入文件ANSYS入门–第一篇
附录A
附录A
练习输入文件Workshop6A!ANSYS8.0IntroPart1-Workshop6Afinish/clear,start/AUX15IOPTN,IGES,NODEFEAT!*IOPTN,MERGE,YESIOPTN,SOLID,YESIOPTN,SMALL,YESIOPTN,GTOLER,DEFAIGESIN,bracket,igs,/TITLE,bracket.igs
VPLOTWorkshop6B!ANSYS8.0IntroPart1-Workshop6Bfinish/clear,start~SATIN,gear,sat,,SOLIDS,0/FACET,NORML/PREP7VPLOTNovember3,2003附录A
练习输入文件Workshop6C-1!ANSYS8.0IntroPart1-Workshop6C-1finish/clear,start~SATIN,crank-assy,sat,,SOLIDS,0/FACET,NORML/PREP7/PNUM,VOLU,1VPLOTWorkshop6C-2!ANSYS8.0IntroPart1-Workshop6C-2finish/clear,start~SATIN,knob,sat,,SOLIDS,0~SATIN,plate,sat,,SOLIDS,0~SATIN,socket,sat,,SOLIDS,0/FACET,NORML/PREP7/PNUM,VOLU,1VPLOTNovember3,2003附录A
练习输入文件Workshop6D!ANSYS8.0IntroPart1-Workshop6Dfinish/clear,start~PARAIN,bracket,x_t,,SOLIDS,0,0/FACET,NORML/PREP7VPLOTWorkshop6E-1!ANSYS8.0IntroPart1-Workshop6E-1finish/clear,start~PARAIN,wheel-assy,x_t,,SOLIDS,0,0/FACET,NORML/PREP7/PNUM,VOLU,1VPLOTWorkshop6E-2!ANSYS8.0IntroPart1-Workshop6E-2finish/clear,start~PARAIN,base,x_t,,SOLIDS,0,0~PARAIN,left-bracket,x_t,,SOLIDS,0,0~PARAIN,right-bracket,x_t,,SOLIDS,0,0~PARAIN,pin,x_t,,SOLIDS,0,0~PARAIN,wheel,x_t,,SOLIDS,0,0/FACET,NORML/PREP7/PNUM,VOLU,1VPLOTNovember3,2003附录A
练习输入文件Workshop6F!ANSYS8.0IntroPart1-Workshop6Ffinish/clear,start/filn,p-block/PREP7BLOCK,0,3,0,1,0,3,/VIEW,1,1,1,1wpoff,2.25,1.25,.75wprot,0,-90,0CYL4,,,0.75/2,,,,-1.5VGEN,2,2,,,,,1.5,,0VPLOTVSBV,1,ALLWPCSYS,-1,0VPLOTBLC4,0,1,1.5,1.75,0.75KWPAVE,16CYL4,0,0,0,0,1.5,90,-0.75CYL4,0,0,1,,,,-0.1875CYL4,0,0,0.85,,,,-2!SubtractthesolidcylindersfromthebushingbracketFLST,2,2,6,ORDE,2FITEM,2,1FITEM,2,-2VSBV,P51X,3FLST,2,2,6,ORDE,2FITEM,2,6FITEM,2,-7VSBV,P51X,5!MergekeypointsNUMMRG,KP,,,,LOW!CreatethetriangularwebKBETW,7,8,0,RATI,0.5A,14,15,9!*VOFFST,3,-0.15VGLUE,ALL/PNUM,VOLU,1VPLOTSAVESAVE,p-block,db1November3,2003附录A
练习输入文件Workshop6G!ANSYS8.0IntroPart1-Workshop6G!Bottom-upconnectingrodproblemfinish/clear,start/filn,c-rod/PREP7PCIRC,1.4,1,0,180PCIRC,1.4,1,45,180/PNUM,AREA,1RECTNG,-0.3,0.3,1.2,1.8RECTNG,-1.8,-1.2,0,0.3WPSTYLE,,,,,,,,1WPAVE,6.5CSYS,4PCIRC,0.7,0.4,0,180PCIRC,0.7,0.4,0,135/AUTO,1APLOTAOVLAP,1,2,3,4AOVLAP,5,6CSYS,0K,,2.5,0.5K,,3.25,0.4K,,4.0,0.33K,,4.75,0.28!CreateSplineCSYS,1BSPLIN,5,6,7,21,24,22,1,135,,1,45LSTR,1,18AL,6,1,7,25LFILLT,36,40,.25LFILLT,40,31,0.25LFILLT,30,39,0.25
AL,12,10,13AL,17,15,19AL,23,21,24AADD,ALLCSYS,0ARSYM,Y,13,,,,0,0AADD,ALLWPSTYLESAVESAVE,c-rod,db1
November3,2003附录A
练习输入文件Workshop6H!ANSYS8.0IntroPart1-Workshop6H!ConnectingRod-Importation/Clean-upfinish/clear,start/filn,c-rod-fix/AUX15 !ReadIGESfileIOPTN,IGES,NODEFEAT!*IOPTN,MERGE,YESIOPTN,SOLID,YESIOPTN,SMALL,YESIOPTN,GTOLER,DEFAIGESIN,c-rod,igs,VPLOTFINISH/PREP7KCENTER,KP,17,29,31,0 !CutlargeholeinrodKWPAVE,1CYL4,,,1,,,,-1VSBV,1,2VPLOT
KCENTER,KP,19,23,27,0 !CutsmallholeinrodKWPAVE,18CYL4,,,.4,,,,-1VSBV,3,1VPLOT
WPRO,,90, !SplittherodinhalfVSBW,2VDELE,3,,,1VPLOT
AFILLT,47,43,1, !CreatethefilletAL,2,12,18AL,1,13,30VA,8,10,12,13,15VADD,allVPLOTAADD,14,16AADD,12,6VPLOTSAVEFINISH!/EXIT,ALL,November3,2003附录A
练习输入文件Workshop7A!ANSYS8.0IntroPart1-Workshop7Afinish/clear,start/filn,siloRESUME,silo,db1/TITLE,SelectLogicandSolidModelAttributes/PREP7APLOT!CylinderareasASEL,S,LOC,Z,0,120APLOTAATT,2,1,1!UpperpartofconeareasASEL,S,LOC,Z,-30,0APLOTAATT,1,2,1!LowerpartofconeareasASEL,S,LOC,Z,-60,-30APLOTAATT,1,3,1!ConeLinesLSEL,S,LOC,Z,-60,0LPLOTLATT,1,4,2!MeshthemodelLMESH,ALL/WAIT,3ALLSEL,ALLAPLOTAMESH,ALLSAVE,silo-mesh,db1Workshop7B!ANSYS8.0IntroPart1-Workshop7Bfinish/clear,startRESUME,p-block,db1/filn,p-block-mesh/PREP7ET,1,SOLID95VPLOTSMRT,4MSHAPE,1,3DMSHKEY,0VMESH,ALLEPLOTSAVE,p-block-mesh-free,db1/WAIT,3VCLEAR,ALLVPLOTKWPLAN,-1,12,14,11VSBW,7WPSTYLEVPLOTEXTOPT,VSWE,TETS,ONSMRT,2ESIZE,.125VSWEEP,ALLSAVE,p-block-mesh-sweep,db1November3,2003附录A
练习输入文件Workshop7C!ANSYS8.0IntroPart1-Workshop7Cfinish/clear,start/filn,c-rod-meshRESUME,c-rod-2d,db1/TITLE,3Dbrickelementmeshcreatedusing2DMESH200elementsandVOFFST(ESIZE=0.2)/PREP7ET,1,MESH200KEYOPT,1,1,7APLOTESIZE,0.15MSHAPE,0,2DMSHKEY,0amesh,all!/EFACET,2EPLOTsave,c-rod-2d-mesh-quad,db-2d/WAIT,3:SWEEP!Sweepthe2-dmeshintobricksET,2,95EXTOPT,ESIZE,3/VIEW,1,1,1,1APLOTVOFFST,2,.5SAVE,c-rod-mesh-brick2,db1EPLOT/WAIT,3:VSWEEP1!RedousingVSWEEPtocreatea3Dbrickelementmeshfinish/clear,startRESUME,c-rod-fix,db1/TITLE,3DbrickelementmeshcreatedusingVSWEEPandAutoSrc/Trg(ESIZE=0.2)/PREP7ET,1,95/VIEW,1,1,1,1VPLOTESIZE,0.2VSWEEP,ALLSAVE,c-rod-mesh-sweep,db1EPLOTNovember3,2003附录A
练习输入文件Workshop7D!ANSYS8.0IntroPart1-Workshop7Dfinish/clear,start/filn,cotter-pinRESUME,cotter,db1/TITLE,3Dbrick/wedgeelementmeshcreatedusingVSWEEPandAutoSrc/Trg(AESIZE=0.01)/PREP7/VIEW,1,1,2,3VPLOTAESIZE,21,0.01AESIZE,40,0.01VSWEEP,ALLEPLOTSAVE,cotter-pin-mesh,db1November3,2003附录A
练习输入文件Workshop7E!ANSYS8.0IntroPart1-Workshop7Efinish/clear,start/filn,impellerRESUME,impeller,db1WTIME=3GPLOT/WAIT,WTIME/PREP7ET,2,SOLID45TYPE,2EXTOPT,ESIZE,2VDRAG,ALL,,,,,,1EPLOT/WAIT,WTIMEEXTOPT,ESIZE,9ASEL,S,LOC,Z,0.25APLOT/WAIT,WTIMEFLST,5,20,5,ORDE,20FITEM,5,27FITEM,5,48FITEM,5,52FITEM,5,59FITEM,5,78FITEM,5,84FITEM,5,90FITEM,5,95FITEM,5,98FITEM,5,104FITEM,5,110FITEM,5,115FITEM,5,121FITEM,5,128FITEM,5,138FITEM,5,145FITEM,5,149FITEM,5,157FITEM,5,167FITEM,5,173ASEL,R,,,P51XAPLOT/WAIT,WTIMEVDRAG,ALL,,,,,,2ALLSEL,ALLEPLOTSAVE,impeller-mesh,db1November3,2003附录A
练习输入文件Workshop7F!ANSYS8.0IntroPart1-Workshop7Ffinish/clear,start/filn,wheelb-3dRESUME,wheelb,db1/TITLE,MixedFree&MappedMeshof3-DWheelModel/PREP7VPLOTVSBW,1VPLOTKWPAVE,19VSBW,4WPSTYLEVPLOTESIZE,0.25MSHAPE,0,3DMSHKEY,1VMESH,1,3,1VMESH,5TYPE,2ESIZE,0.2MSHAPE,1,3DMSHKEY,0VMESH,6TCHG,95,92,0ESEL,S,TYPE,,2EPLOT/WAIT,5ALLSEL,ALLEPLOTSAVE,wheelb-3d-mesh,db1November3,2003附录A
练习输入文件Workshop8A!ANSYS8.0IntroPart1-Workshop8Afini/clear/FILNAME,usermat, !definejobname/PREP7 !enterthepreprocessor!*MPTEMP,,,,,,,, !definematerial1MPTEMP,1,100MPTEMP,2,200MPTEMP,3,300MPTEMP,4,400MPTEMP,5,500MPDATA,EX,1,,1.0E7MPDATA,EX,1,,7.5E6MPDATA,EX,1,,6.0E6MPDATA,EX,1,,5.0E6MPDATA,EX,1,,4.0E6MPDATA,PRXY,1,,0.30MPDATA,PRXY,1,,0.29MPDATA,PRXY,1,,0.29MPDATA,PRXY,1,,0.2750MPDATA,PRXY,1,,0.2750!*MPPLOT,ex,1 !plotEXofmaterial1!*MPCOPY,,1,2 !copymaterial1tomaterial2TBCOPY,ALL,1,2 !*MPTEMP,,,,,,,, !definematerial2MPTEMP,1,100MPTEMP,2,200MPTEMP,3,300MPTEMP,4,400MPTEMP,5,500MPDE,EX,2MPDE,EY,2MPDE,EZ,2MPDE,NUXY,2MPDE,NUYZ,2MPDE,NUXZ,2MPDE,PRXY,2MPDE,PRYZ,2MPDE,PRXZ,2MPDE,GXY,2MPDE,GYZ,2MPDE,GXZ,2MPDATA,EX,2,,5.0E6MPDATA,EX,2,,4.5E6MPDATA,EX,2,,3.0E6MPDATA,EX,2,,2.0E6MPDATA,EX,2,,1.0E6MPDATA,PRXY,2,,0.30MPDATA,PRXY,2,,0.30MPDATA,PRXY,2,,0.28MPDATA,PRXY,2,,0.28MPDATA,PRXY,2,,0.28fini!/exitNovember3,2003附录A
练习输入文件Workshop8B!ANSYS8.0IntroPart1-Workshop8Bfini/clear/FILNAME,userlib,0 !definejobname/PREP7!*MPTEMP,,,,,,,, !definematerial1MPTEMP,1,200MPTEMP,2,400MPTEMP,3,800MPTEMP,4,1000MPTEMP,5,1200MPDATA,EX,1,,8E6MPDATA,EX,1,,5E6MPDATA,EX,1,,4.5E6MPDATA,EX,1,,3E6MPDATA,EX,1,,2e6MPDATA,PRXY,1,,0.3MPDATA,PRXY,1,,0.3MPDATA,PRXY,1,,0.28MPDATA,PRXY,1,,0.28MPDATA,PRXY,1,,0.28*CSET,1,2,1,2,!*MPCOPY,,1,2 !copymaterial1tomaterial2TBCOPY,ALL,1,2!*MPTEMP,,,,,,,, !definematerial2MPTEMP,1,93.33MPTEMP,2,204.44MPTEMP,3,426.67MPTEMP,4,537.78MPTEMP,5,648.89MPDE,EX,2MPDE,EY,2MPDE,EZ,2MPDE,NUXY,2MPDE,NUYZ,2MPDE,NUXZ,2MPDE,PRXY,2MPDE,PRYZ,2MPDE,PRXZ,2MPDE,GXY,2MPDE,GYZ,2MPDE,GXZ,2MPDATA,EX,2,,5.52e10MPDATA,EX,2,,3.45e10MPDATA,EX,2,,3.10e10MPDATA,EX,2,,2.07e10MPDATA,EX,2,,1.38e10MPDATA,PRXY,2,,0.3MPDATA,PRXY,2,,0.3MPDATA,PRXY,2,,0.28MPDATA,PRXY,2,,0.28MPDATA,PRXY,2,,0.28!*MPWRITE,material_bfin,user,,lib,1!writematerial1toafileMPWRITE,material_SI,user,,lib,2!writematerial2toafile!*FINISH/CLEAR,START !clearthedatabase/PREP7!*MAT,1, !importmaterial1/INPUT,material_bfin.user
MAT,2,/INPUT,material_SI.user !importmaterial2MPPLOT,EX,1 !plotEXofmaterial1November3,2003附录A
练习输入文件Workshop10A!ANSYS8.0IntroPart1-Workshop10Afinish/clear,start/filn,bracket-3dresume,bracket-3d,db1/TITLE,3-DBracketlinearstruct.analysis(SOLID95sandESIZE=0.15)/SOLUEPLOTDA,3,SYMMDA,4,SYMMDA,5,SYMMDA,6,SYMMD,4282,UZSFA,11,1,PRES,1000!SolveEQSLV,PCG,1E-8SAVESOLVESAVE/POST1PLNSOL,S,EQV/VIEW,1,-0.5,-0.25,1/REPLOTWorkshop10B!ANSYS8.0IntroPart1-Workshop10Bfinish/clear,start/filn,conn-rodresume,conn-rod,db1/TITLE,ConnectingRodlinearstructuralanalysisusinghalf-symmetry/SOLUEPLOTDA,8,SYMMDA,9,SYMMDA,7,SYMMDA,10,SYMMDA,13,SYMMD,702,UZSFA,11,1,PRES,1000!SolveEQSLV,PCG,1E-8SAVESOLVESAVE/POST1PLNSOL,S,EQV/AUTO,1/REPLOTNovember3,2003附录A
练习输入文件Workshop10C!ANSYS8.0IntroPart1-Workshop10Cfinish/clear,start/filn,wheelb-omegaresume,wheelb-omega,db1/TITLE,3-DWheelanalysiswithrotationalvelocityaboutGlobalY/SOLUCMSEL,S,AREAS_1APLOTDA,ALL,SYMMALLSEL,ALL,AREAEPLOT!SymmetryB.C.onFrontFaces!DA,1,SYMM!DA,2,SYMM!DA,20,SYMM!DA,27,SYMM!DA,39,SYMM!DA,40,SYMM!SymmetryB.C.onBackFaces!DA,6,SYMM!DA,10,SYMM!DA,21,SYMM!DA,34,SYMM!DA,41,SYMM!ConstrainUYDOFonNode33toPreventRigidBodyMotionD,33,UY!ApplyRotationalVelocityof525rad/sec=5013rpmOMEGA,0,525!SolveEQSLV,PCG,1E-8SAVESOLVE/POST1/EFACET,2PLNSOL,S,EQVCSYS,11/EXPAND,16,LPOLAR,HALF,,22.5/REPLOTCSYS,0November3,2003附录A
练习输入文件Workshop11A!ANSYS8.0IntroPart1-Workshop11Afini/clear,start/NOPR/PMETH,OFF,0KEYW,PR_SET,1KEYW,PR_STRUC,1KEYW,PR_THERM,0KEYW,PR_FLUID,0KEYW,PR_MULTI,0/GO/TITLE,LatheCutter/AUX15!Step3ImportIGESfileIOPTN,IGES,NODEFEATIOPTN,MERGE,YESIOPTN,SOLID,YESIOPTN,SMALL,YESIOPTN,GTOLER,DEFAIGESIN,'cutter','igs',''/VIEW,1,-2,2,3VPLOT/PREP7!convertcmtoinchesVLSCAL,all,,,1/2.54,1/2.54,1/2.54,,0,1!Step4ScaleVolumesVPLOT/INPUT,cutter-area,inp!Step5Readincutter-area.inpET,1,SOLID92 !Step6SelectElementtypemp,ex,1,10e6!Step7Materialpropertiesmp,prxy,1,0.32SMRT,4!Step8MeshingMSHAPE,1,3DMSHKEY,0VMESH,all/VIEW,1,-2,2,3eplot!/ui,copy,save,jpeg,graph,color,reverse,portrait!/sys,renamecutter000.jpgcuttere.jpgFINISH/SOLUDA,18,SYMM!Step9ApplySymmetrytoAreasDA,19,SYMMDA,25,SYMMDA,26,SYMMSFA,1,1,PRES,10000!Step10ApplyPressuretotheTip!iterativesolveralreadysetSOLVE!Step11SolveFINISHNovember3,2003附录A
练习输入文件Workshop11A(cont’d)/POST1/title,LatheCutter-withAREASYMMETRYconstraintathole!PLNSOL,U,SUM,2,1!Step12aPlotDisplacements!PRRSOL!Step12bListReactions!PLNSOL,S,EQV,0,1!Step12cPlotVon-MisesStress!PLNSOL,S,EQV!Step12eAnimateVon-MisesStress!ANCNTR,10,0.5!solveagainwithalteredrestraints/SOLUDADELE,18,ALL!Step13DeleteSymmetryConstraintsDADELE,19,ALLDADELE,25,ALLDADELE,26,ALL
DA,18,ALL !Step14ApplyConstraintsinallDOFDA,19,ALLDA,26,ALL!Step15Changetitle/title,LatheCutter-withALLDOFconstraintonareasatholeSOLVE!Step16Solve/POST1PLNSOL,S,EQV!Step17PlotVon-MisesStressandCompare!fini!/exit,allcutter-area.inp!ANSYS8.0IntroPart1-Workshop11A(insertfile:cutter-area.inp)!createasmallareafor!pressureloadingattipKWPLAN,-1,14,12,13WPOFF,0,0,-1/5ASBW,22WPSTYLE,,,,,,,,0/VIEW,1,-2,2,3/PNUM,AREA,1APLOT/title,LatheCutter-withAREASYMMETRYconstraintatholeNovember3,2003附录A
练习输入文件Workshop12A!ANSYS8.0IntroPart1-Workshop12Afinish/clear,start/FILN,pipe-th/NOPR/PMETH,OFF,0KEYW,PR_SET,1KEYW,PR_STRUC,0KEYW,PR_THERM,1KEYW,PR_FLUID,0KEYW,PR_MULTI,0/GO/TITLE,2DAXI-SYMMTHERMALANALYSISW/CONV.LOADING-ESIZE=0.125/PREP7!Geometry/INPUT,pipe-th,inp,,,0!AxisymmetricoptionET,1,PLANE55,,,1!/MPLIB,READ,!/MPLIB,WRITE,!*!*MAT,1,/COM,InternalUNITSsetatfilecreationtime=BINTBDEL,ALL,_MATLMPDEL,ALL,_MATLMPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,EX,_MATL,1,27992720.0,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,NUXY,_MATL,1,0.290000000,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,ALPX,_MATL,1,9.888888889E-06,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,DENS,_MATL,1,7.514795200E-04,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,KXX,_MATL,1,2.182244000E-04,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,C,_MATL,1,46.2864080,/GO!*MPLIST,1TBLIST,ALL,1!*MSHAPE,0,2DMSHKEY,1ESIZE,0.25/2AMESH,ALLFINISH
/SOLUSFL,2,CONV,0.69e-4,,70SFL,6,CONV,0.69e-4,,70SFL,7,CONV,0.69e-4,,70SFL,10,CONV,0.69e-4,,70SFL,9,CONV,0.28e-3,,450SFL,13,CONV,0.28e-3,,450GPLOTSAVESOLVEFINISH
/POST1PLNSOL,TEMPPLNSOL,TF,SUMPLNSOL,TG,SUMFINISHNovember3,2003附录A
练习输入文件pipe-th.inp!ANSYS8.0IntroPart1-Workshop12A(insertfile:pipe-th.inp)/TITLE,2DAXI-SYMMTHERMALANALYSISW/CONV.LOADING-ESIZE=0.125/PREP7!SolidModelRECTNG,5,6,0,1RECTNG,6,12,0,.25
AADD,all!*CreatefilletLFILLT,10,7,.2,,FLST,2,3,4FITEM,2,5FITEM,2,8FITEM,2,2AL,5,8,2AADD,all
KWPAVE,9wpro,,,90.000000ASBW,2
KWPAVE,5wpro,,30.000000,wpro,,30.000000,wpro,,30.000000,ASBW,3KWPAVE,5,10wpro,,90.000000,ASBW,2asbw,4LCOMB,11,18,0LCCAT,11,12!PrepareformeshingLESIZE,5,,,33,.25,,,,0LESIZE,7,,,33,.25,,,,0LESIZE,2,,,6,,,,,0LESIZE,8,,,3,,,,,0LESIZE,11,,,3,,,,,0LESIZE,12,,,3,,,,,0LESIZE,17,,,3,,,,,0WPSTYLE,,,,,,,,0lplotNovember3,2003附录A
练习输入文件Workshop13A!ANSYS8.0IntroPart1-Workshop13AFINISH/CLEAR,STARTRESUME,pipe-th,db1,,0,0/NOPR/PMETH,OFF,0KEYW,PR_SET,1KEYW,PR_STRUC,1KEYW,PR_THERM,0KEYW,PR_FLUID,0KEYW,PR_ELMAG,0KEYW,MAGNOD,0KEYW,MAGEDG,0KEYW,MAGHFE,0KEYW,MAGELC,0KEYW,PR_MULTI,0KEYW,PR_CFD,0KEYW,LSDYNA,0/GO!*/COM,/COM,PreferencesforGUIfilteringhavebeensettodisplay:/COM,Structural!*/TITLE,2DAXI-SYMMTHERMAL-STRESSANALYSISW/INT.PRESS-ESIZE=0.125/PREP7LSCLEAR,SOLID !ClearallthermalloadsETCHG,TTS !ThermaltoStructuralKEYOPT,1,3,1 !AxisymmetricoptionLDREAD,TEMP,,,,,pipe-th,rth!ReadtempsfromthermalresultsDL,3,,SYMM !StructuralsymmetryconstraintsDL,5,,SYMMDL,11,,SYMMNSEL,S,LOC,Y,1 !CoupletopnodesCP,1,UY,ALLALLSEL,ALLSFL,9,PRES,1000!Apply1000psitointernallinesSFL,13,PRES,1000/PBF,TEMP,,1 !TurnontemperatureloadcontoursEPLOTSAVEFINISH
/SOLUSOLVEFINISH/POST1 !PlotresultsPLNSOL,U,SUM,2,1PLNSOL,S,EQVPLNSOL,S,X
/EXPAND,9,AXIS,,,10,,2,RECT,HALF,,0.00001 !Sweepresultsfor3-D/VIEW,1,1,1,1/REPLOTPLNSOL,S,YPLNSOL,S,ZFINISH
!/exit,allNovember3,2003附录A
练习输入文件Workshop13B!ANSYS8.0IntroPart1-Workshop13BFINISH/CLEAR,START/input,pipe-th,inp
wsec=2 !waitinsecondsbetweenplotsET,1,PLANE13 !Coupledthermal/structural,axisymmetricelementKEYOPT,1,1,4KEYOPT,1,3,1MSHAPE,0,2D !MeshallareasMSHKEY,1ESIZE,0.25/2AMESH,ALL
MAT,1,/COM,TypicalmaterialpropertiesforDEMOpurposesonly/NOP/COM,InternalUNITSsetatfilecreationtime=BINTBDEL,ALL,_MATLMPDEL,ALL,_MATLMPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,EX,_MATL,1,27992720.0,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,NUXY,_MATL,1,0.290000000,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,ALPX,_MATL,1,9.888888889E-06,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,DENS,_MATL,1,7.514795200E-04,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,KXX,_MATL,1,2.182244000E-04,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,C,_MATL,1,46.2864080,/GOMPLIST,1TBLIST,ALL,1SFL,2,CONV,0.69e-4,,70 !ApplythermalfilmcoefficientsSFL,6,CONV,0.69e-4,,70SFL,7,CONV,0.69e-4,,70SFL,10,CONV,0.69e-4,,70SFL,9,CONV,0.28e-3,,450SFL,13,CONV,0.28e-3,,450
SFL,9,PRES,1000!ApplystructuralinternalpressureSFL,13,PRES,1000NSEL,S,LOC,Y,1!CouplethetopnodesCP,1,UY,ALLALLSEL,ALLDL,3,,SYMM !StructuralsymmetryconstraintsDL,5,,SYMMDL,11,,SYMMSAVEFINISH/SOLUSOLVEFINISH/POST1PLNSOL,TEMP !Plotnodaltemps/wait,wsecPLNSOL,U,SUM,2,1!Plotdisplacementwithdeformededge/wait,wsecPLNSOL,S,EQV !PlotvonMises/EXPAND,9,AXIS,,,10,,2,RECT,HALF,,0.00001!Expandto3-D/VIEW,1,1,1,1/wait,wsec
/REPLOT/wait,wsecPLNSOL,TEMPNovember3,2003附录A
练习输入文件Workshop14A!ANSYS8.0IntroPart1-Workshop14Afinish/clear,start/filn,conn-rod!Resumethe"conn-rod.db2"databasefileresume,conn-rod,db2!Setwaittimebetweenplots(seconds)WTIME=3/TITLE,ConnectingRodPostprocessingwithESIZE=0.2/POST1PLNSOL,S,EQV/AUTO,1/REPLOT/WAIT,WTIMEEPLOTPATH,PATH1,2,30,20PPATH,1,824PPATH,2,1029PATH,PATH2,2,30,20PPATH,1,1029PPATH,2,521PDEF,P2-SEQV,S,EQV,AVGPDEF,P2-SX,S,X,AVGPDEF,P2-SY,S,Y,AVGPDEF,P2-SZ,S,Z,AVGPLPATH,P2-SEQV/WAIT,WTIMEPLPATH,P2-SX/WAIT,WTIMEPLPATH,P2-SY/WAIT,WTIMEPLPATH,P2-SZ/WAIT,WTIMEPLPATH,P2-SEQV,P2-SX,P2-SY,P2-SZ/YRANGE,-1000,1900/AXLAB,X,Path2Distance/AXLAB,Y,Stress,psi/REPLOT/WAIT,WTIMEPATH,PATH1PDEF,P1-SEQV,S,EQV,AVGPDEF,P1-SX,S,X,AVGPDEF,P1-SY,S,Y,AVGPDEF,P1-SZ,S,Z,AVG/YRANGE,DEFAULT/AXLAB,X/AXLAB,YPLPATH,P1-SEQV/WAIT,WTIMEPLPATH,P1-SX/WAIT,WTIMEPLPATH,P1-SY/WAIT,WTIMEPLPATH,P1-SZ/WAIT,WTIMEPLPATH,P1-SEQV,P1-SX,P1-SY,P1-SZ/YRANGE,-1100,1800/AXLAB,X,Path1DistanceNovember3,2003附录A
练习输入文件Workshop14Acont’d)/AXLAB,Y,Stress,psi/REPLOT/WAIT,WTIME/COLOR,OUTL,BLAC/PBC,PATH,1/REPLOT/PBC,PATH,0/COLOR,OUTL,WHIT/WAIT,WTIMEFINISH/GRAPHICS,FULL/POST1PLESOL,SERR/WAIT,WTIMEPLESOL,SDSG/WAIT,WTIMEPLNSOL,U,SUM/WAIT,WTIMEPLNSOL,S,EQV/WAIT,WTIMEFINISH/TITLE,ConnectingRodPostprocessingwithESIZE=0.1/PREP7ESIZE,0.1EPLOTVCLEAR,ALLVSWEEP,ALL/SOLUD,2932,UZSOLVE/POST1PLESOL,SERR/WAIT,WTIMEPLESOL,SDSG/WAIT,WTIMEPLNSOL,U,SUM/WAIT,WTIMEPLNSOL,S,EQV/WAIT,WTIMESAVE,conn-rod2,db1FINISH/EXIT,NOSAVENovember3,2003附录A
练习输入文件Workshop14B!ANSYS8.0IntroPart1-Workshop14Bfinish/clear,start/INPUT,shell,inpWTIME=3/GRAPHICS,POWER/POST1!/VIEW,1,-1,1,1!/DIST,1,3.976/EFACET,2PLNSOL,S,X/WAIT,WTIMEPLNSOL,S,Y/WAIT,WTIMEPLNSOL,S,Z/WAIT,WTIMEPLNSOL,S,EQVSHELL,MID/REPLOTRSYS,2SHELL,TOP/ESHAPE,1/GLINE,1,-1PLNSOL,S,X/WAIT,WTIMEPLNSOL,S,Y/WAIT,WTIMEPLNSOL,S,Z/WAIT,WTIMEPLNSOL,S,EQVshell.inp!ANSYS8.0IntroPart1-Workshop14B(insertfile:shell.inp)!SphericalShellAnalysis(1/4model)/FILNAM,shell/TITLE,Postprocessingofsphericalshellwithinternalpress.of500psi/PREP7ET,1,SHELL93R,1,.1MP,EX,1,1e7/VIEW,1,-1,1,1/DIST,1,3.976SPHERE,5,4,0,90VDELE,1CSYS,2ASEL,U,LOC,X,4ADELE,ALL,,,1ALLSEL,ALL,AREACSYS,0ASBW,ALLADELE,3,,,1APLOTMSHAPE,0,2DMSHKEY,1ESIZE,0.25AMESH,ALL!/EFACET,2EPLOT/SOLUANTYPE,STATIC!DL,ALL,,SYMMSFE,ALL,,PRES,,500SOLVEFINISH/PBC,ALL,,0November3,2003附录A
练习输入文件Workshop14C!ANSYS8.0IntroPart1-Workshop14CFINISH/CLEAR,START/INPUT,multi-ls,inp/SOLU!LoadStep1-ThermalLoads!/PSF,CONV,TBULK,0LDREAD,TEMP,,,,,multi-ls,rth/PBF,TEMP,,1EPLOT/TITLE,2DAXI-SYMMSTRUCTURALANALYSISWITHTHERMALLOADSOLVE!DeleteThermalLoadsBFDELE,ALL,TEMPBFLIS,ALL!LoadStep2-InternalPressureLoad!Applyinternalconstantpressureof1000psiSFL,9,PRES,1000SFL,13,PRES,1000/PSF,PRES,NORM,2,0/PBC,ALL,,0EPLOTSAVE/TITLE,2DAXI-SYMMSTRUCTURALANALYSISWITHINTERNALPRESSURESOLVEFINISH!ExitSolution/POST1PLNSOL,S,EQV/WAIT,WTIMESET,1,1PLNSOL,S,EQV/WAIT,WTIMELCDEF,2,2LCOPER,ADD,2/TITLE,2DAXI-SYMMSTRUCTURALANALYSISWITHCOMBINEDLOADINGPLNSOL,S,EQV/WAIT,WTIME/EXPAND,9,AXIS,,,10,,2,RECT,HALF,,0.00001/VIEW,1,1,1,1/AUTO,1!/EDGE,1,1,45!/GLINE,1,0 !Solidelementoutlines(default)!/GLINE,1,1 !Dashedelementoutlines/GLINE,1,-1 !Noelementoutlines/REPLOT/WAIT,WTIMEPLNSOL,U,SUM/WAIT,WTIMEPLNSOL,S,X/WAIT,WTIMEPLNSOL,S,Y/WAIT,WTIMEPLNSOL,S,Z/WAIT,WTIMERAPPND,3,3SAVEFINISH!/EXIT,ALLNovember3,2003附录A
练习输入文件multi-ls.inp!ANSYS8.0IntroPart1-Workshop14C(insertfile:multi-ls.inp)!AxisymmetricPipewithFinAnalysis/FILN,multi-lsWTIME=3/NOPR/PMETH,OFF,0KEYW,PR_SET,1KEYW,PR_STRUC,0KEYW,PR_THERM,1KEYW,PR_FLUID,0KEYW,PR_MULTI,0/GO/TITLE,AXI-SYMMETRICFINWITHMULTIPLELOADSTEPS-ESIZE=0.125!########################################################!##!#GEOMETRY#!##!########################################################/PREP7!SolidModelRECTNG,5,6,0,1RECTNG,6,12,0,.25
AADD,all!*CreatefilletLFILLT,10,7,.2,,FLST,2,3,4FITEM,2,5FITEM,2,8FITEM,2,2AL,5,8,2AADD,all
KWPAVE,9wpro,,,90.000000ASBW,2
KWPAVE,5wpro,,30.000000,wpro,,30.000000,wpro,,30.000000,ASBW,3KWPAVE,5,10wpro,,90.000000,ASBW,2asbw,4LCOMB,11,18,0LCCAT,11,12!PrepareformeshingLESIZE,5,,,33,.25,,,,0LESIZE,7,,,33,.25,,,,0LESIZE,2,,,6,,,,,0LESIZE,8,,,3,,,,,0LESIZE,11,,,3,,,,,0LESIZE,12,,,3,,,,,0LESIZE,17,,,3,,,,,0WPSTYLE,,,,,,,,0lplotNovember3,2003附录A
练习输入文件multi-ls.inp(cont’d)!########################################################!##!#THERMALANALYSIS#!##!########################################################!AxisymmetricoptionET,1,PLANE55,,,1MAT,1,/COM,TypicalmaterialpropertiesforDEMOpurposesonly/NOP/COM,InternalUNITSsetatfilecreationtime=BINTBDEL,ALL,_MATLMPDEL,ALL,_MATLMPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,EX,_MATL,1,27992720.0,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,NUXY,_MATL,1,0.290000000,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,ALPX,_MATL,1,9.888888889E-06,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,DENS,_MATL,1,7.514795200E-04,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,KXX,_MATL,1,2.182244000E-04,MPTEMP,R5.0,1,1,0.000000000E+00,MPDATA,R5.0,1,C,_MATL,1,46.2864080,/GO!*MPLIST,1TBLIST,ALL,1!*MSHAPE,0,2DMSHKEY,1ESIZE,0.25/2AMESH,ALLFINISH
/SOLUSFL,2,CONV,0.69e-4,,70SFL,6,CONV,0.69e-4,,70SFL,7,CONV,0.69e-4,,70SFL,10,CONV,0.69e-4,,70SFL,9,CONV,0.28e-3,,450SFL,13,CONV,0.28e-3,,450GPLOTSAVESOLVEFINISH!#########################################################!##!#STRUCTURALANALYSIS#!##!#########################################################/NOPR/PMETH,OFF,0KEYW,PR_SET,1KEYW,PR_STRUC,1KEYW,PR_THERM,0KEYW,PR_FLUID,0KEYW,PR_MULTI,0/GO/PREP7LSCLEAR,SOLID !ClearallthermalloadsETCHG,TTS !ThermaltoStructuralKEYOPT,1,3,1 !AxisymmetricoptionNovember3,2003附录A
练习输入文件multi-ls.inp(cont’d)DL,3,,SYMM !StructuralsymmetryconstraintsDL,5,,SYMMDL,11,,SYMMNSEL,S,LOC,Y,1 !CoupletopnodesCP,1,UY,ALLALLSEL,ALL/PBF,TEMP,,1 !TurnontemperatureloadcontoursEPLOTSAVEFINISHWorkshop14D!ANSYS8.0IntroPart1-Workshop14DRESUME,multi-ls,db/POST1
POUTRES,S!WriteoutthePGRfileforallthreeloadcasesSET,,,,,,,1PGSAVE,multi-ls,pgr,SET,,,,,,,2PGSAVE,multi-ls,pgr,SET,,,,,,,3PGSAVE,multi-ls,pgr,!UsernowentersResultViewerinteractively.November3,2003附录A
练习输入文件Workshop14E!ANSYS8.0IntroPart1-Workshop14E!ReportGeneratorFINISH/CLEAR,START/INPUT,plate-14e,inp, !Readinputfiletocreate&solveplatewithhole!Startofreportcaptures.~tcl,'packagerequireansys'~tcl,'ansys::report::setdirectory"plate_report"'/REPLOT,RESIZE
EPLOT~tcl,'ansys::report::imagecapture"PlotofElements"'PLNSOL,S,X,0,1~tcl,'ansys::report::imagecapture"X-directionStress"'PLPATH,L-SX~tcl,'ansys::report::imagecapture"GraphofSXStressonPathL-SX"'
~tcl,'ansys::report::animcapture"AnimationofDeformedResults"100'/REPLOT,RESIZEPLNSOL,S,XANCNTR,10,0.5
~tcl,'ansys::report::tablecapture2"MaterialProperties"1'~tcl,'ansys::report::tablecapture4"ReactionForces"'
fsum,,1fsum,,1fsum,,1~tcl,'ansys::report::outputcapture"ListofStressalongPathL-SX""prpath,l-sx"'prpath,l-sx
~tcl,'ansys::report::outputcapture"ListofConstraintsonSelectedItems""sbclis"'sbclis
!######################################! CreatetheHTMLReport#!######################################*CREATE,plate_report,html,plate_report
<html><head><title>AnalysisofPlatewithHole</title><scriptLANGUAGE="JavaScript1.2"SRC="ansysImages.js"></script><scriptLANGUAGE="JavaScript1.2"SRC="ansysAnimations.js"></script><scriptLANGUAGE="JavaScript1.2"SRC="ansysTables.js"></script><scriptLANGUAGE="JavaScript1.2"SRC="ansysListings.js"></script><script>ie4=(document.all?true:false);
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年度产品代理合同:某生产商与一家代理商就产品销售达成合作协议3篇
- 2024年度某企业员工股权激励合同3篇
- A组链球菌感染的临床护理
- 2024年度广告代理推广服务合同6篇
- 2024年度仓储物流仓储租赁合同6篇
- 2024年度企业间借贷合同借款金额和利息3篇
- 基于物联网的二零二四年度智能路灯系统设计与施工合同2篇
- 2024年染料类项目资金需求报告代可行性研究报告
- 房江湖2024年度合作开发合同
- 2024年度新能源发电项目监理合同标的详细说明2篇
- 吸收放散实验课件
- 3.1《让小车运动起来》优质课件
- 新形势下,如何做好一人一事思想政治工作
- 《基于核心素养高中物理实验教学实施素质教育的研究》结题总结报告
- 行政人事部工作分析表
- 英语漫谈胶东海洋文化知到章节答案智慧树2023年威海海洋职业学院
- 航空母舰优秀课件
- 2023年芒果TV春季校园招聘笔试参考题库附带答案详解
- 共享中国知到章节答案智慧树2023年上海工程技术大学
- 中国十大传世名画课件
- mbti性格测试题及答案(十篇)
评论
0/150
提交评论