24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1666  |  回复: 1
【悬赏金币】回答本帖问题,作者小毛驴起飞将赠送您 5 个金币

小毛驴起飞

新虫 (初入文坛)

[求助] lammps新手想求助一下,fix deform算拉伸过程的应力应变曲线和fix ave/chunk命令相关

lammps新手想求助一下,本来是按照网上的案例想用fix deform算拉伸过程(x方向)的应力应变曲线,但是算出来pxx,pyy,pxx都是随应变增大而减小的趋势,完全不符合, 然后就想用fix ave/chunk 输出受力,in文件给出,initial.txt是有输出fx,fy,fz都是接近于0,但是stress.txt这里就没有输出受力的数据了,想请大家指导讨论下是哪里出错了,感谢!!!
#NVT ensemble for relaxation
fix                1 all nvt temp 300 300 100
dump 1 all custom 500 nvt.xyz id type x y z vx vy vz
thermo_style        custom step temp press vol density etotal epair ebond eangle edihed pxx pyy pzz lx ly lz
thermo          500
timestep        0.5
reset_timestep         0
run                50000
unfix 1
undump        1
   

variable tmp equal "lx"
variable L0 equal ${tmp}
variable strain equal "(lx - v_L0)/v_L0"
variable stressx equal "pxx/10000"
dump 1 all custom 500 traj.lammpstrj id type x y z ix iy iz vx vy vz
fix                1 all npt temp 300 300 100 y 0 0 1000 z 0 0 1000 drag 2
fix                2 all deform 1 x erate 0.000005 units box remap x
fix     3 all print 500 "${strain} ${stressx}" file strain_stress.txt screen no
thermo_style        custom step temp v_strain v_stressx pxx pyy pzz lx ly lz etotal epair ebond eangle edihed
thermo          500
compute st all chunk/atom bin/1d x lower 40 units box
fix    11 all ave/chunk 1 1 5 st fx fy fz ave one file stress.txt
timestep   0.5
reset_timestep        0
run                20000
unfix 1
unfix 2
unfix 3
undump 1
unfix 11
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

小毛驴起飞

新虫 (初入文坛)

应力定义为-pxx/10000,就是应力随应变增大而增大
2楼2021-09-13 10:48:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 小毛驴起飞 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 急需调剂 +4 绝不放弃22 2026-04-15 4/200 2026-04-15 21:41 by lbsjt
[考研] 0854调剂 +13 长弓傲 2026-04-12 16/800 2026-04-15 13:45 by fenglj492
[考研] 085500求调剂材料 +11 易11122 2026-04-09 11/550 2026-04-14 17:59 by lhj2009
[考研] 08工学 309分求调剂 +12 Yin DY 2026-04-08 12/600 2026-04-14 17:49 by lhj2009
[考研] 化工学硕294分,求导师收留 +32 yzyzx 2026-04-12 36/1800 2026-04-14 17:45 by lhj2009
[考研] 机械还有还有名额吗?太难了 +8 笑笑袁 2026-04-10 8/400 2026-04-14 08:44 by screening
[考研] 本科西工大 324求调剂 +5 wysyjs25 2026-04-10 5/250 2026-04-13 23:08 by pies112
[考研] 一志愿211 0703化学 346分求调剂 +26 土豆er? 2026-04-09 29/1450 2026-04-13 15:15 by 独醉梦孤城
[考研] 求调剂 +16 张番茄不炒蛋 2026-04-10 17/850 2026-04-12 13:58 by 熬夜成!
[考研] 材料与化工300求调剂 +39 肖开文 2026-04-09 43/2150 2026-04-12 01:30 by 秋豆菜芽
[找工作] 山东高校教师考核超级无底线,员工过不下去啦 +4 qut2026 2026-04-09 9/450 2026-04-12 00:54 by qut2026
[考研] 本人女孩 +7 吼吼, 2026-04-10 9/450 2026-04-11 14:45 by ACS Nano——
[考研] 085410-273求调剂 +6 X1999 2026-04-10 6/300 2026-04-11 10:32 by Delta2012
[考研] 22408调剂求助 +7 毂12 2026-04-09 9/450 2026-04-11 09:23 by 哦哦123
[考研] 计算机类求调剂,22408-274分 +7 上岸de小虫 2026-04-09 8/400 2026-04-10 19:56 by fxue1114
[考研] 22408 366分,本科211,一志愿西工大 +4 Rubt 2026-04-09 4/200 2026-04-10 19:51 by chemisry
[考研] 中科院总分315求调剂 +8 lallalh 2026-04-09 8/400 2026-04-10 19:30 by dick_runner
[考研] 求调剂 +5 不会飞的鱼@ 2026-04-10 5/250 2026-04-10 19:07 by chemisry
[考研] 332,085601求调剂 +12 ydfyh 2026-04-09 14/700 2026-04-09 17:28 by wp06
[考研] 求机械专硕297第二批调剂 +5 拾柒12。 2026-04-08 5/250 2026-04-09 16:43 by 允当适度
信息提示
请填处理意见