導航:首頁 > 程序命令 > DL命令流

DL命令流

發布時間:2022-10-02 14:28:50

㈠ ansys 命令流,關於shell181的多層單元,有錯誤,但是發現不了,感覺應該是在section那一塊,請教。

如果想要求解,首先進入求解器,/SOLU,然後solve。其次,你劃分單元過多,我雖然算出結果了,卻在後處理時卡死。記住,單元數和精度不是簡單正比關系,甚至對於簡單結構,單元越多,誤差越大。

。。。。順便問你個問題,我需要對復合材料分析,劃分100多各面,每個面10層左右,用SHELL181是不是太麻煩,用shell91怎麼樣???你為什麼不用shell91???

㈡ 關於ansys 開挖隧道的命令流

假的,是說1個電腦故事,可悲

㈢ 用ansys計算載流線圈產生的磁場分布,為什麼solve之後沒有結果了呢 命令流如下:

初步查看,貌似你110單元分網錯誤,不如舍棄110,直接在邊界,DL,ALL,,AZ,0
要是非要用inf110的話,得把110單元區的網格單元數設為1,apdl如下,ansys14.0完美通過(有兩個警告,第一個提示遠場區域不兼容,真心話,110單元在這里沒什麼用,只需要把空氣場設大些,再把邊界AZ設為0,第二個警告是提示你的軸線有節點已經被施載入荷,不用理他,正常現象)話說你加的電流密度相當靚--;
/PREP7
ET,1,53
KEYOPT,1,3,1
ET,2,110,,,1
MP,MURX,1,1
MP,MURX,2,1
RECTNG,0,0.1,-0.1,0.1
RECTNG,0.1,0.2,-0.1,0.1
pcirc,0,0.4,-90,90
CYL4,,,,-90,0.6,90
CYL4,,,,-90,0.8,90
aovlap,all
NUMCMP,AREA
/pnum,area,1
aplot
asel,,,,1
asel,a,,,4
aatt,2,,1
asel,,,,3
aatt,1,,2
allsel
esize,0.01
amesh,1
amesh,4
esize,0.02
amesh,5
esize,0.05
amesh,2
esize,,1
amesh,3
CSYS,1
NSEL,S,LOC,X,0.8
SF,ALL,INF
CSYS,0
lsel,s,loc,x,0
dl,all,,asym
ESEL,S,MAT,,2
BFE,ALL,JS,,,,250
ALLSEL,ALL
FINISH
/SOLU
SOLVE
/post1
plnsol,b,sum
plvect,b,,,,vect,elem,on

㈣ 我這段ANSYS命令流,建模的問題在哪啊,求解時總出現節點位移過大的問題

選好節點後 *get,l5ncou,node,,count *get,l5nnum,node,,num,min *dim,l5sy,array,l5ncou,2 *do,i,1,l5ncou *get,l5sy(i,1),node,l5nnum,loc,x *get,l5sy(i,2),node,l5nnum,locy l5nnum=ndnext(l5nnum) !知道坐標了,自己算位移就行 *enddo

㈤ 請教高人看看這個ANSYS命令流!!

你用的是哪個版本?56單元是什麼?11.0以後的版本都沒有啊
還有你的程序中那個最後的*do循環怎麼沒有結束啊,你的程序的原來的參考模型是這樣的,因為是你自己改造的,所以你對比下看看:另外,流體的程序計算都是在需要一次計算完後進行工作目錄的清空的,你也要注意下!

/Batch,list
/prep7
/sho,gasket,grph
shpp,off
ET,1,141 ! Fluid - static mesh
ET,2,182, ! Hyperelastic element

yent = 0.0 ! Y coordinate of the entrance to the channel
dyen = 1.0 ! Undeformed geometry flow entrance length
ysf1 = yent+dyen ! Y coordinate of entrance to the morphing fluid region
dsf1 = 0.5 ! Thickness of upstream
ygas = ysf1+dsf1 ! Y coordinate of the bottom of the gasket
dg = 0.02 ! Thickness of the gasket
dg2=dg/2.
ytg = ygas+dg ! Y coordinate of the initial top of the gasket
dsf2 = 0.5 ! Thickness of downstream region
ysf2 = ytg + dsf2! Y of Top of the downstream morphing fluids region
dyex = 6.0 ! Exit fluid length
x = 0. ! Location of the centerline
dgasr =.20 ! Initial span of gasket
piper = 0.3 ! Width of the analysis domain
xrgap = piper-dgasr!! Width of completely unobtructed flow passage
!!! Create geometry
rect,xrgap,piper,ygas,ytg ! A1:Gasket (keypoints 1-4)
rect,x,piper,ysf1,ysf2 ! A2: Morphing fluid region
rect,x,piper,yent,ysf1 ! A3: Fluid region with static mesh
rect,x,piper,ysf2,ysf2+dyex ! A4: Fluid region with static mesh
aovlap,all
k,22,xrgap+dg2,ygas+dg2
rarc = dg2*1.1
larc,1,4,22,rarc
al,6,4
adelete,7
al,6,3,22,7,8,5,21,1

!!Mesh Division information
ngap = 10 ! Number elements across the gap
ngas = 10 ! Number of elements along the gasket
rgas = -2 ! Spacing ratio along gasket
nflu = ngap+ngas ! Number of elements across the fluid region
raflu = -3 ! Space fluid elements near the walls and center
nenty =8 ! Elements along flow - entrance
raent =5 ! Size ratio in the inlet region
nfl1 = 20 ! Elements along flow - first morph.fluid.
nthgas = 4 ! Elements in the gasket
nfl2 = 3 ! Elements along flow - second morph.fluid.
next = 30 ! Elements along flow - exit region
rext = 6 ! Size ratio in flow direction of outlet
rafls = 12 ! Initial element spacing ratio - morph.fluid
lesize,1,,,ngas,rgas
lesize,3,,,ngas,rgas
nfl11= nfl1*2+9
lsel,s,,,2,4,2 ! (Modify lesize of line 8 if changing gasket mesh)
lesize,all,,,nthgas
alls
lesize,5,,,nflu,raflu
lesize,7,,,nflu,raflu
lesize,9,,,nflu,raflu
lesize,15,,,nflu,raflu
lesize,18,,,nenty,1./raent
lesize,17,,,nenty,1./raent
lesize,21,,,nfl1,rafls
lesize,8,,,nfl11,-1./(rafls+3)
lesize,22,,,nfl1,rafls
lesize,19,,,next,rext
lesize,20,,,next,rext

!!! AATT,MAT,REAL,TYPE - Set the attributes for the areas
asel,s,,,1,2
aatt,2,2,2 ! Gasket (material 2)
asel,s,,,3
cm,area2,area
alist ! List area selected for further morphing

asel,a,,,5,6
aatt,1,1,1 ! Fluid area (material 1)
alls

eshape,2
asel,u,,,2,3
amesh,all
eshape,0
asel,s,,,2,3
amesh,all
!-----------------
!!!!! Create element plot and write to the file gasket.grph
asel,s,,,1,3
esla,s
/Title, Initial mesh for gasket and neighborhood
eplot
/ZOOM,1,RECT,0.3,-0.6,0.4,-0.5
alls
!-----------------
!!
!!!!! 2. Create Physics Environment for the Fluid
et,1,141
et,2,0 ! Gasket becomes the Null Element
vin=3.5e-1 ! Inlet water velocity (meters/second)
!! CFD Solution Control
flda,solu,flow,1
flda,solu,turb,1
flda,iter,exec,400
flda,outp,sumf,10
!! CFD Property Information
flda,prot,dens,constant
flda,prot,visc,constant
flda,nomi,dens,1000. ! 1000 kg/m3 for density - water
flda,nomi,visc,4.6E-4 ! 4.6E-4 kg-s/m (viscosity of water)
flda,conv,pres,1.E-8 ! Tighten pressure equation convergence
!! CFD Boundary Conditions (Applied to Solid Model)
lsel,s,,,8,17,9
lsel,a,,,20
dl,all,,vx,0.,1 ! Centerline symmetry
lsel,s,,,9
dl,all,,vx,0.,1
dl,all,,vy,vin,1 ! Inlet Condition
lsel,s,,,2
lsel,a,,,18,19
lsel,a,,,21,22
dl,all,,vx,0.,1 ! Outer Wall
dl,all,,vy,0.,1
lsel,s,,,1,3,2
lsel,a,,,6
dl,all,,vx,0.,1 ! Gasket
dl,all,,vy,0.,1
lsel,s,,,15
dl,15,,pres,0.,1 ! Outlet pressure condition
!!! create named component of nodes at the bottom of gasket
lsel,s,,,1
nsll,,1
cm,gasket,node
nlist ! List initial nodal positions of the bottom of the gasket
/com, +++++++++ STARTING gasket coordinates --------

alls
/title,Fluid Analysis
physics,write,fluid,fluid
!!
!!!!! 3. Create Physics Environment for the Structure
!!
physics,clear
!SOLCONTROL, , , NOPL,
et,1,0 ! The Null element for the fluid region
et,2,182 ! Gasket element - material 2
keyopt,2,3,2 ! Plane stress
keyopt,2,6,1 ! mixed u-P
keyopt,2,1,2 ! Enhanced strain

tb,hyper,2,,2,mooney
tbdata,1,0.293E+6,0.177E+6, (1.0-2.0*0.49967)/(0.293E+6+0.177E+6)

lsel,s,,,2
nsll,,1
d,all,ux,0.
d,all,uy,0. ! Fix the end of the gasket
alls

/title,structural analysis
finish
/solu
antype,static
nlgeom,on
cnvtol,f,,,,-1
physics,write,struc,struc
physics,clear
save
!!
!!!!! 4. Fluid-Structure Interaction Loop
!!
loop=25 ! Maximum allowed number of loops
toler=0.005 ! Convergence tolerance for maximum displacement
*dim,dismax,array,loop ! Define array of maximum displacement values
*dim,strcri,array,loop ! Define array of convergence values
*dim,index,array,loop

*do,i,1,loop ! Execute fluid -> structure solutions
/solu
physics,read,fluid ! Read in fluid environment
*if,i,ne,1,then
flda,iter,exec,100 ! Execute 100 global iterations for
*endif ! each new geometry
solve ! FLOTRAN solution
fini
! end of fluid portion
physics,read,struc ! Read in structures environment
/assign,esave,struc,esav ! Files for restarting nonlinear structure
/assign,emat,struc,emat
*if,i,gt,1,then ! Structural restart loop
parsave,all ! Save parameters for convergence check
resume ! Resume DB - to return original node positions
parresume ! Resume parameters needed for convergence check
/prep7
antype,stat,rest
fini
*endif

/solu
solc,off
lsel,s,,,1,3,2 ! Select proper lines to apply fluid pressures
lsel,a,,,6 ! to the entire gasket surface
nsll,,1
esel,s,type,,2
ldread,pres,last,,,,,rfl ! Apply pressure surface load from Flotran
sfelist
alls
rescontrol,,none ! Do not use multiframe restart for nonlinear
!nsub,4,10,1
solve
*if,i,eq,1,then
save ! save original node locations at the first run
*endif
fini

/post1
cmsel,s,gasket
nsort,u,sum,1,1
*get,dismax(i),sort,0,max ! Get the maximum displacement value
strcri(i)=toler*dismax(i)
alls
fini

/prep7
mkey=2 ! Select level of mesh morphing for fluid
damorph,area2, ,mkey ! Perform morphing of "morphing fluid"
!----------------
!!!!! Create element plot and write it in file gasket.grph
fini
/prep7
et,1,42
asel,s,,,1,3
esla,s
/Title, EPLOT after DAMORPH,area2, ,%mkey% step number %i%
eplot
alls
!-----------------
cmsel,s,gasket
nlist ! List updated coordinates of bottom of gasket for comparison
/com, +++++++++ UPDATED gasket coordinates --------
alls
fini
/assign,esav
/assign,emat

!!!! Checking convergence criteria
imax= i
index(i)=i
*if,i,gt,1,then
strcri(i)=abs(dismax(i)-dismax(i-1))-toler*dismax(i-1)
*if,strcri(i),le,0,then
strcri(i)=0
*exit ! Stop looping if convergence is reached
*endif
*endif

*enddo ! 你的程序中就沒有終止循環啊,呵呵,怎麼第一次很能計算正確呢?估計也是有很大的潛在錯誤,或者只是計算了一部分!

這兩天也看了下,56單元確實已經在9.0後的版本中不出現了,所以你直接換成182單元進行運算,功能是一樣的,還有你的程序明顯是沒有寫完的,可以參考我後面給你補充那個命令!

㈥ 誰能給我一個ansys 能建立鋼筋的命令流

這個是混凝土裡面插入鋼筋的。跟你的情況類似。

/PREP7
ET,1,SOLID65
ET,2,LINK8
keyopt,1,7,1

R,1, , , , , , ,
R,2,0.0034, ,

mp,ex,1,2.8e10
mp,prxy,1,.167
TB,CONC,1,1,9,
TBTEMP,0
TBDATA,,1,1,2E 006,-1,0,0
TBDATA,,0,0,0.6,,,

MP,EX,2,3e11
MP,PRXY,2,.3

BLC4, , ,.2,1.5,10
VGEN,5,all, , ,.2, , , ,0
NUMMRG,ALL, , , ,LOW

VATT,1, 1,1, 0
LATT,2,2,2, , , ,

ESIZE,0.2,0,
MSHAPE,0,3D
MSHKEY,1
vmesh,all
lmesh,9,10
lmesh,22,58,12
fini

/solu
LSEL,S,LOC,Z,0
LSEL,R,LOC,Y,0
dl,all,,all,0
lsel,s,loc,z,10
lsel,r,loc,y,0
dl,all,,uy,0
alls

NSEL,S,LOC,Z,5
NSEL,R,LOC,Y,1.5
F,all,FY,-500000
alls

OUTRES,ALL,ALL,
TIME,1
AUTOTS,1
DELTIM,.1,.001,.2,1

solve

㈦ ansys加筋板分析命令流,求大神指教

我大概看了看,命令流編的還是不錯的,問題就像你說的梁單元和殼單元沒有連接。
連接的方法一般就是梁單元要與殼單元共線。按照你的建模思路,你建完十字交叉的線後,用線把面分割(divide命令),將面分成四個小面,確保有共線。然後按照之後你的方法進行網格劃分和求解就可以了。
不知道我說明白了沒,你先試下,應該可以解決。

㈧ 請問ANSYS命令流 dl,2,1,all,0什麼意思

dl——在線上施加自由度(DOF)約束的命令;
2——將要施加約束的線編號;
1——包含線的面號,默認值是包含線號的所選面的最小編號;
all——施加所有適宜的DOF約束;
0——自由度值,因之前為all,所以此處為默認值0.

㈨ ANSYS求解命令流最後ALLSEL NROPT,FULL TIME,1 SOLVE這四步操作如何用菜單欄操作的

ansys幫助文件打開,搜索這幾個命令,在命令解釋的最後會有gui操作。

㈩ 求ansys顯示兩節點間路徑應力變化曲線命令流

csys,0
path,fb,5
ppath,1,,5*dl_u+0.1,hgirder
ppath,2,,5*dl_u+0.1,hgirder-0.5
ppath,3,,6*dl_u-0.1,hgirder-0.5
ppath,4,,6*dl_u-0.1,hgirder
ppath,5,,5*dl_u+0.1,hgirder
pdef,uy,u,y
plpath,uy

閱讀全文

與DL命令流相關的資料

熱點內容
php如何解析xml文件 瀏覽:698
如何改變appstore的語言 瀏覽:460
javahtmlxml 瀏覽:28
單片機啟動文件 瀏覽:811
橙app如何開啟聊天 瀏覽:899
訪問伺服器公網地址 瀏覽:666
pdf列印底色去掉 瀏覽:463
java快遞介面 瀏覽:397
哪個app可以教新爸爸 瀏覽:210
如何查看伺服器系統版本信息 瀏覽:524
成都市土地出讓金演算法 瀏覽:703
鋼筋加密標記 瀏覽:577
ps中擴展功能在文件夾的什麼位置 瀏覽:905
雙極壓縮機為什麼要先高壓 瀏覽:527
蘋果手機伺服器填什麼 瀏覽:832
android移動動畫效果 瀏覽:692
電子和伺服器是什麼意思 瀏覽:692
phpurl中文亂碼問題 瀏覽:894
程序員那麼可愛大結局陸漓產子 瀏覽:538
java如何從雲伺服器讀取本地文件 瀏覽:924