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

木蟲 (小有名氣)
|
沒(méi)有,是這樣的, pair_style tersoff pair_coeff * * SiC.tersoff C 你只有一種原子類型C,沒(méi)有Si,只需要把C寫出來(lái)就可以了,你的那種寫法是說(shuō)原子類型有四種,前三種是Si,第四種是C |
|
Unknown command 你的in文件的命令寫的不對(duì),你看看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) |

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

木蟲 (正式寫手)

新蟲 (初入文壇)
|
樓主問(wèn)題最后怎么解決的啊?我也遇到了類似的問(wèn)題。我是照著別人的代碼粘貼下來(lái)的 結(jié)果都有問(wèn)題 錯(cuò)誤信息為: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文件的工具問(wèn)題,我用記事本和寫字板試過(guò),結(jié)果兩種錯(cuò)誤還不一樣,記事本直接是unknown command |

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 316求調(diào)劑 +7 | 梁茜雯 2026-03-19 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 一志愿西安交通大學(xué)材料工程專業(yè) 282分求調(diào)劑 +11 | 楓橋ZL 2026-03-18 | 13/650 |
|
|
[考研] 生物學(xué)調(diào)劑 +5 | Surekei 2026-03-21 | 5/250 |
|
|
[考研] 考研調(diào)劑 +4 | 來(lái)好運(yùn)來(lái)來(lái)來(lái) 2026-03-21 | 4/200 |
|
|
[考博] 招收博士1-2人 +3 | QGZDSYS 2026-03-18 | 4/200 |
|
|
[考研] 材料求調(diào)劑 +5 | @taotao 2026-03-21 | 5/250 |
|
|
[考研] 材料與化工(0856)304求B區(qū)調(diào)劑 +3 | 邱gl 2026-03-20 | 7/350 |
|
|
[考研] 材料工程專碩 348分求調(diào)劑 +3 | 冬辭. 2026-03-17 | 5/250 |
|
|
[考研] 材料工程(專)一志愿985 初試335求調(diào)劑 +3 | hiloiy 2026-03-17 | 4/200 |
|
|
[考研] 一志愿西南交大,求調(diào)劑 +5 | 材化逐夢(mèng)人 2026-03-18 | 5/250 |
|
|
[考研] 一志愿中海洋材料工程專碩330分求調(diào)劑 +8 | 小材化本科 2026-03-18 | 8/400 |
|
|
[考研] 一志愿武漢理工材料工程專碩調(diào)劑 +9 | Doleres 2026-03-19 | 9/450 |
|
|
[考研]
|
然11 2026-03-19 | 4/200 |
|
|
[考研] 329求調(diào)劑 +9 | 想上學(xué)吖吖 2026-03-19 | 9/450 |
|
|
[考研] 一志愿西南交通 專碩 材料355 本科雙非 求調(diào)劑 +5 | 西南交通專材355 2026-03-19 | 5/250 |
|
|
[考研] 一志愿西安交通大學(xué) 學(xué)碩 354求調(diào)劑211或者雙一流 +3 | 我想要讀研究生 2026-03-20 | 3/150 |
|
|
[考研] 298-一志愿中國(guó)農(nóng)業(yè)大學(xué)-求調(diào)劑 +9 | 手機(jī)用戶 2026-03-17 | 9/450 |
|
|
[考研] 一志愿福大288有機(jī)化學(xué),求調(diào)劑 +3 | 小木蟲200408204 2026-03-18 | 3/150 |
|
|
[考研] 085600材料與化工求調(diào)劑 +6 | 緒幸與子 2026-03-17 | 6/300 |
|
|
[考研] 本科鄭州大學(xué)物理學(xué)院,一志愿華科070200學(xué)碩,346求調(diào)劑 +4 | 我不是一根蔥 2026-03-18 | 4/200 |
|