24小时热门版块排行榜    

查看: 2916  |  回复: 8
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zhoudeyuan

银虫 (小有名气)

[求助] 纳米压痕过程中程序出错,哪位大神帮我解答下!

我的纳米压痕程序如下,运行结束后,牛顿原子层很不稳定,且log文件提示错误,不知道哪位大神能够帮我解答下,小弟万分感谢!
# 3d contact simulation(Sphere_Slid)

units        metal
dimension    3   
boundary    p p p

atom_style    atomic
neighbor    3.0 bin
neigh_modify    delay 5
newton        on

# create geometry

region        box block 0.0 40.0 0.0 40.0 0.0 50.0 units box
create_box    4 box

mass        1 29.0
mass        2 29.0
mass        3 29.0
mass        4 12.0

# atom regions
region        reg block 0.0 40.0 0.0 40.0 0.0 25.0 units box
region        reg1 block 3.0 37.0 3.0 37.0 3.0 25.0 units box
region        newtonian_layer block 8.0 32.0 8.0 32.0 8.0 25.0 units box
region        asperity sphere 20 20 30 5 units box

lattice       diamond 5.431        
create_atoms    1 region reg units box
lattice        diamond 3.5667
create_atoms    2 region asperity units box

# Tersoff Potentials

pair_style    tersoff
pair_coeff    * * SiC.tersoff Si Si Si C

# define groups

group        reg region reg
group        reg1 region reg1
group        newtonian_layer region newtonian_layer
group        thermostat_layer subtract reg1 newtonian_layer
group        boundary_layer_down subtract reg reg1
group        asperity region asperity

group        integrater union reg asperity

set           group newtonian_layer type 1
set           group thermostat_layer type 2
set           group boundary_layer_down type 3
set           group asperity type 4

# initial velocities

compute        newTemp thermostat_layer temp
velocity    thermostat_layer create 293.0 5812775 temp newTemp units box

# fixed

fix        1 integrater nve
fix        2 boundary_layer_down setforce 0.0 0.0 0.0

velocity    newtonian_layer set NULL NULL NULL units box
velocity    thermostat_layer create 293.0 5812775 temp newTemp units box
fix        3 thermostat_layer temp/rescale 10 293.0 293.0 10 1
fix_modify    3 temp newTemp
fix             4 asperity setforce 0.0 0.0 0.0


compute        forcez newtonian_layer property/atom fz
compute        force  newtonian_layer reduce sum c_forcez

compute        forcex newtonian_layer property/atom fx
compute        lateralforce  newtonian_layer reduce sum c_forcex            

timestep    0.001
thermo        5

thermo_style    custom step temp press pe ke etotal c_force c_lateralforce vol
thermo_modify    temp newTemp
dump        1 all atom 50 dump.contact_block_slid

fix        6 asperity move linear 0.0 0.0 -1.0 units box
run        2000

fix        6 asperity move linear 0.0 0.0 1.0 units box
run        2000
log文件出错:
WARNING: Temperature for thermo pressure is not for group all (thermo.cpp:432)
WARNING: One or more atoms are time integrated more than once (modify.cpp:216),
我不知道问题出在哪儿了,希望高手给予指点,谢谢!
回复此楼
在这个世界上,你必须成为你希望看到的改变!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

PANGHS

木虫 (初入文坛)

送红花一朵
引用回帖:
6楼: Originally posted by zhoudeyuan at 2013-03-23 16:13:27
回复的迟了,谢谢你!...

请问楼主 是哪一个参数改为all 我也在做压痕
9楼2016-04-16 09:06:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

ddll_slsl

木虫 (正式写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
zhoudeyuan: 金币+5, ★★★很有帮助 2013-03-22 09:22:42
zhoudeyuan: 金币+2, ★★★很有帮助 2013-03-23 16:15:02
第一个问题手册里有说明。 第二个是对asperity的原子重复移动了, integrater组理包含了asperity, 所以fix        1 integrater nve
对asperity的原子多了一次位移。
2楼2013-03-22 09:02:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhoudeyuan

银虫 (小有名气)

引用回帖:
2楼: Originally posted by ddll_slsl at 2013-03-22 09:02:09
第一个问题手册里有说明。 第二个是对asperity的原子重复移动了, integrater组理包含了asperity, 所以fix        1 integrater nve
对asperity的原子多了一次位移。

嗯,谢谢你!
在这个世界上,你必须成为你希望看到的改变!
3楼2013-03-22 09:21:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ddll_slsl

木虫 (正式写手)

【答案】应助回帖

第一个问题, 手册里说明了, 部分的thermo参数无法准确表示整个热压。 把对象设为all就可以了。
4楼2013-03-22 11:29:18
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +4 5BDX0d0WFp7t 2026-09-15 4/200 2026-09-18 03:18 by cITaGg3p5edr
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 5BDX0d0WFp7t 2026-09-15 3/150 2026-09-18 03:16 by cITaGg3p5edr
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +4 40ms4Wlo4umh 2026-09-14 4/200 2026-09-18 01:04 by cITaGg3p5edr
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +6 s3fFTmArrBt6 2026-09-13 6/300 2026-09-17 23:28 by cuPZTDXS3VOd
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +7 s3fFTmArrBt6 2026-09-13 8/400 2026-09-17 23:28 by cuPZTDXS3VOd
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +8 QUjhNVAcOSff 2026-09-13 9/450 2026-09-17 22:05 by cuPZTDXS3VOd
[有机交流] 各位大神,目前国内有哪些比较好用的逆合成软件? 20+3 zapen 2026-09-15 7/350 2026-09-17 16:40 by 北京莱茵编辑
[考博] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 vZfe6xYu34yj 2026-09-14 3/150 2026-09-17 15:29 by 0ngsZVSCTS7z
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +4 Aj1rhIDL5ixY 2026-09-14 4/200 2026-09-17 14:27 by ObVzqQQh1rrE
[硕博家园] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +6 40ms4Wlo4umh 2026-09-14 6/300 2026-09-17 13:53 by ObVzqQQh1rrE
[考研] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +5 23jxep3nCNZb 2026-09-14 5/250 2026-09-17 13:29 by ObVzqQQh1rrE
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +4 mibUvS8DDCwf 2026-09-15 4/200 2026-09-17 06:26 by k06BKNblrGRH
[硕博家园] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 vZfe6xYu34yj 2026-09-14 3/150 2026-09-17 05:16 by k06BKNblrGRH
[公派出国] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 23jxep3nCNZb 2026-09-14 3/150 2026-09-17 03:52 by k06BKNblrGRH
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +6 s3fFTmArrBt6 2026-09-13 6/300 2026-09-17 02:14 by Tql5LQhh5rLK
[公派出国] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +5 s3fFTmArrBt6 2026-09-13 7/350 2026-09-17 02:14 by Tql5LQhh5rLK
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 LwdutQ8HoqWP 2026-09-13 7/350 2026-09-17 02:02 by Tql5LQhh5rLK
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +5 s3fFTmArrBt6 2026-09-14 5/250 2026-09-16 19:15 by rRvxEj3zorCy
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +5 6F5UbRU2I5hL 2026-09-14 6/300 2026-09-16 17:27 by i3KBRD19ERkG
[考博] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +7 QUjhNVAcOSff 2026-09-13 7/350 2026-09-16 14:36 by i3KBRD19ERkG
信息提示
请填处理意见