24小时热门版块排行榜    

查看: 596  |  回复: 0
【悬赏金币】回答本帖问题,作者x比天高将赠送您 5 个金币

x比天高

新虫 (初入文坛)

[求助] 求助帮我看看这是哪个方面的

各位大哥们,刚入门,老师给了我数据让我写小论文,in代码如下,我看了一下感觉是高熵合金,拉伸方面的,但是老师说是高熵合金双金属复合,给我的参考文章还是关于扩散的,我有点蒙,能帮我看看这到底是哪方面的吗,还有这个代码有什么问题吗
# ---------- Setup Variables ---------------------
variable minimumenergy equal -4.45900
variable etol equal 1.0e-25               
variable ftol equal 1.0e-25       
variable maxiter equal 10000       
variable maxeval equal 10000
variable latparam equal 3.595       
variable gbname index W_111STGB3       
variable counter equal 0                
variable inc equal "v_latparam/10"       


# ---------- Initialize Simulation ---------------------
clear
units metal
dimension 3
boundary s p p                                
atom_style atomic
read_data      data.min
#replicate      1 2 1



# ---------- Define Interatomic Potential ---------------------
pair_style meam
pair_coeff     * * library.meam Co Ni Cr Fe Mn CoNiCrFeMn.meam Co Ni Cr Fe Mn


neighbor 2.0 bin
neigh_modify delay 10 check yes




# ---------- Define Settings ---------------------
compute csym all centro/atom fcc
compute eng all pe/atom
compute eatoms all reduce sum c_eng
compute temp all temp
compute press all pressure temp
compute 1 all pe


variable        temperature equal temp
variable        potenenergy equal pe


#----------------Equilibrium---------------
reset_timestep        0
timestep 0.002
velocity        all create 300 3434798 mom yes rot no
fix                1 all npt temp 300 300 0.2 y 0 0 2 z 0 0 2
thermo                200
thermo_style custom step lx ly lz press pxx pyy pzz pe temp
run             50000
unfix           1

# Store final cell length for strain calculations
variable tmp equal "ly"
variable L0 equal ${tmp}
print "Initial Length, L0: ${L0}"
write_data data.reference



######################################
# DEFORMATION
reset_timestep        0
timestep 0.002
fix                1 all npt temp 300 300 0.2 z 0 0 2 drag 1
variable srate equal 1.0e8
variable srate1 equal "v_srate / 1.0e12"
fix                2 all deform 1 y erate ${srate1} units box remap x

# Output strain and stress info to file
# for units metal, pressure is in [bars] = 100 [kPa] = 1/10000 [GPa]
# p2, p3, p4 are in GPa
variable strain equal "(ly - v_L0)/v_L0"
variable p1 equal "v_strain"
variable p2 equal "pxx/10000"
variable p3 equal "pyy/10000"
variable p4 equal "pzz/10000"
fix def1 all print 1000 "${p1} ${p2} ${p3} ${p4}" file HEA_SC_1000.def1.txt screen no

# Use cfg for AtomEye
dump                 1 all custom 5000 dump.compressive id type x y z c_csym c_eng


# Display thermo
thermo         1000
thermo_style        custom step lx ly lz v_strain v_p3 temp v_p2 v_p4 ke pe press

run                2500000

######################################
# SIMULATION DONE
print "All done"
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 x比天高 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 308求调剂 +3 墨墨漠 2026-03-25 3/150 2026-03-25 17:49 by lenovolsw
[考研] 296求调剂 +4 汪!?! 2026-03-25 7/350 2026-03-25 16:41 by 汪!?!
[考研] 302求调剂 +4 锦衣卫藤椒 2026-03-25 4/200 2026-03-25 16:29 by 功夫疯狂
[考研] 07化学303求调剂 +3 睿08 2026-03-25 3/150 2026-03-25 16:02 by allen-yin
[考研] 334分 一志愿武理-080500 材料求调剂 +3 李李不服输 2026-03-25 3/150 2026-03-25 13:38 by cocolv
[考研] 086003食品工程求调剂 +6 淼淼111 2026-03-24 6/300 2026-03-25 10:29 by 3Strings
[考研] 招08考数学 +7 laoshidan 2026-03-20 16/800 2026-03-24 17:52 by 乌拉儿山脉
[考研] 0854 考研调剂 招生了!AI 方向 +5 pk3725069 2026-03-19 17/850 2026-03-24 17:30 by zhouxuan..
[考研] 070300化学求调剂 +9 苑豆豆 2026-03-20 9/450 2026-03-24 17:15 by licg0208
[考研] 300求调剂,材料科学英一数二 +5 leaflight 2026-03-24 5/250 2026-03-24 16:25 by laoshidan
[考研] 一志愿华东理工大学081700,初试分数271 +5 kotoko_ik 2026-03-23 6/300 2026-03-24 10:29 by 学术搬砖er
[考研] 一志愿西安交通大学材料工程专业 282分求调剂 +11 枫桥ZL 2026-03-18 13/650 2026-03-22 20:26 by edmund7
[考研] 311求调剂 +3 26研0 2026-03-20 3/150 2026-03-22 14:46 by ColorlessPI
[考研] 285求调剂 +6 ytter 2026-03-22 6/300 2026-03-22 12:09 by 星空星月
[考研] 初试 317 +7 半拉月丙 2026-03-20 7/350 2026-03-21 22:26 by peike
[考研] 0703化学297求调剂 +3 Daisy☆ 2026-03-20 3/150 2026-03-21 17:45 by ColorlessPI
[基金申请] 学校已经提交到NSFC,还能修改吗? 40+4 babangida 2026-03-19 9/450 2026-03-21 16:12 by babangida
[考研] 265求调剂 +12 梁梁校校 2026-03-19 14/700 2026-03-21 13:38 by lature00
[考研] 330求调剂 +4 小材化本科 2026-03-18 4/200 2026-03-20 23:13 by JourneyLucky
[考研] 材料学硕318求调剂 +5 February_Feb 2026-03-19 5/250 2026-03-19 23:51 by 23Postgrad
信息提示
请填处理意见