資源描述:
《幾個(gè)ansys流固耦合的例子》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、一般說來,ANSYS的流固耦合主要有4種方式:1,sequential這需要用戶進(jìn)行APDL編程進(jìn)行流固耦合sequentia指的是順序耦合以采用MpCCI為例,你可以利用ANSYS和一個(gè)第三方CFD產(chǎn)品執(zhí)行流固耦合分析。在這個(gè)方法中,基于網(wǎng)格的平行代碼耦合界面(MpCCI)將ANSYS和CFD程序耦合起來。即使網(wǎng)格上存在差別,MpCCI也能夠?qū)崿F(xiàn)流固界面的數(shù)據(jù)轉(zhuǎn)換。ANSYSCD中包含有MpCCI庫(kù)和一個(gè)相關(guān)實(shí)例。關(guān)于該方法的詳細(xì)信息,參見ANSYSCoupled-FieldAnalysisG
2、uide中的SequentialCouplin2,F(xiàn)SIsolver流固耦合的設(shè)置過程非常簡(jiǎn)單,推薦你使用這種方式3,multi-fieldsolver這是FSIsolver的擴(kuò)展,你可以使用它實(shí)現(xiàn)流體,結(jié)構(gòu),熱,電磁等的耦合4,直接采用特殊的單元進(jìn)行直接耦合,耦合計(jì)算直接發(fā)生在單元?jiǎng)偠染仃囈粋€(gè)流固耦合的例子length=2width=3height=2/prep7et,1,63et,2,30!選用FLUID30單元,用于流固耦合問題r,1,0.01mp,ex,1,2e11mp,nuxy,1,0
3、.3mp,dens,1,7800mp,dens,2,1000!定義Acoustics材料來描述流體材料-水mp,sonc,2,1400mp,mu,0,!block,,length,,width,,heightesize,0.5mshkey,1!type,1mat,1real,1asel,u,loc,y,widthamesh,allalls!type,2mat,2vmesh,allfini/soluantype,2modopt,unsym,10!非對(duì)稱模態(tài)提取方法處理流固耦合問題eqslv,fro
4、ntmxpand,10,,,1nsel,s,loc,x,nsel,a,loc,x,lengthnsel,r,loc,yd,all,,,,,,ux,uy,uz,nsel,s,loc,y,width,d,all,pres,0allsasel,u,loc,y,width,sfa,all,,fsi!定義流固耦合界面allssolvfini/post1set,firstplnsol,u,sum,2,1fini再給大家一個(gè)實(shí)例!考慮結(jié)構(gòu)在水中的自振頻率:例子是一加筋板在水中的模態(tài)分析。命令流如下:FINIS
5、H/CLEAR/FILENAME,plane/UNITS,SI/TITLE,plane/PREP7!*********ELEMENTDEFINE********ET,63,63ET,4,beam4et,30,fluid30!****MATERIALDEFINE*********MP,EX,1,2.10E11MP,DENS,1,7850MP,NUXY,1,0.3mp,dens,30,1025mp,sonc,30,1500mp,mu,30,0.5!*******REALCONSTANT*******
6、****r,30,1e-06r,50,0.05r,75,0.375e-02,0.78125e-06,0.000016406k,1k,4,1kfill,1,4,2,,1kgen,4,1,4,1,,1/3,,10a,1,2,12,11*do,i,0,2*do,j,0,2*10,10a,1+i+j,2+i+j,12+i+j,11+i+j*enddo*enddo!***************************fluidelement****************k,100,-14.5,-14.
7、5k,101,-14.5,15.5k,102,15.5,15.5k,103,15.5,-14.5k,140,-14.5,-14.5,30k,141,-14.5,15.5,30k,142,15.5,15.5,30k,143,15.5,-14.5,30a,100,101,102,103,4,14,24,34,33,32,31,21,11,1a,1,2,3,4,103,100a,140,141,142,143a,100,101,141,140a,101,102,142,141a,142,143,103
8、,102a,140,143,103,100a,14,24,34,33,32,31,21,11,1,2,3,4asel,u,,,1,FLST,2,8,5,ORDE,2okok.orgFITEM,2,10okok.orgFITEM,2,-17okok.orgVA,P51Xokok.orgnummrg,allallsMSHKEY,0MSHAPE,0esize,1lsel,s,loc,y,1/3lsel,r,loc,x,0,1lsel,r,loc,z,0latt,1,75,4lmesh,alllsel,