24小时热门版块排行榜    

CyRhmU.jpeg
查看: 3495  |  回复: 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

木虫 (正式写手)

送鲜花一朵
引用回帖:
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的回帖
查看全部 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的回帖

ddll_slsl

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
把你的in文件也帖出来。 另外,把log文件整个帖出来
4楼2013-01-11 14:31:44
已阅   回复此楼   关注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的回帖
信息提示
请填处理意见