LAMMPS后处理—如何构建二维云图-接触角呢?

如何构建密度云图呢?

LAMMPS中通过命令计算二维云图,常常因为分bin问题达不到预想效果,需要重新统计。
如何用MATALB构建密度云图呢?(仅需要dump轨迹信息,包括id type x y z)

在这里插入图片描述

STEP 1

首先我们要先读入dump文件的全部帧,这里请看我另一个帖子

这里仅给出代码,具体请见:
https://blog.csdn.net/qq_43689832/article/details/108943190==

clc;clear;
% file is file path of lammps file 
%

猜你喜欢

转载自blog.csdn.net/qq_43689832/article/details/109187496