| 查看: 3730 | 回復(fù): 10 | ||
heibeidedong木蟲 (正式寫手)
|
[求助]
關(guān)于lammps中的in文件運行時的錯誤問題查找
|
|
|
最近剛接觸lammps,寫了一個in文件,可是出現(xiàn)了一個這樣的錯誤: ERROR: Unknown command: {\rtf1\ansi\ansicpg936\deff0{\fonttbl{\f0\fnil\fcharset134 \'cb\'ce\'cc\'e5;}} 自己弄了半天也沒找到 解決方法。首先問一下這個錯誤該怎樣查啊,然后該怎樣解決。先謝過了。 [ Last edited by heibeidedong on 2013-1-11 at 11:03 ] |

木蟲 (小有名氣)
|
沒有,是這樣的, pair_style tersoff pair_coeff * * SiC.tersoff C 你只有一種原子類型C,沒有Si,只需要把C寫出來就可以了,你的那種寫法是說原子類型有四種,前三種是Si,第四種是C |
|
Unknown command 你的in文件的命令寫的不對,你看看log文件里的介紹 |
木蟲 (正式寫手)

木蟲 (正式寫手)
木蟲 (正式寫手)
|
in文件 #3d indenter simulation with minimization instead of dynamics units metal dimension 3 boundary p s p atom_style atomic neighbor 0.3 bin neigh_modify delay 5 # create geometry lattice diamond 3.567 region box block 0 15 0 18 0 20 create_box 1 box create_atoms 1 box mass 1 12 #Potential Settings newton on pair_style tersoff pair_coeff * * C.tersoff C # minimize with indenter thermo 10 thermo_style custom step press dump 1 all atom 10 dump.atom dump_modify 1 scale no fix 4 all indent 5000.0 sphere 8.0 9.0 23.0 3.0 fix_modify 4 energy yes #minimize 1.0e-6 1000 1000 minimize 1.0e-6 1.0e-4 1000 1000 fix 4 all indent 5000.0 sphere 8.0 9.0 22.0 3.0 fix_modify 4 energy yes minimize 1.0e-6 1.0e-4 1000 1000 fix 4 all indent 5000.0 sphere 8.0 9.0 21.5 3.0 fix_modify 4 energy yes minimize 1.0e-6 1.0e-4 1000 1000 fix 4 all indent 5000.0 sphere 8.0 9.0 20.8 3.0 fix_modify 4 energy yes minimize 1.0e-6 1.0e-4 1000 1000 fix 4 all indent 5000.0 sphere 8.0 9.0 20.2 3.0 fix_modify 4 energy yes minimize 1.0e-6 1.0e-4 1000 1000 fix 4 all indent 5000.0 sphere 8.0 9.0 20.0 3.0 fix_modify 4 energy yes minimize 1.0e-6 1.0e-4 1000 1000 log文件 LAMMPS (12 Apr 2012) {\rtf1\ansi\ansicpg936\deff0{\fonttbl{\f0\fnil\fcharset134 \'cb\'ce\'cc\'e5;}} ERROR: Unknown command: {\rtf1\ansi\ansicpg936\deff0{\fonttbl{\f0\fnil\fcharset134 \'cb\'ce\'cc\'e5;}} (input.cpp:203) |

木蟲 (小有名氣)
木蟲 (正式寫手)

木蟲 (正式寫手)

新蟲 (初入文壇)
|
樓主問題最后怎么解決的。课乙灿龅搅祟愃频膯栴}。我是照著別人的代碼粘貼下來的 結(jié)果都有問題 錯誤信息為:LAMMPS (12 Apr 2013) {\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fcharset134 \'cb\'ce\'cc\'e5;}} ERROR: Unknown command: {\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fcharset134 \'cb\'ce\'cc\'e5;}} (../input.cpp:204) 多多指教!我懷疑是寫in文件的工具問題,我用記事本和寫字板試過,結(jié)果兩種錯誤還不一樣,記事本直接是unknown command |

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 336化工調(diào)劑 +4 | 王大坦1 2026-03-23 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 一志愿中國石油大學(xué)(華東) 本科齊魯工業(yè)大學(xué) +4 | 石能偉 2026-03-17 | 4/200 |
|
|
[考研]
求調(diào)劑材料學(xué)碩080500,總分289分
5+3
|
@taotao 2026-03-19 | 21/1050 |
|
|
[考研] 291求調(diào)劑 +5 | 孅華 2026-03-22 | 5/250 |
|
|
[考研]
|
酥酥魚.. 2026-03-21 | 4/200 |
|
|
[考研] 293求調(diào)劑 +3 | 濤濤Wjt 2026-03-22 | 5/250 |
|
|
[考研] 0854電子信息求調(diào)劑 +3 | α____ 2026-03-22 | 3/150 |
|
|
[考研] 260求調(diào)劑 +3 | 朱芷琳 2026-03-20 | 4/200 |
|
|
[考研] 材料工程專碩 348分求調(diào)劑 +3 | 冬辭. 2026-03-17 | 5/250 |
|
|
[考研] 材料 271求調(diào)劑 +5 | 展信悅_ 2026-03-21 | 5/250 |
|
|
[考研] 求調(diào)劑 +3 | .m.. 2026-03-21 | 4/200 |
|
|
[考研] 求調(diào)劑 +6 | Mqqqqqq 2026-03-19 | 6/300 |
|
|
[考研] 一志愿 西北大學(xué) ,070300化學(xué)學(xué)碩,總分287,雙非一本,求調(diào)劑。 +3 | 晨昏線與星海 2026-03-18 | 3/150 |
|
|
[考研] 304求調(diào)劑 +6 | 曼殊2266 2026-03-18 | 6/300 |
|
|
[考研] 南京大學(xué)化學(xué)376求調(diào)劑 +3 | hisfailed 2026-03-19 | 6/300 |
|
|
[考研] 求調(diào)劑,一志愿:南京航空航天大學(xué)大學(xué) ,080500材料科學(xué)與工程學(xué)碩,總分289分 +4 | @taotao 2026-03-19 | 4/200 |
|
|
[考研] 中南大學(xué)化學(xué)學(xué)碩337求調(diào)劑 +3 | niko- 2026-03-19 | 6/300 |
|
|
[考研] 一志愿吉林大學(xué)材料學(xué)碩321求調(diào)劑 +11 | Ymlll 2026-03-18 | 15/750 |
|
|
[考研] 【同濟軟件】軟件(085405)考研求調(diào)劑 +3 | 2026eternal 2026-03-18 | 3/150 |
|
|
[碩博家園] 湖北工業(yè)大學(xué) 生命科學(xué)與健康學(xué)院-課題組招收2026級食品/生物方向碩士 +3 | 1喜春8 2026-03-17 | 5/250 |
|