24小时热门版块排行榜    

查看: 4068  |  回复: 10
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

heibeidedong

木虫 (正式写手)

[求助] 关于lammps中的in文件运行时的错误问题查找

最近刚接触lammps,写了一个in文件,可是出现了一个这样的错误:
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 ]
回复此楼
努力提高和完善自己
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

heibeidedong

木虫 (正式写手)

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)
努力提高和完善自己
5楼2013-01-11 14:37:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 11 个回答

jiaoyixiong

荣誉版主 (职业作家)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
heibeidedong: 金币+3, 有帮助 2013-01-11 16:44:38
zh1987hs: 金币+2, 谢谢 2013-01-19 14:05:18
Unknown command

你的in文件的命令写的不对,你看看log文件里的介绍

» 本帖已获得的红花(最新10朵)

2楼2013-01-11 13:52:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

heibeidedong

木虫 (正式写手)

送鲜花一朵
引用回帖:
2楼: Originally posted by jiaoyixiong at 2013-01-11 13:52:24
Unknown command

你的in文件的命令写的不对,你看看log文件里的介绍

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),还是看不懂,求解释。
努力提高和完善自己
3楼2013-01-11 14:09:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ddll_slsl

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
把你的in文件也帖出来。 另外,把log文件整个帖出来
4楼2013-01-11 14:31:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 什么时候开奖? +3 CrisMessi 2026-08-18 3/150 2026-08-18 23:38 by 必须成功
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 27/1350 2026-08-18 21:44 by Noways
[教师之家] 为什么余额宝的年化利率越来越低?主要原因有哪些? +3 瞬息宇宙 2026-08-15 3/150 2026-08-18 21:40 by xiaohuixin
[基金申请] 朋友圈看到的 +4 wangzilk 2026-08-18 5/250 2026-08-18 19:25 by wangzilk
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +51 医学老男孩 2026-08-13 110/5500 2026-08-18 19:07 by icerianxia
[基金申请] 时间戳变了,能看出什么问题? +8 基诺咪客 2026-08-17 11/550 2026-08-18 17:13 by 悠然熊猫
[论文投稿] 投稿咨询 +4 wwm09 2026-08-17 6/300 2026-08-18 15:36 by wwm09
[基金申请] 时间戳又变了8-15 +14 archvillain 2026-08-15 26/1300 2026-08-18 13:37 by phantomgost
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +13 Ldrop2023 2026-08-13 16/800 2026-08-18 12:25 by 淀粉搬运工
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +4 Tide man 2026-08-14 5/250 2026-08-18 11:35 by Tide man
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] 感觉是下周放榜了 +6 angus9576 2026-08-17 11/550 2026-08-17 23:57 by angus9576
[基金申请] filecode=后面第一个是大写字母 +8 wangze12014 2026-08-14 10/500 2026-08-17 17:05 by xter9665
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[精细化工] 招聘 金属平磨液,抛光液研发工程师 +3 小天0311 2026-08-14 3/150 2026-08-16 07:31 by H9PLUS
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] 不应该看fileCode +7 且听虎啸 2026-08-12 9/450 2026-08-13 14:27 by flydreamws
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +3 Tide man 2026-08-12 4/200 2026-08-13 08:35 by ZJTJZ
信息提示
请填处理意见