24小时热门版块排行榜    

查看: 592  |  回复: 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个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 083000环境科学与工程调剂 +5 mingmingry 2026-03-09 6/300 2026-03-10 11:59 by peike
[考研] 哈工大材料324求调剂 +4 闫旭东 2026-03-10 4/200 2026-03-10 11:54 by peike
[考研] 调剂的同学,走过路过,不要错过 +11 likeihood 2026-03-06 16/800 2026-03-10 11:38 by Djdjj12
[考研] 一志愿郑州大学,学硕,物理化学, 333求调剂 +8 李魔女斗篷 2026-03-04 9/450 2026-03-10 10:33 by allen-yin
[考研] 313分生物学求调剂 +4 Yyt杨1 2026-03-09 6/300 2026-03-10 10:17 by 哈哈哈哈嘿嘿嘿
[考研] 一志愿安徽大学材料工程专硕313分,求调剂的学校 +3 Yu先生 2026-03-10 3/150 2026-03-10 08:34 by Hongeo93
[考研] 考研一志愿长安大学材料与化工309分请求调剂 +6 dtdxzxx 2026-03-06 8/400 2026-03-10 08:31 by Linda Hu
[考研] 085600材料与化工,一志愿广州985,求调剂 +15 qqyyaill 2026-03-05 15/750 2026-03-10 08:23 by Linda Hu
[考研] 一志愿天津大学,英一数二305分求调剂,四六级已过 +5 小小番的茄 2026-03-09 5/250 2026-03-09 20:01 by 雾散后相遇lc
[考研] 320求调剂 +4 魏zy 2026-03-08 4/200 2026-03-09 16:14 by ruiyingmiao
[考研] 085701环境工程专硕求调剂 +5 幼稚园大班打手 2026-03-08 5/250 2026-03-09 07:07 by houyaoxu
[考研] 医学检验专业26考研求调剂 +3 琪ya 2026-03-03 5/250 2026-03-08 22:56 by 清风月
[考研] 求调剂 +3 拾柒12。 2026-03-08 3/150 2026-03-08 17:33 by bingxueer79
[考研] 0703化学调剂 +5 G212 2026-03-03 6/300 2026-03-07 21:30 by yinhuanshun
[考研] 070300化学求调剂292分 +3 打烊eee 2026-03-07 3/150 2026-03-07 20:04 by houyaoxu
[考研] 一志愿211 085600 280数二英二求调剂 +3 月山斜 2026-03-06 3/150 2026-03-07 18:56 by houyaoxu
[考研] 一志愿哈尔滨工业大学0856材料与化工,前三科206,总分283,求调剂 +7 26考研求调剂 2026-03-06 7/350 2026-03-07 14:49 by Miko19
[考研] 一志愿武理085601专硕347分求调剂 +4 啊欧欧欧 2026-03-04 5/250 2026-03-05 19:27 by Leding1356
[考研] 求调剂 +7 博斯特525 2026-03-04 7/350 2026-03-04 18:09 by houyaoxu
[考研] 281求调剂 +3 Y?l?h 2026-03-04 3/150 2026-03-04 10:51 by 汪!?!
信息提示
请填处理意见