声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1303|回复: 1

[CFD及热分析] 大家帮我分析一下apdl中的table数值代表什么??

[复制链接]
发表于 2008-12-31 14:45 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
~SATIN,12.5mm,SAT,,SOLIDS,0
/BATCH,LIST
/title, new analysize
/nopr
time =0.200  
delta=0.001
apps=0.001
nts=0.2/delta

/prep7
*DEL,_FNCNAME   
*DEL,_FNCMTID   
*SET,_FNCNAME,'double'  
! /INPUT,double.func
*DIM,%_FNCNAME%,TABLE,6,5,4
!   
! Begin of equation: {TIME}
*SET,%_FNCNAME%(0,0,1), 0.0, -999   
*SET,%_FNCNAME%(2,0,1), 0.0
*SET,%_FNCNAME%(3,0,1), 0.0
*SET,%_FNCNAME%(4,0,1), 0.0
*SET,%_FNCNAME%(5,0,1), 0.0
*SET,%_FNCNAME%(6,0,1), 0.0
*SET,%_FNCNAME%(0,1,1), 1.0, 99, 0, 1, 1, 0, 0  
*SET,%_FNCNAME%(0,2,1),   0
*SET,%_FNCNAME%(0,3,1),   0
*SET,%_FNCNAME%(0,4,1),   0
*SET,%_FNCNAME%(0,5,1),   0
! End of equation: {TIME}   
!   
! Begin of equation: 0*{TIME}   
*SET,%_FNCNAME%(0,0,2), 0.020, -999
*SET,%_FNCNAME%(2,0,2), 0.0
*SET,%_FNCNAME%(3,0,2), 0.0
*SET,%_FNCNAME%(4,0,2), 0.0
*SET,%_FNCNAME%(5,0,2), 0.0
*SET,%_FNCNAME%(6,0,2), 0.0
*SET,%_FNCNAME%(0,1,2), 1.0, -1, 0, 0, 0, 0, 1  
*SET,%_FNCNAME%(0,2,2), 0.0, -2, 0, 1, -1, 3, 1
*SET,%_FNCNAME%(0,3,2),   0, 99, 0, 1, -2, 0, 0
*SET,%_FNCNAME%(0,4,2),   0
*SET,%_FNCNAME%(0,5,2),   0
! End of equation: 0*{TIME}
!   
! Begin of equation: 0.2*({TIME}-0.040)
*SET,%_FNCNAME%(0,0,3), 0.070, -999   
*SET,%_FNCNAME%(2,0,3), 0.0
*SET,%_FNCNAME%(3,0,3), 0.0
*SET,%_FNCNAME%(4,0,3), 0.0
*SET,%_FNCNAME%(5,0,3), 0.0
*SET,%_FNCNAME%(6,0,3), 0.0
*SET,%_FNCNAME%(0,1,3), 1.0, -1, 0, 0.020, 0, 0, 1
*SET,%_FNCNAME%(0,2,3), 0.0, -2, 0, 1, 1, 2, -1
*SET,%_FNCNAME%(0,3,3),   0, -1, 0, 0.1, 0, 0, -2
*SET,%_FNCNAME%(0,4,3), 0.0, -3, 0, 1, -1, 3, -2
*SET,%_FNCNAME%(0,5,3), 0.0, 99, 0, 1, -3, 0, 0
! End of equation: 0.2*({TIME}-0.040)   

! Begin of equation: 0.2*(0.150-0.040)   !!!!!!!!!算到稳态
*SET,%_FNCNAME%(0,0,4), 0.110, -999
*SET,%_FNCNAME%(2,0,4), 0.0
*SET,%_FNCNAME%(3,0,4), 0.0
*SET,%_FNCNAME%(4,0,4), 0.0
*SET,%_FNCNAME%(5,0,4), 0.0
*SET,%_FNCNAME%(6,0,4), 0.0
*SET,%_FNCNAME%(0,1,4), 1.0, -1, 0, 0.1, 0, 0, 0
*SET,%_FNCNAME%(0,2,4), 0.0, -2, 0, 0.050, 0, 0, -1
*SET,%_FNCNAME%(0,3,4),   0, -3, 0, 1, -1, 3, -2
*SET,%_FNCNAME%(0,4,4), 0.0, 99, 0, 1, -3, 0, 0
*SET,%_FNCNAME%(0,5,4),   0
! End of equation: 50*0.040
!-->

!   
et,1,142                              
VDELE, 1, , , 1
keyopt,1,4,1
vsel,s,,,2
type,1
mshape,1,3d
mshkey,0
esize,0.004
asel,s,,,49,64
aesize,all,0.002
vmesh,all
alls



!wall condition
asel,s,,,17
asel,a,,,19,40
asel,a,,,42,48

nsla,s,1
d,all,vx,0      
d,all,vy,0
d,all,vz,0
d,all,ux,0
d,all,uy,0
d,all,uz,0
alls


!moving face
asel,s,,,49,64
nsla,s,1
d,all,ux,0.0                                       
d,all,uy,0.0
!d,all,uz,0.0
d,all,uz,%double%
alls

! inlet condition
asel,s,,,41
nsla,s,1
d,all,ux,0.0
d,all,uy,0.0  
d,all,uz,0.0
d,all,vx,1
!d,all,pres,1E+6

alls

!outlet
asel,s,,,18
nsla,s,1
d,all,ux,0.0
d,all,uy,0.0  
d,all,uz,0.0
d,all,pres,1.0e+5
alls




! Flotran Setup
/solu
!kbc,0
!timint,on,fluid

NCNV,,1.0E25,0,0

flda,step,sumf,1
flda,time,numb,nts
flda,time,appe,apps
flda,time,tend,time
FLDA,SOLU,ALE,T                ! ALE solution
FLDATA1,SOLU,FLOW,1
FLDATA1,SOLU,TRAN,1
FLDATA1,SOLU,TURB,1
FLDATA2,TIME,GLOB,5
FLDA,TIME,STEP,apps

FLDATA7,PROT,DENS,CONSTANT
FLDATA8,NOMI,DENS,1000
FLDATA7,PROT,VISC,CONSTANT
FLDATA8,NOMI,VISC,4.6
SOLVE
SAVE
FINISH
回复
分享到:

使用道具 举报

发表于 2008-12-31 15:36 | 显示全部楼层

回复 楼主 tian791126 的帖子

这个要根据你的具体问题吧,比如做瞬态分析的时候table的第零列代表的是时间,第一列可以代表这一时刻的载荷,然后分析的时候将这个表载荷加到作用点上即可。不知道你这个问题是分析什么。问问搞相关专业的可能应该明白里面数值的具体意义吧。
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-30 18:48 , Processed in 0.063038 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表