版块导航
正在加载中...
客户端APP下载
登录
注册
帖子
帖子
用户
本版
应《网络安全法》要求,自2017年10月1日起,未进行实名认证将不得使用互联网跟帖服务。为保障您的帐号能够正常使用,请尽快对帐号进行手机号验证,感谢您的理解与支持!
24小时热门版块排行榜
>
论坛更新日志
(3995)
>
基金申请
(714)
>
休闲灌水
(671)
>
招聘信息布告栏
(598)
>
导师招生
(226)
>
虫友互识
(176)
>
文献求助
(164)
>
论文投稿
(88)
>
有奖起名
(77)
>
考博
(58)
>
硕博家园
(34)
>
能源
(30)
>
教师之家
(30)
>
博后之家
(29)
>
电化学
(26)
>
环境
(25)
小木虫论坛-学术科研互动平台
»
计算模拟区
»
仿真模拟
»
ANSYS & ABAQUS
»
如何在已有命令流文件中,增加结构自重的影响
2
1/1
返回列表
查看: 3398 | 回复: 1
只看楼主
@他人
存档
新回复提醒
(忽略)
收藏
在APP中查看
jinzhenxin
新虫
(初入文坛)
应助: 0
(幼儿园)
金币: 193
帖子: 4
在线: 2.3小时
虫号: 2840878
注册: 2013-11-29
专业: 结构工程
[交流]
如何在已有命令流文件中,增加结构自重的影响
已有1人参与
导师扔了一个完成度已经很高的APDL文件,叫我改着玩分析下材料参数对承载力的影响
基本上都是在这个文件上进行修改
因为直接从GUI操作跨度到APDL,难度有点大
在设置材料密度后,对应的log文件新增的内容如下
引用回帖:
!*
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,DENS,1,,2400
对应的也有MPDATA命令,猜测直接拷贝,增加在/prep7下就可以运行了
但是,今天跟另一个学长聊天的时候,他告知,还需要考虑加速度?额,但是也适合说不清。
上来问问大家,如果需要考虑自重的情况下,还需要增加加速度的命令流吗
附源文件
引用回帖:
! Input file for ANSYS
! ANSYS Parametric Design Language (APDL)
! Simulation of Wedge Splitting Test with user-defined material
! Rotating smeared crack model
! Usermat.F
FINI ! exit processor, if necessary
/Clear ! crear database
/FILENAME,WST,1
/TITLE, Wedge Splitting Test with usermat.F
/NOPR !Suppresses the expanded interpreted input data listing
/NOLIST !Suppresses the data input listing
! Geometry, material properties, meshing parameters,
! and maximum CMOD may be changed by user for parametric studies.
! Input in N and mm
! Parameters for geometry (according to Instruction)
length=300
height=300
w=288
width=100
notch=135
! Material parameters
E=30000
mue=0.2
Gf=0.1
ft=3
c1=3
c2=6.93
! Parameters for mesh
edge_length=5 ! element edge length and notch width
! Maximum CMOD
max_CMOD=0.65
! End of user input section
! Do not change text below!
! Pre-processing
/prep7 !Enters the model creation preprocessor
ele1=185
mat1=1
mat2=2
ET,1,ele1 !Defines a local element type from the element library
KEYOPT,1,2,0
! Geometry in-plane
to=height-w
c=50
d=40
RECTNG,(length-edge_length)/2,(length+edge_length)/2,0,height-notch, !Creates a rectangular area anywhere on the working plane
RECTNG,0,(length-edge_length)/2,0,height-notch,
RECTNG,(length+edge_length)/2,length,0,height-notch,
RECTNG,0,(length-edge_length)/2,height-notch,height-d,
RECTNG,(length+edge_length)/2,length,height-notch,height-d,
RECTNG,0,(length-c)/2,height-d,height-to,
RECTNG,(length+c)/2,length,height-d,height-to,
RECTNG,0,(length-c)/2,height-to,height,
RECTNG,(length+c)/2,length,height-to,height,
! Extrude
VOFFST,1,width, , !Generates a volume, offset from a given area
VOFFST,2,width, ,
VOFFST,3,width, ,
VOFFST,4,width, ,
VOFFST,5,width, ,
VOFFST,6,width, ,
VOFFST,7,width, ,
VOFFST,8,width, ,
VOFFST,9,width, ,
! Meshing
VGLUE, ALL ! glue all volumes !Generates new volumes by "gluing" volumes.
ESIZE,edge_length ! size control !Specifies the default number of line divisions
VSEL,s,loc,y,0,height-notch
MAT,mat1
VMESH, ALL
VSEL,s,loc,y,height-notch,height-c
ASEL,s,loc,y,height-d
ASEL,r,loc,x,0,(length-edge_length)/2
ACCAT, ALL !Concatenates multiple areas in preparation for mapped meshing
ASEL,s,loc,y,height-d !Selects a subset of areas
ASEL,r,loc,x,(length+edge_length)/2,length
ACCAT, ALL
ASEL, ALL !Selects a subset of areas
MAT,mat1
VMESH, ALL
VSEL,s,loc,y,height-c,height
MAT,mat2
VMESH, ALL
VSEL, ALL
! Boundary conditions
! Vertical load and self-weight are neglected.
LSEL,s,loc,y,height-to !Selects a subset of lines
LSEL,r,loc,x,(length-c)/2
DL,all,,ux,0 !Defines DOF constraints on lines.
DL,all,,uy,0
DL,all,,uz,0
LSEL,all
LSEL,s,loc,y,height-to
LSEL,r,loc,x,(length+c)/2
DL,all,,uy,0
DL,all,,uz,0
LSEL,all
! Define user material mat1 by tb,user
TB,user,mat1,1,6 ! one temperature, six material properties
TBDATA, 1, E, mue, Gf, ft, c1, c2 ! material properties for temperature #1
TB,state,mat1,,8 ! eight state variables
! Define material mat2 (linear-elastic)
MP,ex ,mat2, E
MP,nuxy,mat2,mue
! Request output for state variables
OUTRES,svar,all
FINI
! Solution
/solu
NLGEOM,off ! no geoemtrical nonlinearities
EQSLV, PCG,,1 !
NEQIT, 100
Outres,ALL,ALL
! six load steps following
NSUBST,1,10,1
LSEL,s,loc,y,height-to
LSEL,r,loc,x,(length+c)/2
DL,all,,ux, 1e-20
LSEL,all
TIME,1
SOLV
NSUBST,10,40,5
LSEL,s,loc,y,height-to
LSEL,r,loc,x,(length+c)/2
DL,all,,ux, max_CMOD*0.07
LSEL,all
TIME,2
SOLV
LSEL,s,loc,y,height-to
LSEL,r,loc,x,(length+c)/2
DL,all,,ux, max_CMOD*0.17
LSEL,all
TIME,3
SOLV
LSEL,s,loc,y,height-to
LSEL,r,loc,x,(length+c)/2
DL,all,,ux, max_CMOD*0.43
LSEL,all
TIME,4
SOLV
LSEL,s,loc,y,height-to
LSEL,r,loc,x,(length+c)/2
DL,all,,ux, max_CMOD*0.6
LSEL,all
TIME,5
SOLV
LSEL,s,loc,y,height-to
LSEL,r,loc,x,(length+c)/2
DL,all,,ux, max_CMOD
LSEL,all
TIME,6
SOLV
FINI
! Time-history postprocessor
/post26
NSEL,s,loc,y,height-to
NSEL,r,loc,x,(length+c)/2
*GET, node_count, NODE, 0, count ! number of nodes along the loaded edge
NSEL,all
NUMVAR, 200
node_number_corner=NODE((length+c)/2,height-to,0)
NSOL,2,node_number_corner,u,x,CMOD ! store CMOD
*DO, counter,1,node_count
node_number=NODE((length+c)/2,height-to,(counter-1)*width/(node_count-1))
RFORCE,4+counter,node_number,f,x,CHRVAL(counter) ! reactions
ADD,3,3,4+counter,,Split_force ! calculate and store splitting force
*ENDDO
SOLU,4,NCMIT,,Iterations ! store cumulative number of iterations
PRVAR,2,3,4 ! print time-history results in output window
XVAR,2
/TITLE, Splitting force versus CMOD
PLVAR,3 ! show Splitting force versus CMOD
/WAIT, 2
FINI
! General postprocessor
/post1
/TITLE, Maximum crack width
PLESOL,svar,3 ! contour plot maximum crack width
/WAIT, 2
/TITLE, Principal cracking strain
PLVECT,EPPL,,,,VECT,ELEM,ON,1 ! vector plot of principal cracking strain
/WAIT, 2
PATH,p1,2,20,30 ! define path
PPATH,1,,length/2,height-notch,width/2
PPATH,2,,length/2,0,width/2
PDEF,sigma_x,s,x, NOAV
PDEF,max_w,svar,3, NOAV
/TITLE, x-component of stress
PLPAGM,sigma_x,500,NODE ! show x-component of stress
/WAIT, 2
/TITLE, Maximum crack width
PLPAGM,max_w,500,NODE ! show maximum crack width
FINI
回复此楼
» 猜你喜欢
面上函评意见出来了,像什么等级?
已经有15人回复
为什么资助数各大高校都创新高,自己申请怎么就这么难
已经有14人回复
在坚冰还盖着北海的时候,我看到了怒放的梅花。
已经有11人回复
小白求助 投论文要求的highlights应该如何写
已经有4人回复
麻烦专家们看看评委们的意见(F口面上)
已经有12人回复
怎么看青基中了没有啊
已经有6人回复
国社科又开始会评了,不知道这次命运如何
已经有11人回复
有多少人是今天查系统知道结果的?
已经有19人回复
基金未中,这种答复是模板吗?
已经有7人回复
哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识
已经有7人回复
» 本主题相关商家推荐:
(我也要在这里推广)
高级回复
» 本主题相关价值贴推荐,对您同样有帮助:
ANSYS热模拟高温拉伸,结构场计算出现问题,麻烦各位帮忙看看,附详细命令流
已经有14人回复
【资源】ANSYS工程结构数值分析命令流(王新敏)
已经有14人回复
1楼
2014-10-09 07:11:09
已阅
回复此楼
关注TA
给TA发消息
送TA红花
TA的回帖
lmh2007seu
木虫
(小有名气)
应助: 10
(幼儿园)
金币: 1772.5
散金: 984
帖子: 77
在线: 106.5小时
虫号: 1374557
注册: 2011-08-20
专业: 结构工程
★
小木虫: 金币+0.5, 给个红包,谢谢回帖
需要增加加速度的命令流,ansys中是通过惯性力施加重力的
赞
一下
回复此楼
2楼
2014-10-09 08:52:44
已阅
回复此楼
关注TA
给TA发消息
送TA红花
TA的回帖
相关版块跳转
第一性原理
量子化学
计算模拟
分子模拟
仿真模拟
程序语言
我要订阅楼主
jinzhenxin
的主题更新
2
1/1
返回列表
如果回帖内容含有宣传信息,请如实选中。否则帐号将被全论坛禁言
普通表情
龙
兔
虎
猫
高级回复
(可上传附件)
百度网盘
|
360云盘
|
千易网盘
|
华为网盘
在新窗口页面中打开自己喜欢的网盘网站,将文件上传后,然后将下载链接复制到帖子内容中就可以了。
最具人气热帖推荐
[查看全部]
作者
回/看
最后发表
[
基金申请
]
面上函评意见出来了,像什么等级?
20
+4
Tsingking1
2026-08-27
15/750
2026-09-01 12:23
by
icm639
[
基金申请
]
在坚冰还盖着北海的时候,我看到了怒放的梅花。
(金币+10)
+8
ziyangfang
2026-08-25
11/550
2026-09-01 09:51
by
zzuzxg
[
基金申请
]
麻烦专家们看看评委们的意见(F口面上)
+7
gdd2018
2026-08-28
12/600
2026-09-01 08:32
by
尼古拉斯小虫
[
基金申请
]
怎么看青基中了没有啊
+6
叶九微
2026-08-26
6/300
2026-08-31 23:54
by
yudaoqian88
[
基金申请
]
国社科又开始会评了,不知道这次命运如何
+7
雨打竹帘
2026-08-30
11/550
2026-08-31 23:16
by
hittle2008
[
基金申请
]
基金未中,这种答复是模板吗?
+6
zhaosm1982
2026-08-27
7/350
2026-08-31 21:18
by
qdxxmc
[
基金申请
]
面上意见出来了
+12
黄鸟于飞Chao
2026-08-29
23/1150
2026-08-31 18:57
by
黄鸟于飞Chao
[
基金申请
]
中青基了要发朋友圈吗?
+7
349506619
2026-08-28
7/350
2026-08-31 13:39
by
冼亮淀粉酶
[
基金申请
]
29号明天会评吗
+4
笨笨唐
2026-08-28
4/200
2026-08-31 09:30
by
huixian257
[
基金申请
]
有没有仍没收到信息的
+7
德尚中行
2026-08-27
8/400
2026-08-30 20:52
by
purplejack
[
基金申请
]
国自然评审意见
+13
wangmingqi
2026-08-28
19/950
2026-08-29 10:22
by
Poppy1104
[
基金申请
]
系统查不到
+11
董八千
2026-08-26
11/550
2026-08-28 18:06
by
Leogzhya
[
基金申请
]
基金系统什么内容也没有
30
+4
winsaint
2026-08-27
9/450
2026-08-28 11:06
by
maolC
[
基金申请
]
我不理解!
+15
Edward_pc
2026-08-26
23/1150
2026-08-26 20:34
by
zzuzxg
[
基金申请
]
为什么国自然不能直接公布
+4
bjdxyxy
2026-08-26
4/200
2026-08-26 13:12
by
qingmu1201
[
基金申请
]
国际合作可查了,中了面上
(EPI+1)
(金币+50)
+18
Ldrop2023
2026-08-26
18/900
2026-08-26 11:15
by
cmrandy
[
基金申请
]
系统进不去
+4
yanglien
2026-08-26
5/250
2026-08-26 11:10
by
wenfengw83
[
基金申请
]
项目信息和经费信息在系统里都可以看到了
+6
wittyboy
2026-08-26
14/700
2026-08-26 10:55
by
wittyboy
[
基金申请
]
牛来!米来!面来!
+8
beefly
2026-08-26
8/400
2026-08-26 08:37
by
xuzhipiao
[
基金申请
]
某些机构,以效率低为荣,以效率低作为存在感
+9
yuleib84
2026-08-25
10/500
2026-08-25 17:14
by
alexon
信息提示
关闭
请填处理意见
关闭
确定