Simulation World(模拟小窝)分享 http://blog.sciencenet.cn/u/WTianSD Motivation, Persistence, Focus, Imagination; Life and Research;

博文

LAMMPS- Fix langevin 使用注意

已有 10462 次阅读 2014-8-29 12:50 |个人分类:模拟技术|系统分类:科研笔记

测试发现,如果模拟in文件中包含具有去除某一方向力的命令,如fix enforce2d,要把所有包含力计算的命令,放在此命令之前,而LAMMPS中fix langevin 和fix DPD都含有随机力计算,所以要放在enforce2d之前,i.e。

in文件写的时候是:

fix             2  all DPD

fix             2  all langevin

fix             3  all enforce2d

才行


否则,Z方向力可能不为0.



https://blog.sciencenet.cn/blog-798373-823249.html


下一篇:Makefile学习笔记【1】
收藏 IP: 112.87.159.*| 热度|

1 刘继涛

该博文允许实名用户评论 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-5 06:16

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部