24小时热门版块排行榜    

查看: 737  |  回复: 0

Han19910102

银虫 (初入文坛)

[求助] stress------strain 曲线

做stress------strain 曲线  compute      s all stress/atom这一步出错,求大神们给改一下



units                metal
boundary           p s p
atom_style         atomic
lattice               fcc 3.61 orient x 1 0 0 orient y 0 1 1 orient z 0 -1 1  origin 0.5 0 0

region                box block 0 10 0 10 0 5
create_box         3 box
create_atoms     1 box
pair_style        eam
pair_coeff        * * Cu_u3.eam
neighbor         0.3 bin
neigh_modify      every 5  delay 0  check yes

region                lower block INF INF INF 0.9 INF INF

region                upper block INF INF INF INF 8.9 INF
group                lower region lower
group                upper region upper

group                boundary union lower upper

group                mobile subtract all boundary
set                group lower type 2
set                group upper type 3
velocity        lower set 0.0 0.0 0.0
compute                new3d mobile temp
compute                new2d mobile temp/partial 1 0 1
compute         cna   all    cna/atom 3.0
compute      s all stress/atom
compute      stressx all reduce sum c_stress
compute      stressy all reduce sum c_stress
compute      stressz all reduce sum c_stress
# equilibrate
velocity        mobile create 300.0 85277 temp new3d
fix                1 all nve
fix                2 upper setforce 0.0 0.0 0.0
fix                4 lower setforce 0.0 0.0 0.0
fix                3 mobile temp/rescale 10 300.0 300.0 10.0 1.0
fix_modify        3 temp new3d
thermo                50
thermo_modify        temp new3d
timestep        0.001
run                100
variable tmp equal "ly"
variable L0 equal ${tmp}
variable strain equal "(ly-v_L0)/ly"
# shear
velocity        upper set 0 0.1 0
velocity        mobile ramp vy 0 0.1 y 0.9 8.9 sum yes
unfix                3
fix                3 mobile temp/rescale 10 300.0 300.0 10.0 1.0
fix_modify        3 temp new2d
variable p1 equal "v_strain"
variable p2 equal –{pzz/(3.165^3/2)}/10000
variable p3 equal –{pzz/(3.165^3/2)}/10000
variable p4 equal –{pzz/(3.165^3/2)}/10000
variable pm equal "" –{(pxx+pyy+pzz0/(3.165^3/2)}/10000
variable st  equal "step"
fix def1 all print 100 "${st} ${p1} ${pm}  ${p2} ${p3} ${p4}" file tensile_d.txt screen no
dump                1 all cfg 100 tensile_*.cfg mass type xs ys zs c_cna  c_stress c_stress  c_stress
thermo                100
thermo_modify        temp new2d
reset_timestep        0
run                100000
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 Han19910102 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 HAlUgI97lcPc 2026-11-22 3/150 2026-11-23 06:33 by TU1sx51gX99i
[考研] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 mNjrFMLoQVIW 2026-11-22 3/150 2026-11-23 06:22 by TU1sx51gX99i
[基金申请] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 TxdNP2oT1Q0A 2026-11-21 3/150 2026-11-23 04:33 by TU1sx51gX99i
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 TxdNP2oT1Q0A 2026-11-21 4/200 2026-11-23 04:21 by TU1sx51gX99i
[博后之家] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +4 TxdNP2oT1Q0A 2026-11-21 4/200 2026-11-23 04:21 by TU1sx51gX99i
[公派出国] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 TxdNP2oT1Q0A 2026-11-21 4/200 2026-11-23 03:59 by TU1sx51gX99i
[考研] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 TxdNP2oT1Q0A 2026-11-21 4/200 2026-11-23 03:59 by TU1sx51gX99i
[论文投稿] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 TxdNP2oT1Q0A 2026-11-21 4/200 2026-11-23 03:49 by TU1sx51gX99i
[博后之家] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 Gt0XhENGW3Q3 2026-11-21 4/200 2026-11-23 03:37 by TU1sx51gX99i
[硕博家园] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 Gt0XhENGW3Q3 2026-11-21 4/200 2026-11-23 03:26 by TU1sx51gX99i
[考博] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 Gt0XhENGW3Q3 2026-11-21 4/200 2026-11-23 03:15 by TU1sx51gX99i
[公派出国] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +5 YpGmINmR5fp3 2026-11-21 5/250 2026-11-23 02:42 by TU1sx51gX99i
[考研] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +6 K2uSGhxsSAvH 2026-11-21 6/300 2026-11-23 01:58 by TU1sx51gX99i
[论文投稿] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +6 YLsF7OSIoYU4 2026-11-21 7/350 2026-11-23 01:37 by TU1sx51gX99i
[论文投稿] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +7 Xoz0hXWi9tT1 2026-11-21 8/400 2026-11-23 01:04 by AyQg4gRU5coM
[考研] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 TxdNP2oT1Q0A 2026-11-21 3/150 2026-11-22 19:54 by EFrqTWPNvJJu
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 YLsF7OSIoYU4 2026-11-21 4/200 2026-11-22 09:49 by HAlUgI97lcPc
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 Xoz0hXWi9tT1 2026-11-21 6/300 2026-11-22 09:05 by HAlUgI97lcPc
[论文投稿] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 Xoz0hXWi9tT1 2026-11-20 5/250 2026-11-22 08:54 by HAlUgI97lcPc
[材料综合] 憎水剂,表面活性剂 20+3 tan19990622 2026-11-19 3/150 2026-11-21 18:24 by tfang
信息提示
请填处理意见