我给看看这个建模过程吧:用四组弹簧连接两个面:/prep7!建立两个体k,1,-50,100,0.002k,2,150,100,0.002k,3,150,0,0.002k,4,-50,0,0.002k,5,-50,100,20k,6,150,100,20k,7,150,0,20k,8,-50,0,20v,1,2,3,4,5,6,7,8k,9,0,0,20.001k,10,0,100,20.001k,11,100,100,20.001k,12,100,0,20.001k,13,0,0,40k,14,0,100,40k,15,100,100,40k,16,100,0,40v,9,10,11,12,13,14,15,16et,1,92et,2,14keyopt,2,2,1et,3,14keyopt,3,2,2et,4,14keyopt,4,2,3et,5,14keyopt,5,2,4et,6,14keyopt,6,2,5et,7,14keyopt,7,2,6r,2,1.0e5!定义K=1.0e5,uzr,3,1.0e6!定义K=1.0e6,rotxr,4,1.0e6!定义K=1.0e6,rotyr,5,1.0e6!定义K=1.0e6,uxr,6,1.0e6!定义K=1.0e6,uyr,7,1.0e6!定义K=1.0e6,rotzmp,ex,1,2e5!杨氏模量mp,prxy,1,0.33!泊松比mp,dens,1,7400e-12!定义1号单元的密度!建立硬点群1hptc,area,1,,coord,30,30,0.002!Z点hptc,area,7,,coord,30,30,20.001!up!建立硬点群2hptc,area,1,,coord,70,30,0.002!Z点hptc,area,7,,coord,70,30,20.001!up!建立硬点群3hptc,area,1,,coord,70,70,0.002!Z点hptc,area,7,,coord,70,70,20.001!up!建立硬点群4hptc,area,1,,coord,30,70,0.002!Z点hptc,area,7,,coord,30,70,20.001!up!划网格type,1mat,1esize,20!定义单元的大小,20type,1!MSHAPE,1,3D!MSHAPE确定单元类型:2D、3D还是三角形四面体、四边形六面体MSHKEY,0!MSHKEY确定划分网格的方法:自由还是映射vsel,all!选择所有的体vmesh,all!划分所有的体。*set,node_domn1,node(30,30,0.002)!通过硬点坐标50,50,20得到和硬点重合的结点编号*set,node_up1,node(30,30,20.001)*set,node_domn2,node(70,30,0.002)!通过硬点坐标50,50,20得到和硬点重合的结点编号*set,node_up2,node(70,30,20.001)*set,node_domn3,node(70,70,0.002)!通过硬点坐标50,50,20得到和硬点重合的结点编号*set,node_up3,node(70,70,20.001)*set,node_domn4,node(30,70,0.002)!通过硬点坐标50,50,20得到和硬点重合的结点编号*set,node_up4,node(30,70,20.001)type,2real,2e,node_domn1,node_up1e,node_domn2,node_up2e,node_domn3,node_up3e,node_domn4,node_up4type,3real,3e,node_domn1,node_up1e,node_domn2,node_up2e,node_domn3,node_up3e,node_domn4,node_up4type,4real,4e,node_domn1,node_up1e,node_domn2,node_up2e,node_domn3,node_up3e,node_domn4,node_up4type,5real,5e,node_domn1,node_up1e,node_domn2,node_up2e,node_domn3,node_up3e,node_domn4,node_up4type,6real,6e,node_domn1,node_up1e,node_domn2,node_up2e,node_domn3,node_up3e,node_domn4,node_up4type,7real,7e,node_domn1,node_up1e,node_domn2,node_up2e,node_domn3,node_up3e,node_domn4,node_up4FINISH/SOL!进入计算器ANTYPE,0!以下进行静态分析asel,all!1号面全约束。asel,s,,,1da,all,allallselnsel,s,loc,z,40nsel,r,loc,x,40,100!加载100Nnsel,r,loc,y,40,100*get,k2,node,0,countf,all,fz,100/k2!f,all,mx,9810*0.05*50/k2!加载0.05吨力*50Nmm的弯矩allselsolveFINISH/post1/RGB,INDEX,100,100,100,0!以下为改变背景颜色,方便截图/RGB,INDEX,80,80,80,13/RGB,INDEX,60,60,60,14/RGB,INDEX,0,0,0,15!改变背景颜色/input,a1,txt!a1为视图文件,a1自定义的文件/replot/post1/RGB,INDEX,100,100,100,0!以下为改变背景颜色,方便截图/RGB,INDEX,80,80,80,13/RGB,INDEX,60,60,60,14/RGB,INDEX,0,0,0,15!改变背景颜色/input,a1,txt!a1为视图文件,a1自定义的文件/replot/post1plnsol,u,z,0,/image,save,1d_uz,jpegplnsol,s,eqv,o,1/image,save,von,jpegFINISH