{"id":74064,"date":"2026-11-17T20:14:26","date_gmt":"2026-11-17T12:14:26","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=74064"},"modified":"2026-11-17T20:14:26","modified_gmt":"2026-11-17T12:14:26","slug":"lammps-temperature-com-drift-thermostat-compute-practice","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/lammps-temperature-com-drift-thermostat-compute-practice\/","title":{"rendered":"LAMMPS \u5b9e\u8dd1\uff0c\u6e29\u5ea6\u63a5\u8fd1\u76ee\u6807\u503c\uff0c\u4e3a\u4ec0\u4e48\u53bb\u9664\u6f02\u79fb\u540e\u53ea\u6709 0.45\uff1f"},"content":{"rendered":"<div class=\"ysx-method-guide\" style=\"max-width:820px;min-width:0;margin:0 auto;color:#26374a;line-height:1.86;overflow-wrap:anywhere\">\n<p>\u5728\u7c97\u7c92\u5316\u4f53\u7cfb\u6216\u5e26\u6709\u6d41\u52a8\u7684\u6a21\u62df\u91cc\uff0c\u65e5\u5fd7\u4e2d\u7684\u6e29\u5ea6\u63a5\u8fd1\u8bbe\u5b9a\u503c\uff0c\u5e76\u4e0d\u610f\u5473\u7740\u4f60\u5173\u5fc3\u7684\u70ed\u8fd0\u52a8\u5df2\u7ecf\u53d7\u5230\u6b63\u786e\u63a7\u5236\u3002\u4e00\u90e8\u5206\u52a8\u80fd\u53ef\u80fd\u6765\u81ea\u6574\u56e2\u7c92\u5b50\u7684\u5e73\u79fb\u3002\u5982\u679c\u6052\u6e29\u5668\u628a\u8fd9\u90e8\u5206\u4e5f\u8ba1\u5165\u63a7\u6e29\uff0c\u800c\u5206\u6790\u65f6\u53c8\u5c06\u5b83\u6263\u9664\uff0c\u5c31\u4f1a\u51fa\u73b0\u4e24\u5957\u6e29\u5ea6\u5404\u81ea\u770b\u8d77\u6765\u5408\u7406\u3001\u5b9e\u9645\u542b\u4e49\u5374\u4e0d\u540c\u7684\u7ed3\u679c\u3002\u672c\u6587\u5b89\u88c5\u5e76\u8fd0\u884c LAMMPS\uff0c\u7528\u540c\u4e00\u4efd\u521d\u59cb\u72b6\u6001\u505a\u4e24\u7ec4\u5bf9\u7167\uff0c\u67e5\u6e05\u6e29\u5ea6\u8f93\u51fa\u4e0e\u6052\u6e29\u5668\u4e4b\u95f4\u7a76\u7adf\u600e\u6837\u8fde\u63a5\u3002<\/p>\n<p>\u4f8b\u5b50\u4f7f\u7528\u4e8c\u767e\u4e94\u5341\u516d\u4e2a\u76f8\u540c\u7c92\u5b50\u548c Lennard-Jones \u76f8\u4e92\u4f5c\u7528\uff0c\u76ee\u7684\u5728\u4e8e\u68c0\u67e5\u8ba1\u7b97\u5b9a\u4e49\u4e0e\u63a7\u5236\u5bf9\u8c61\uff0c\u4e0d\u4ee3\u8868\u86cb\u767d\u3001\u819c\u6216\u771f\u5b9e\u6eb6\u6db2\u7684\u529b\u573a\u9a8c\u8bc1\u3002\u6240\u6709\u6e29\u5ea6\u90fd\u91c7\u7528\u7ea6\u5316\u5355\u4f4d\u3002\u8bfb\u8005\u53ef\u4ee5\u5148\u590d\u73b0\u8fd9\u4e2a\u5bb9\u6613\u9a8c\u7b97\u7684\u5c0f\u4f53\u7cfb\uff0c\u518d\u56de\u5230\u81ea\u5df1\u7684\u6a21\u62df\u8f93\u5165\uff0c\u68c0\u67e5\u7fa4\u7ec4\u3001\u6e29\u5ea6\u5b9a\u4e49\u548c\u63a7\u6e29\u8bbe\u7f6e\u662f\u5426\u4e00\u81f4\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u540c\u4e00\u6279\u901f\u5ea6\uff0c\u53ef\u4ee5\u7b97\u51fa\u4e24\u79cd\u6e29\u5ea6<\/h2>\n<p>\u5148\u628a\u6bcf\u4e2a\u7c92\u5b50\u7684\u901f\u5ea6\u62c6\u6210\u4e24\u90e8\u5206\u3002\u4e00\u90e8\u5206\u662f\u6574\u4e2a\u7fa4\u7ec4\u7684\u8d28\u5fc3\u901f\u5ea6\uff0c\u53e6\u4e00\u90e8\u5206\u662f\u76f8\u5bf9\u4e8e\u8d28\u5fc3\u7684\u901f\u5ea6\u3002\u82e5\u6240\u6709\u7c92\u5b50\u90fd\u989d\u5916\u5411\u53f3\u79fb\u52a8\u76f8\u540c\u7684\u901f\u5ea6\uff0c\u5b83\u4eec\u4e4b\u95f4\u7684\u76f8\u5bf9\u8fd0\u52a8\u6ca1\u6709\u56e0\u6b64\u589e\u52a0\uff0c\u4f46\u76f4\u63a5\u8ba1\u7b97\u901f\u5ea6\u5e73\u65b9\u6240\u5f97\u7684\u603b\u52a8\u80fd\u4f1a\u4e0a\u5347\u3002\u662f\u5426\u5e94\u8be5\u628a\u8fd9\u90e8\u5206\u52a8\u80fd\u7eb3\u5165\u6e29\u5ea6\uff0c\u53d6\u51b3\u4e8e\u5f53\u524d\u7814\u7a76\u60f3\u63a7\u5236\u54ea\u4e00\u79cd\u8fd0\u52a8\uff0c\u4e0d\u80fd\u53ea\u7531\u8f93\u51fa\u5217\u7684\u540d\u5b57\u51b3\u5b9a\u3002<\/p>\n<p>LAMMPS \u7684\u666e\u901a\u6e29\u5ea6\u8ba1\u7b97\u4f7f\u7528\u7c92\u5b50\u7684\u901f\u5ea6\uff0c\u5e76\u6309\u76f8\u5e94\u81ea\u7531\u5ea6\u8fdb\u884c\u5f52\u4e00\u5316\u3002\u53bb\u8d28\u5fc3\u6e29\u5ea6\u5219\u5148\u6263\u9664\u7fa4\u7ec4\u7684\u8d28\u5fc3\u901f\u5ea6\uff0c\u518d\u4f7f\u7528\u5269\u4f59\u901f\u5ea6\u8ba1\u7b97\u3002\u5b83\u4eec\u53ef\u4ee5\u540c\u65f6\u5b58\u5728\uff0c\u4e5f\u53ef\u4ee5\u88ab\u4e0d\u540c\u547d\u4ee4\u5206\u522b\u8c03\u7528\u3002\u9700\u8981\u6ce8\u610f\uff0c\u666e\u901a\u6e29\u5ea6\u516c\u5f0f\u4e2d\u6263\u9664\u82e5\u5e72\u81ea\u7531\u5ea6\uff0c\u5e76\u4e0d\u7b49\u4e8e\u5df2\u7ecf\u4ece\u6bcf\u4e2a\u7c92\u5b50\u7684\u901f\u5ea6\u91cc\u51cf\u6389\u4e86\u6574\u4f53\u6f02\u79fb\u3002\u8fd9\u662f\u4e24\u4e2a\u4e0d\u540c\u64cd\u4f5c\u3002<a style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/docs.lammps.org\/compute_temp.html\">\u666e\u901a\u6e29\u5ea6\u5b9a\u4e49<\/a>\u4e0e<a style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/docs.lammps.org\/compute_temp_com.html\">\u53bb\u8d28\u5fc3\u6e29\u5ea6\u5b9a\u4e49<\/a>\u7ed9\u51fa\u4e86\u5404\u81ea\u7684\u8ba1\u7b97\u542b\u4e49\u3002<\/p>\n<p>\u672c\u4f8b\u6ca1\u6709\u521a\u6027\u6216\u952e\u957f\u7ea6\u675f\uff0c\u4e09\u7ef4\u4f53\u7cfb\u7684\u6e29\u5ea6\u8ba1\u7b97\u4f7f\u7528\u4e03\u767e\u516d\u5341\u4e94\u4e2a\u81ea\u7531\u5ea6\uff0c\u4e5f\u5c31\u662f\u7c92\u5b50\u6570\u7684\u4e09\u500d\u51cf\u53bb\u4e09\u3002\u5bf9\u5b58\u5728\u7ea6\u675f\u3001\u4e0d\u540c\u7fa4\u7ec4\u6216\u52a8\u6001\u6539\u53d8\u7c92\u5b50\u6570\u7684\u4f53\u7cfb\uff0c\u4e0d\u80fd\u76f4\u63a5\u7167\u642c\u8fd9\u4e2a\u5206\u6bcd\u3002\u5c24\u5176\u4e0d\u80fd\u4e3a\u4e86\u8ba9\u6e29\u5ea6\u6570\u5b57\u53d8\u5f97\u597d\u770b\u800c\u624b\u5de5\u8c03\u81ea\u7531\u5ea6\uff0c\u5e94\u8be5\u5148\u8bf4\u660e\u54ea\u4e9b\u8fd0\u52a8\u88ab\u7ea6\u675f\u3001\u54ea\u4e9b\u7c92\u5b50\u5b9e\u9645\u53c2\u4e0e\u8ba1\u7b97\uff0c\u518d\u6838\u5bf9\u76f8\u5e94\u547d\u4ee4\u5982\u4f55\u5904\u7406\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u5148\u505a\u96f6\u6b65\u68c0\u67e5\uff0c\u628a\u5dee\u5f02\u7b97\u5230\u660e\u767d<\/h2>\n<p>\u6211\u4eec\u4ece\u9762\u5fc3\u7acb\u65b9\u6392\u5e03\u5efa\u7acb\u7c92\u5b50\u4f4d\u7f6e\uff0c\u7ea6\u5316\u6570\u5bc6\u5ea6\u4e3a\u96f6\u70b9\u516b\u56db\u56db\u4e8c\u3002\u7c92\u5b50\u8d28\u91cf\u3001\u76f8\u4e92\u4f5c\u7528\u7684\u957f\u5ea6\u53c2\u6570\u4e0e\u80fd\u91cf\u53c2\u6570\u90fd\u8bbe\u4e3a\u4e00\uff0c\u622a\u65ad\u8ddd\u79bb\u4e3a\u4e8c\u70b9\u4e94\u3002\u968f\u540e\u7528\u56fa\u5b9a\u79cd\u5b50\u751f\u6210\u6e29\u5ea6\u4e3a\u4e00\u7684\u9ad8\u65af\u901f\u5ea6\uff0c\u5e76\u53bb\u6389\u521d\u59cb\u6574\u4f53\u52a8\u91cf\u3002\u6b64\u65f6\u666e\u901a\u6e29\u5ea6\u548c\u53bb\u8d28\u5fc3\u6e29\u5ea6\u90fd\u7ea6\u4e3a\u4e00\uff0c\u8d28\u5fc3\u901f\u5ea6\u63a5\u8fd1\u96f6\u3002<\/p>\n<p>\u63a5\u7740\u53ea\u7ed9\u6bcf\u4e2a\u7c92\u5b50\u7684\u6a2a\u5411\u901f\u5ea6\u52a0\u4e0a\u4e00\u70b9\u4e94\uff0c\u4e0d\u6539\u53d8\u7c92\u5b50\u4f4d\u7f6e\uff0c\u4e5f\u4e0d\u6539\u53d8\u7c92\u5b50\u95f4\u7684\u76f8\u5bf9\u901f\u5ea6\u3002\u8fd9\u91cc\u7279\u610f\u4f7f\u7528\u52a0\u6cd5\u548c\u76d2\u5b50\u5355\u4f4d\uff0c\u907f\u514d\u628a\u6240\u6709\u6a2a\u5411\u901f\u5ea6\u76f4\u63a5\u8986\u76d6\u6210\u540c\u4e00\u4e2a\u6570\uff0c\u6216\u88ab\u6676\u683c\u5355\u4f4d\u989d\u5916\u7f29\u653e\u3002\u5b8c\u6574\u9a71\u52a8\u811a\u672c\u4f1a\u4fdd\u5b58\u5b9e\u9645\u8f93\u5165\u6587\u4ef6\uff0c\u4fbf\u4e8e\u68c0\u67e5\u8fd9\u4e2a\u64cd\u4f5c\u3002<\/p>\n<pre style=\"max-width:100%;box-sizing:border-box;overflow-x:auto;margin:18px 0;padding:14px 16px;background:#f3f6fa;color:#1a293c;border:1px solid #d8e1ea;border-radius:8px;line-height:1.55;white-space:pre;overflow-wrap:normal;word-break:normal\"><code class=\"language-text\">velocity all create 1.0 246246 mom yes rot no dist gaussian\r\nvelocity all set 1.5 NULL NULL sum yes units box\r\ncompute Traw all temp\r\ncompute Tcom all temp\/com\r\nrun 0\r\n<\/code><\/pre>\n<p>\u52a0\u901f\u540e\uff0c\u666e\u901a\u6e29\u5ea6\u53d8\u6210\u4e00\u70b9\u4e03\u4e94\u4e8c\u4e5d\u56db\uff0c\u53bb\u8d28\u5fc3\u6e29\u5ea6\u4ecd\u4e3a\u4e00\u3002\u603b\u52a8\u80fd\u4ece\u4e09\u767e\u516b\u5341\u4e8c\u70b9\u4e94\u589e\u52a0\u5230\u516d\u767e\u4e03\u5341\u70b9\u4e94\uff0c\u5dee\u51fa\u7684\u4e8c\u767e\u516b\u5341\u516b\u6b63\u597d\u662f\u6574\u4f53\u5e73\u79fb\u5e26\u6765\u7684\u52a8\u80fd\u3002\u7528\u7c92\u5b50\u8d28\u91cf\u3001\u7c92\u5b50\u6570\u548c\u7edf\u4e00\u589e\u52a0\u7684\u901f\u5ea6\u72ec\u7acb\u8ba1\u7b97\uff0c\u53ef\u4ee5\u5bf9\u4e0a\u8fd9\u4e2a\u53d8\u5316\u3002\u8fd9\u4e00\u6b65\u6bd4\u76f4\u63a5\u542f\u52a8\u957f\u6a21\u62df\u66f4\u6709\u8bca\u65ad\u4ef7\u503c\uff0c\u56e0\u4e3a\u5b83\u628a\u5750\u6807\u3001\u76f8\u4e92\u4f5c\u7528\u548c\u6e29\u5ea6\u5b9a\u4e49\u4e4b\u95f4\u7684\u95ee\u9898\u6682\u65f6\u5206\u5f00\u4e86\u3002<\/p>\n<div class=\"guide-table\" style=\"max-width:100%;overflow-x:auto;margin:18px 0\">\n<table style=\"display:table;width:100%;max-width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:.92em;line-height:1.6\">\n<thead>\n<tr>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf9f3;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u96f6\u6b65\u68c0\u67e5<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf9f3;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u52a0\u6f02\u79fb\u524d<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf9f3;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u52a0\u6f02\u79fb\u540e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u6a2a\u5411\u8d28\u5fc3\u901f\u5ea6<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">\u7ea6 0<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.5<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u666e\u901a\u6e29\u5ea6<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.0000<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.7529<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u53bb\u8d28\u5fc3\u6e29\u5ea6<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.0000<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.0000<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u603b\u52a8\u80fd<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">382.5<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">670.5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u8fd9\u5f20\u8868\u4e2d\u7684\u6e29\u5ea6\u4e0d\u662f\u5f00\u5c14\u6587\uff0c\u52a8\u80fd\u4e5f\u4e0d\u662f\u6bcf\u6469\u5c14\u5343\u7126\u3002\u7ea6\u5316\u5355\u4f4d\u9700\u8981\u7ed3\u5408\u9009\u5b9a\u7684\u8d28\u91cf\u3001\u957f\u5ea6\u548c\u80fd\u91cf\u5c3a\u5ea6\u624d\u6709\u7269\u7406\u91cf\u6620\u5c04\u3002\u82e5\u628a\u8f93\u5165\u6539\u6210\u5176\u4ed6\u5355\u4f4d\u98ce\u683c\uff0c\u76f8\u5173\u53c2\u6570\u4e5f\u8981\u6210\u5957\u8f6c\u6362\uff0c\u4e0d\u80fd\u53ea\u6539\u6587\u4ef6\u5f00\u5934\u7684\u4e00\u884c\u3002\u5355\u4f4d\u8bbe\u7f6e\u4f1a\u5f71\u54cd\u65f6\u95f4\u6b65\u957f\u3001\u901f\u5ea6\u3001\u80fd\u91cf\u4ee5\u53ca\u963b\u5c3c\u53c2\u6570\u7684\u89e3\u91ca\u3002<a style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/docs.lammps.org\/units.html\">\u5b98\u65b9\u5355\u4f4d\u8bf4\u660e<\/a><\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u6539\u65e5\u5fd7\u7684\u6e29\u5ea6\uff0c\u4e0d\u4f1a\u81ea\u52a8\u6539\u6052\u6e29\u5668<\/h2>\n<p>\u73b0\u5728\u4e3a\u4f53\u7cfb\u52a0\u5165 Nos\u00e9\u2013Hoover \u6052\u6e29\u63a7\u5236\uff0c\u76ee\u6807\u6e29\u5ea6\u4e3a\u4e00\u3002\u6700\u5bb9\u6613\u6df7\u6dc6\u7684\u662f\u4e0b\u9762\u4e24\u79cd\u4fee\u6539\u3002\u7b2c\u4e00\u79cd\u6307\u5b9a\u70ed\u529b\u5b66\u8f93\u51fa\u4f7f\u7528\u54ea\u4e2a\u6e29\u5ea6\u8ba1\u7b97\uff0c\u7b2c\u4e8c\u79cd\u6307\u5b9a\u67d0\u4e2a\u6052\u6e29\u5668\u4f7f\u7528\u54ea\u4e2a\u6e29\u5ea6\u8ba1\u7b97\u3002\u524d\u8005\u4e3b\u8981\u6539\u53d8\u4f60\u770b\u5230\u7684\u91cf\uff0c\u540e\u8005\u4f1a\u6539\u53d8\u5b9e\u9645\u65bd\u52a0\u5230\u901f\u5ea6\u4e0a\u7684\u63a7\u5236\u3002\u53ea\u5199\u7b2c\u4e00\u79cd\uff0c\u5e76\u4e0d\u80fd\u66ff\u4ee3\u7b2c\u4e8c\u79cd\u3002<\/p>\n<pre style=\"max-width:100%;box-sizing:border-box;overflow-x:auto;margin:18px 0;padding:14px 16px;background:#f3f6fa;color:#1a293c;border:1px solid #d8e1ea;border-radius:8px;line-height:1.55;white-space:pre;overflow-wrap:normal;word-break:normal\"><code class=\"language-text\">compute Tcom all temp\/com\r\nfix bath all nvt temp 1.0 1.0 0.2\r\n\r\n# \u9009\u62e9\u8f93\u51fa\u6240\u7528\u7684\u6e29\u5ea6\r\nthermo_modify temp Tcom\r\n\r\n# \u8ba9\u8fd9\u4e2a\u6052\u6e29\u5668\u4e5f\u4f7f\u7528\u540c\u4e00\u6e29\u5ea6\u5b9a\u4e49\r\nfix_modify bath temp Tcom\r\n<\/code><\/pre>\n<p>\u4e24\u6761\u547d\u4ee4\u8fd8\u4f9d\u8d56\u5df2\u7ecf\u5b58\u5728\u7684\u5bf9\u8c61\u3002\u8981\u5148\u521b\u5efa\u6e29\u5ea6\u8ba1\u7b97\uff0c\u518d\u521b\u5efa\u9700\u8981\u4fee\u6539\u7684\u6052\u6e29\u5668\uff0c\u4e4b\u540e\u624d\u8bbe\u7f6e\u8fde\u63a5\u5173\u7cfb\u3002\u66f4\u6362\u70ed\u529b\u5b66\u8f93\u51fa\u683c\u5f0f\u540e\uff0c\u4e5f\u8981\u91cd\u65b0\u786e\u8ba4\u76f8\u5173\u8f93\u51fa\u8bbe\u7f6e\uff0c\u56e0\u4e3a\u6307\u5b9a\u65b0\u7684\u8f93\u51fa\u683c\u5f0f\u4f1a\u6062\u590d\u4e00\u90e8\u5206\u9ed8\u8ba4\u503c\u3002\u6574\u7406\u811a\u672c\u65f6\uff0c\u6700\u597d\u628a\u8f93\u51fa\u683c\u5f0f\u548c\u5b83\u7684\u4fee\u6539\u653e\u5728\u4e00\u8d77\uff0c\u628a\u6052\u6e29\u5668\u548c\u5b83\u7684\u4fee\u6539\u653e\u5728\u4e00\u8d77\uff0c\u907f\u514d\u8bfb\u8005\u8bef\u4ee5\u4e3a\u67d0\u4e00\u5904\u8bbe\u7f6e\u4f1a\u63a7\u5236\u6240\u6709\u6e29\u5ea6\u8ba1\u7b97\u3002<a style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/docs.lammps.org\/thermo_modify.html\">\u8f93\u51fa\u4fee\u6539\u89c4\u5219<\/a>\u4e0e<a style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/docs.lammps.org\/fix_modify.html\">\u6052\u6e29\u5668\u53c2\u6570\u4fee\u6539\u89c4\u5219<\/a>\u53ef\u5206\u522b\u67e5\u9605\u3002<\/p>\n<p>\u672c\u6b21\u5bf9\u7167\u523b\u610f\u8ba9\u4e24\u7ec4\u90fd\u4f7f\u7528\u53bb\u8d28\u5fc3\u6e29\u5ea6\u4f5c\u4e3a\u9ed8\u8ba4\u6e29\u5ea6\u8f93\u51fa\uff0c\u540c\u65f6\u989d\u5916\u6253\u5370\u666e\u901a\u6e29\u5ea6\u3002\u7b2c\u4e00\u7ec4\u4fdd\u6301\u6052\u6e29\u5668\u539f\u6765\u7684\u666e\u901a\u6e29\u5ea6\u5b9a\u4e49\uff0c\u7b2c\u4e8c\u7ec4\u589e\u52a0\u6307\u5b9a\u53bb\u8d28\u5fc3\u6e29\u5ea6\u7684\u4fee\u6539\u3002\u8fd9\u6837\u5c31\u80fd\u76f4\u63a5\u89c2\u5bdf\uff0c\u4ec5\u4ec5\u66f4\u6362\u663e\u793a\u5185\u5bb9\u4e0e\u771f\u6b63\u66f4\u6362\u63a7\u6e29\u5bf9\u8c61\uff0c\u6709\u4ec0\u4e48\u4e0d\u540c\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u4e24\u7ec4\u5404\u8dd1\u4e94\u5343\u6b65\uff0c\u533a\u522b\u51fa\u73b0\u5728\u54ea\u91cc<\/h2>\n<p>\u5b9e\u9645\u4f7f\u7528\u7684 Python \u5305\u7248\u672c\u4e3a <code>2025.7.22.4.0<\/code>\uff0c\u8fd0\u884c\u5e93\u62a5\u544a\u65e5\u671f\u4e3a\u4e8c\u3007\u4e8c\u4e94\u5e74\u4e03\u6708\u4e8c\u5341\u4e8c\u65e5\uff0c\u914d\u5957 MPICH \u4e94\u70b9\u96f6\u70b9\u4e8c\u548c NumPy \u4e8c\u70b9\u4e8c\u70b9\u516d\u3002\u4e24\u7ec4\u90fd\u5728\u5355\u4e2a\u8fdb\u7a0b\u3001\u4e00\u4e2a\u7ebf\u7a0b\u4e0b\u8fd0\u884c\u3002\u65f6\u95f4\u6b65\u957f\u8bbe\u4e3a\u96f6\u70b9\u96f6\u96f6\u4e8c\uff0c\u6bcf\u7ec4\u4e94\u5343\u6b65\uff0c\u6bcf\u4e00\u767e\u6b65\u8bb0\u5f55\u4e00\u6b21\u901f\u5ea6\u4e0e\u6e29\u5ea6\u3002\u4e24\u7ec4\u4ece\u76f8\u540c\u5750\u6807\u3001\u76f8\u540c\u968f\u673a\u79cd\u5b50\u548c\u76f8\u540c\u6574\u4f53\u6f02\u79fb\u5f00\u59cb\uff0c\u53ea\u6539\u53d8\u6052\u6e29\u5668\u91c7\u7528\u7684\u6e29\u5ea6\u5b9a\u4e49\u3002<\/p>\n<p>\u4e0b\u8868\u53d6\u7b2c\u56db\u5343\u5230\u7b2c\u4e94\u5343\u6b65\u3001\u5305\u542b\u4e24\u7aef\u7684\u5341\u4e00\u4e2a\u8bb0\u5f55\u70b9\uff0c\u8ba1\u7b97\u7a97\u53e3\u5185\u7684\u7b97\u672f\u5e73\u5747\u3002\u5b83\u4eec\u662f\u540c\u4e00\u6761\u8f68\u8ff9\u4e0a\u7684\u76f8\u5173\u91c7\u6837\u70b9\uff0c\u4e0d\u662f\u5341\u4e00\u6b21\u72ec\u7acb\u91cd\u590d\u3002\u6211\u4eec\u9009\u62e9\u56fa\u5b9a\u7a97\u53e3\u662f\u4e3a\u4e86\u8ba9\u6570\u5b57\u5bb9\u6613\u91cd\u7b97\uff0c\u6ca1\u6709\u7528\u5b83\u8bc1\u660e\u5df2\u7ecf\u5b8c\u6210\u5e73\u8861\u6216\u5f97\u5230\u53ef\u9760\u7684\u751f\u4ea7\u671f\u7edf\u8ba1\u3002<\/p>\n<div class=\"guide-table\" style=\"max-width:100%;overflow-x:auto;margin:18px 0\">\n<table style=\"display:table;width:100%;max-width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:.92em;line-height:1.6\">\n<thead>\n<tr>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf9f3;color:#1e293b;vertical-align:top;text-align:left;padding:6px;border:1px solid #c4cfdb\">\u7a97\u53e3\u5e73\u5747\u91cf<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf9f3;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u53ea\u6539\u8f93\u51fa<\/th>\n<th scope=\"col\" style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;background:#edf9f3;color:#1e293b;vertical-align:top;text-align:right;padding:6px;border:1px solid #c4cfdb\">\u540c\u65f6\u6539\u6052\u6e29\u5668<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u666e\u901a\u6e29\u5ea6<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0.9992<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.7499<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u53bb\u8d28\u5fc3\u6e29\u5ea6<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0.4531<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">0.9970<\/td>\n<\/tr>\n<tr>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb\">\u6a2a\u5411\u8d28\u5fc3\u901f\u5ea6<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.2773<\/td>\n<td style=\"white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:6px;vertical-align:top;border:1px solid #c4cfdb;text-align:right\">1.5000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u7b2c\u4e00\u7ec4\u7684\u666e\u901a\u6e29\u5ea6\u975e\u5e38\u63a5\u8fd1\u76ee\u6807\u503c\uff0c\u4f46\u6263\u9664\u6574\u4f53\u5e73\u79fb\u540e\uff0c\u70ed\u8fd0\u52a8\u5bf9\u5e94\u7684\u6e29\u5ea6\u53ea\u6709\u7ea6\u96f6\u70b9\u56db\u4e94\u4e09\u3002\u6052\u6e29\u5668\u786e\u5b9e\u5728\u63a7\u5236\u5b83\u6240\u770b\u5230\u7684\u90a3\u4e00\u4e2a\u91cf\uff0c\u53ea\u662f\u8fd9\u4e2a\u91cf\u548c\u5206\u6790\u4eba\u5458\u5e0c\u671b\u63a7\u5236\u7684\u91cf\u4e0d\u540c\u3002\u82e5\u62a5\u544a\u4e2d\u4ec5\u7559\u4e0b\u201c\u5e73\u5747\u6e29\u5ea6\u7ea6\u4e3a\u4e00\u201d\uff0c\u8fd9\u4e00\u95ee\u9898\u5c31\u4f1a\u88ab\u906e\u4f4f\u3002\u4e0e\u6b64\u540c\u65f6\uff0c\u6574\u4f53\u6f02\u79fb\u4e5f\u88ab\u6539\u53d8\uff0c\u56e0\u6b64\u4e0d\u80fd\u628a\u8be5\u7ec4\u7406\u89e3\u4e3a\u5728\u4fdd\u6301\u539f\u6d41\u52a8\u72b6\u6001\u7684\u524d\u63d0\u4e0b\u63a7\u5236\u5185\u90e8\u70ed\u8fd0\u52a8\u3002<\/p>\n<p>\u7b2c\u4e8c\u7ec4\u7684\u53bb\u8d28\u5fc3\u6e29\u5ea6\u63a5\u8fd1\u4e00\uff0c\u8d28\u5fc3\u901f\u5ea6\u4ecd\u7ea6\u4e3a\u4e00\u70b9\u4e94\u3002\u5168\u7a0b\u68c0\u67e5\u5230\u7684\u6a2a\u5411\u8d28\u5fc3\u901f\u5ea6\u6700\u5927\u53d8\u5316\u53ea\u6709\u7ea6\u4e09\u70b9\u516d\u4e58\u5341\u7684\u8d1f\u5341\u4e94\u6b21\u65b9\uff0c\u5728\u8fd9\u91cc\u5c5e\u4e8e\u6d6e\u70b9\u8bef\u5dee\u8303\u56f4\u3002\u666e\u901a\u6e29\u5ea6\u4ecd\u7136\u8f83\u9ad8\uff0c\u662f\u56e0\u4e3a\u5b83\u7ee7\u7eed\u5305\u542b\u90a3\u4e00\u90e8\u5206\u6709\u610f\u4fdd\u7559\u7684\u6574\u4f53\u52a8\u80fd\u3002\u770b\u5230\u8fd9\u5217\u6570\u5b57\u8f83\u9ad8\uff0c\u4e0d\u5e94\u7acb\u5373\u518d\u6b21\u964d\u6e29\uff0c\u5426\u5219\u4f1a\u628a\u5df2\u7ecf\u533a\u5206\u5f00\u7684\u8fd0\u52a8\u91cd\u65b0\u6df7\u5728\u4e00\u8d77\u3002<\/p>\n<figure class=\"guide-figure\" style=\"margin:24px 0 28px\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wordpress\/wp-content\/uploads\/2026\/11\/lammps-temperature-com-drift-thermostat-compute-practice-guide.png\" alt=\"\u6539\u4e86\u8f93\u51fa\uff0c\u4e5f\u6539\u4e86\u6052\u6e29\u5668\u5417\uff1f\u3002256 \u7c92\u5b50\u5b9e\u8dd1\uff5c\u4e24\u5957\u6e29\u5ea6\u5b9a\u4e49\uff0c\u5206\u522b\u6838\u5bf9\u663e\u793a\u4e0e\u63a7\u5236\u3002\u3002\u8d77\u70b9\uff0c\u52a0\u6574\u4f53\u6f02\u79fb\uff0c\u6e29\u5ea6 1 \u2192 1.753\uff0c\u76f8\u5bf9\u901f\u5ea6\u4e0d\u53d8\uff0c\u53bb\u8d28\u5fc3\u6e29\u5ea6\u4ecd\u4e3a 1\u3002\u3002\u53ea\u6539\u8f93\u51fa\uff0c\u666e\u901a\u6e29\u5ea6 0.999\uff0c\u53bb\u6f02\u79fb\u540e 0.453\uff0c\u6052\u6e29\u5668\u4ecd\u4f7f\u7528\u539f\u6765\u7684\u666e\u901a\u6e29\u5ea6\u8ba1\u7b97\u3002\u3002\u540c\u6b65\u63a7\u6e29\uff0c\u53bb\u6f02\u79fb\u540e 0.997\uff0c\u8d28\u5fc3\u901f\u5ea6 1.500\uff0c\u7a97\u53e3\u5747\u503c\uff0c\u7ea6\u5316\u5355\u4f4d\uff1b\u4e0d\u662f\u5e73\u8861\u5b8c\u6210\u7684\u8bc1\u660e\u3002\u3002\" width=\"1200\" height=\"840\" style=\"display:block;width:100%;height:auto;border-radius:10px\"><figcaption style=\"font-size:14px;line-height:1.6;margin:9px 2px 0;color:#475569\">256 \u7c92\u5b50\u5b9e\u8dd1\uff5c\u4e24\u5957\u6e29\u5ea6\u5b9a\u4e49\uff0c\u5206\u522b\u6838\u5bf9\u663e\u793a\u4e0e\u63a7\u5236\u3002<\/figcaption><\/figure>\n<p>\u6700\u540e\u4e00\u5e27\u7684\u53bb\u8d28\u5fc3\u6e29\u5ea6\uff0c\u7b2c\u4e8c\u7ec4\u7ea6\u4e3a\u4e00\u70b9\u96f6\u4e94\u4e94\uff0c\u5e76\u4e0d\u6b63\u597d\u7b49\u4e8e\u76ee\u6807\u503c\u3002\u6709\u9650\u4f53\u7cfb\u4e2d\u7684\u77ac\u65f6\u6e29\u5ea6\u4f1a\u6ce2\u52a8\uff0c\u6052\u6e29\u5668\u4e5f\u4e0d\u662f\u628a\u6bcf\u4e00\u5e27\u5f3a\u5236\u6539\u6210\u540c\u4e00\u4e2a\u6570\u5b57\u3002\u5e94\u628a\u77ac\u65f6\u503c\u3001\u6307\u5b9a\u7a97\u53e3\u7684\u5e73\u5747\u503c\u548c\u63a7\u6e29\u76ee\u6807\u5206\u522b\u8bb0\u5f55\u3002\u4e0d\u80fd\u56e0\u4e3a\u4e00\u5e27\u9ad8\u4e00\u70b9\u5c31\u91cd\u65b0\u6539\u53c2\u6570\uff0c\u4e5f\u4e0d\u80fd\u56e0\u4e3a\u67d0\u4e2a\u77ed\u7a97\u53e3\u5e73\u5747\u503c\u6f02\u4eae\u5c31\u7ed3\u675f\u5168\u90e8\u5e73\u8861\u5224\u65ad\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u7528\u7c92\u5b50\u901f\u5ea6\u72ec\u7acb\u6838\u5bf9\uff0c\u907f\u514d\u53ea\u76f8\u4fe1\u8f93\u51fa\u5217\u540d<\/h2>\n<p>\u9a71\u52a8\u811a\u672c\u5728\u6bcf\u4e2a\u8bb0\u5f55\u70b9\u8bfb\u53d6\u5168\u90e8\u7c92\u5b50\u7684\u901f\u5ea6\uff0c\u5148\u81ea\u884c\u8ba1\u7b97\u8d28\u5fc3\u901f\u5ea6\uff0c\u518d\u5206\u522b\u8ba1\u7b97\u603b\u52a8\u80fd\u548c\u53bb\u8d28\u5fc3\u540e\u7684\u52a8\u80fd\u3002\u5b83\u4f7f\u7528\u672c\u4f8b\u5bf9\u5e94\u7684\u81ea\u7531\u5ea6\u5f97\u5230\u4e24\u5957\u6e29\u5ea6\uff0c\u4e0e LAMMPS \u8f93\u51fa\u9010\u9879\u6bd4\u8f83\u3002\u4e24\u7ec4\u8bb0\u5f55\u4e2d\u7684\u6700\u5927\u6e29\u5ea6\u5dee\u5f02\u5747\u5728\u5341\u7684\u8d1f\u5341\u4e94\u6b21\u65b9\u91cf\u7ea7\u3002\u8fd9\u9879\u6838\u9a8c\u652f\u6301\u7684\u662f\u8f93\u51fa\u5b57\u6bb5\u4e0e\u5f53\u524d\u901f\u5ea6\u3001\u5f53\u524d\u5b9a\u4e49\u4e00\u81f4\uff0c\u4e0d\u4ee3\u8868\u52bf\u51fd\u6570\u5df2\u7ecf\u9002\u5408\u771f\u5b9e\u6750\u6599\u3002<\/p>\n<p>\u8bfb\u53d6\u6570\u7ec4\u65f6\u8fd8\u9700\u8981\u786e\u8ba4\u81ea\u5df1\u62ff\u5230\u7684\u662f\u54ea\u4e9b\u7c92\u5b50\u3002\u672c\u6b21\u53ea\u6709\u4e00\u4e2a\u8fdb\u7a0b\uff0c\u5c40\u90e8\u62e5\u6709\u7684\u7c92\u5b50\u6570\u4e0e\u5168\u4f53\u7cfb\u7c92\u5b50\u6570\u76f8\u540c\uff0c\u811a\u672c\u5bf9\u6b64\u4f5c\u4e86\u65ad\u8a00\u3002\u5e76\u884c\u8fd0\u884c\u65f6\uff0c\u67d0\u4e2a\u8fdb\u7a0b\u7684\u5c40\u90e8\u6570\u7ec4\u53ef\u80fd\u8fd8\u6d89\u53ca\u5e7d\u7075\u7c92\u5b50\u6216\u53ea\u8986\u76d6\u4e00\u90e8\u5206\u4f53\u7cfb\uff0c\u4e0d\u80fd\u539f\u6837\u5bf9\u4e00\u4e2a\u5c40\u90e8\u5207\u7247\u6c42\u5e73\u5747\u540e\u79f0\u4f5c\u5168\u4f53\u7cfb\u8d28\u5fc3\u3002\u8fc1\u79fb\u8fd9\u4e2a\u68c0\u67e5\u5230\u591a\u8fdb\u7a0b\u4efb\u52a1\u65f6\uff0c\u5e94\u5148\u9009\u62e9\u6b63\u786e\u7684\u5168\u5c40\u6c47\u603b\u65b9\u6cd5\uff0c\u518d\u89e3\u91ca\u7ed3\u679c\u3002<\/p>\n<p>\u76f8\u540c\u8d28\u91cf\u7684\u4f8b\u5b50\u4e2d\uff0c\u901f\u5ea6\u7684\u666e\u901a\u5e73\u5747\u5c31\u662f\u8d28\u5fc3\u901f\u5ea6\u3002\u82e5\u5305\u542b\u4e0d\u540c\u539f\u5b50\u7c7b\u578b\u6216\u4e0d\u540c\u8d28\u91cf\uff0c\u5fc5\u987b\u6539\u7528\u8d28\u91cf\u52a0\u6743\uff0c\u5e76\u7528\u5404\u7c92\u5b50\u7684\u8d28\u91cf\u8ba1\u7b97\u52a8\u80fd\u3002\u628a\u672c\u4f8b\u4e2d\u7684\u7b80\u5316\u516c\u5f0f\u76f4\u63a5\u5957\u5230\u86cb\u767d\u3001\u6c34\u548c\u79bb\u5b50\u6df7\u5408\u7684\u4f53\u7cfb\uff0c\u4f1a\u4ea7\u751f\u53e6\u4e00\u79cd\u770b\u8d77\u6765\u80fd\u8dd1\u3001\u5374\u5b9a\u4e49\u9519\u8bef\u7684\u6e29\u5ea6\u3002\u5c0f\u4f8b\u5b50\u6700\u6709\u4ef7\u503c\u7684\u5730\u65b9\uff0c\u662f\u5e2e\u52a9\u8bc6\u522b\u54ea\u4e9b\u7b80\u5316\u6210\u7acb\uff0c\u800c\u4e0d\u662f\u8ba9\u6240\u6709\u6570\u636e\u90fd\u8fc1\u5c31\u76f8\u540c\u4ee3\u7801\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u963b\u5c3c\u65f6\u95f4\u548c\u53bb\u6f02\u79fb\u65b9\u5f0f\uff0c\u4e5f\u8981\u5bf9\u5e94\u7814\u7a76\u95ee\u9898<\/h2>\n<p>\u672c\u4f8b\u6052\u6e29\u5668\u7684\u963b\u5c3c\u53c2\u6570\u4e3a\u96f6\u70b9\u4e8c\uff0c\u5355\u4f4d\u662f\u5f53\u524d\u5355\u4f4d\u4f53\u7cfb\u4e2d\u7684\u65f6\u95f4\u3002\u56e0\u4e3a\u65f6\u95f4\u6b65\u957f\u662f\u96f6\u70b9\u96f6\u96f6\u4e8c\uff0c\u6240\u4ee5\u8fd9\u4e2a\u6570\u503c\u5bf9\u5e94\u4e00\u767e\u4e2a\u65f6\u95f4\u6b65\u3002\u628a\u201c\u963b\u5c3c\u4e00\u767e\u6b65\u201d\u8bef\u5199\u6210\u201c\u963b\u5c3c\u53c2\u6570\u4e00\u767e\u201d\uff0c\u4f1a\u5728\u672c\u4f8b\u4e2d\u76f8\u5dee\u4e94\u767e\u500d\u3002\u4fee\u6539\u65f6\u95f4\u6b65\u957f\u65f6\uff0c\u8981\u660e\u786e\u81ea\u5df1\u51c6\u5907\u4fdd\u6301\u7684\u662f\u7269\u7406\u963b\u5c3c\u65f6\u95f4\uff0c\u8fd8\u662f\u963b\u5c3c\u4e0e\u6b65\u957f\u7684\u6bd4\u4f8b\uff0c\u7136\u540e\u518d\u6309\u7814\u7a76\u76ee\u7684\u8bbe\u5b9a\u3002<a style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/docs.lammps.org\/fix_nh.html\">Nos\u00e9\u2013Hoover \u53c2\u6570\u8bf4\u660e<\/a><\/p>\n<p>\u53bb\u6389\u5168\u5c40\u8d28\u5fc3\u901f\u5ea6\u4e5f\u4e0d\u662f\u6240\u6709\u6d41\u52a8\u95ee\u9898\u7684\u901a\u7528\u4fee\u590d\u3002\u5747\u5300\u6574\u4f53\u5e73\u79fb\u53ea\u6709\u4e00\u4e2a\u5171\u540c\u901f\u5ea6\uff0c\u800c\u526a\u5207\u6d41\u3001\u4e0d\u540c\u7ec4\u5206\u76f8\u5bf9\u8fd0\u52a8\u6216\u7a7a\u95f4\u4e0a\u4e0d\u5747\u5300\u7684\u6d41\u573a\uff0c\u9700\u8981\u53e6\u5916\u5b9a\u4e49\u5e0c\u671b\u4fdd\u7559\u7684\u6709\u5e8f\u8fd0\u52a8\u3002\u4e00\u4e2a\u5168\u5c40\u5e73\u5747\u901f\u5ea6\u65e0\u6cd5\u63cf\u8ff0\u6240\u6709\u5c40\u90e8\u6d41\u52a8\u3002\u6b64\u65f6\u5e94\u5148\u5199\u51fa\u8981\u6d4b\u91cf\u7684\u70ed\u8fd0\u52a8\u76f8\u5bf9\u4e8e\u54ea\u4e00\u79cd\u901f\u5ea6\u573a\uff0c\u518d\u9009\u62e9\u76f8\u5e94\u7684\u6e29\u5ea6\u8ba1\u7b97\u548c\u63a7\u6e29\u65b9\u6cd5\uff0c\u4e0d\u80fd\u770b\u5230\u5e26\u6709\u201c\u53bb\u6f02\u79fb\u201d\u7684\u9009\u9879\u5c31\u76f4\u63a5\u66ff\u6362\u3002<\/p>\n<p>\u5bf9\u4e8e\u6ca1\u6709\u7814\u7a76\u6d41\u52a8\u3001\u53ea\u662f\u51fa\u73b0\u610f\u5916\u6574\u4f53\u8fd0\u52a8\u7684\u5e73\u8861\u4efb\u52a1\uff0c\u4e5f\u5e94\u5148\u67e5\u521d\u59cb\u901f\u5ea6\u3001\u5916\u52a0\u529b\u548c\u8fb9\u754c\u8bbe\u7f6e\u3002\u4fdd\u7559\u6f02\u79fb\u5e76\u5bf9\u5185\u90e8\u8fd0\u52a8\u63a7\u6e29\uff0c\u548c\u4e3b\u52a8\u53bb\u6389\u6f02\u79fb\uff0c\u662f\u4e24\u79cd\u4e0d\u540c\u5b9e\u9a8c\u8bbe\u8ba1\u3002\u672c\u6587\u91c7\u7528\u524d\u8005\u662f\u4e3a\u4e86\u9694\u79bb\u5b9a\u4e49\u95ee\u9898\uff0c\u4e0d\u80fd\u636e\u6b64\u5efa\u8bae\u6240\u6709\u6a21\u62df\u90fd\u4fdd\u7559\u6574\u4f53\u8fd0\u52a8\u3002\u6bcf\u4e00\u4e2a\u4fee\u6b63\u52a8\u4f5c\u90fd\u5e94\u80fd\u591f\u8bf4\u660e\u5b83\u6539\u53d8\u4e86\u54ea\u4e2a\u81ea\u7531\u5ea6\uff0c\u4ee5\u53ca\u662f\u5426\u7b26\u5408\u7814\u7a76\u5bf9\u8c61\u7684\u7ea6\u675f\u3002<\/p>\n<h2 style=\"font-size:1.38em;line-height:1.5;margin:1.55em 0 .55em;color:#182d43\">\u4ece\u4e0b\u8f7d\u793a\u4f8b\u8fc1\u79fb\u5230\u81ea\u5df1\u7684\u8f93\u5165<\/h2>\n<p><a style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/ysx-bioinformatics-practice-246-246-00d68d326918.zip\">\u4e0b\u8f7d\u4e24\u7ec4 LAMMPS \u5b9e\u8dd1\u9a71\u52a8\u4e0e\u9884\u671f\u7ed3\u679c<\/a>\u3002\u5b8c\u6574\u811a\u672c\u4f1a\u521b\u5efa\u8f93\u5165\u6587\u4ef6\u3001\u4fdd\u7559\u65e5\u5fd7\u548c\u9010\u70b9\u5ba1\u9605\u8868\uff0c\u518d\u8f93\u51fa JSON \u6c47\u603b\u3002\u4e0b\u9762\u7ed9\u51fa\u672c\u6b21\u4f7f\u7528\u7684\u5b89\u88c5\u65b9\u5f0f\uff0c\u9002\u7528\u4e8e\u76f8\u5e94 Linux \u73af\u5883\u3002\u5b89\u88c5 MPI \u8fd0\u884c\u5e93\u662f\u8be5\u4e8c\u8fdb\u5236\u5305\u7684\u4f9d\u8d56\u9700\u8981\uff0c\u672c\u4f8b\u4ecd\u53ea\u542f\u52a8\u4e00\u4e2a\u8fdb\u7a0b\uff0c\u6ca1\u6709\u8fdb\u884c\u591a\u8282\u70b9\u6027\u80fd\u6d4b\u8bd5\u3002<\/p>\n<pre style=\"max-width:100%;box-sizing:border-box;overflow-x:auto;margin:18px 0;padding:14px 16px;background:#f3f6fa;color:#1a293c;border:1px solid #d8e1ea;border-radius:8px;line-height:1.55;white-space:pre;overflow-wrap:normal;word-break:normal\"><code class=\"language-bash\">python3.10 -m venv lammps_env\r\nlammps_env\/bin\/python -m pip install \\\r\n  lammps==2025.7.22.4.0 mpich==5.0.2 numpy==2.2.6\r\n\r\nLD_LIBRARY_PATH=&quot;$PWD\/lammps_env\/lib&quot; OMP_NUM_THREADS=1 \\\r\n  lammps_env\/bin\/python 246-lammps\/run.py work_lammps\r\n<\/code><\/pre>\n<p>\u8fc1\u79fb\u65f6\u5148\u4fdd\u7559\u96f6\u6b65\u68c0\u67e5\uff0c\u518d\u68c0\u67e5\u4e24\u4e2a\u6e29\u5ea6\u5b9a\u4e49\u662f\u5426\u5f15\u7528\u4e86\u540c\u4e00\u7ec4\u7c92\u5b50\u3002\u7136\u540e\u6cbf\u7740\u8f93\u51fa\u548c\u6052\u6e29\u5668\u5206\u522b\u8ffd\u8e2a\u8ba1\u7b97\u7f16\u53f7\uff0c\u786e\u8ba4\u62a5\u544a\u91cc\u7528\u4e8e\u5224\u65ad\u8fbe\u6807\u7684\u91cf\uff0c\u6b63\u662f\u81ea\u5df1\u5e0c\u671b\u88ab\u63a7\u5236\u7684\u91cf\u3002\u82e5\u8fd8\u5b58\u5728\u5916\u52a0\u504f\u7f6e\u6216\u6d41\u52a8\uff0c\u518d\u5355\u72ec\u6838\u5bf9\u5b83\u4eec\u7684\u4f5c\u7528\u5bf9\u8c61\u3002\u5b8c\u6210\u8fd9\u4e9b\u77ed\u68c0\u67e5\u4ee5\u540e\uff0c\u5ef6\u957f\u8f68\u8ff9\u624d\u6709\u660e\u786e\u610f\u4e49\uff0c\u5426\u5219\u66f4\u591a\u91c7\u6837\u53ea\u4f1a\u628a\u8bbe\u7f6e\u4e0a\u7684\u504f\u5dee\u8bb0\u5f55\u5f97\u66f4\u52a0\u5145\u5206\u3002<\/p>\n<p>LAMMPS \u7684\u4f18\u52bf\u5728\u4e8e\u53ef\u7ec4\u5408\u7684\u52bf\u51fd\u6570\u3001\u7fa4\u7ec4\u3001\u8ba1\u7b97\u91cf\u548c\u79ef\u5206\u63a7\u5236\uff0c\u9002\u5408\u6784\u5efa\u6709\u9488\u5bf9\u6027\u7684\u7c92\u5b50\u6a21\u578b\u3002\u76f8\u5e94\u7684\u4f7f\u7528\u6210\u672c\u4e5f\u5728\u8fd9\u91cc\uff0c\u540c\u540d\u7684\u6e29\u5ea6\u4e0d\u4fdd\u8bc1\u5b9a\u4e49\u76f8\u540c\uff0c\u6362\u4e00\u4e2a\u8ba1\u7b97\u5bf9\u8c61\u4e5f\u4e0d\u4fdd\u8bc1\u6240\u6709\u4f9d\u8d56\u5b83\u7684\u547d\u4ee4\u540c\u6b65\u6539\u53d8\u3002\u628a\u8f93\u5165\u5173\u7cfb\u5199\u6e05\u695a\uff0c\u5e76\u4fdd\u7559\u80fd\u72ec\u7acb\u9a8c\u7b97\u7684\u5c0f\u68c0\u67e5\uff0c\u80fd\u8ba9\u590d\u6742\u6a21\u62df\u7684\u7ed3\u679c\u66f4\u5bb9\u6613\u89e3\u91ca\u3002<\/p>\n<p class=\"guide-end\" style=\"margin-top:1.6em;padding-top:1.0em;border-top:1px solid #d7e0e9\">\u9700\u8981\u5c06\u6838\u5bf9\u8fc7\u7684\u6a21\u62df\u65b9\u6848\u6269\u5c55\u4e3a\u591a\u4e2a\u4f53\u7cfb\u6216\u591a\u7ec4\u91cd\u590d\u65f6\uff0c\u53ef\u5411<a data-ysx-event=\"contact_click\" style=\"color:#18745f;text-decoration:underline;text-underline-offset:2px\" href=\"https:\/\/www.biocloudservice.com\/wordpress\/compute-services\/shared-research-workspace\/\">\u4e91\u751f\u4fe1\u751f\u7269\u4fe1\u606f\u5206\u6790\u670d\u52a1\u5668<\/a>\u8bf4\u660e\u8f6f\u4ef6\u6784\u5efa\u3001\u7c92\u5b50\u89c4\u6a21\u4e0e\u91c7\u6837\u5b89\u6392\uff0c\u6c9f\u901a\u76f8\u5e94\u8fd0\u884c\u73af\u5883\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u4e24\u7ec4 LAMMPS \u7c92\u5b50\u6a21\u62df\u6838\u5bf9\u666e\u901a\u6e29\u5ea6\u4e0e\u53bb\u8d28\u5fc3\u6e29\u5ea6\uff0c\u89e3\u91ca\u4e3a\u4f55\u53ea\u6539\u65e5\u5fd7\u8f93\u51fa\u4e0d\u80fd\u6539\u53d8\u63a7\u6e29\u5bf9\u8c61\uff0c\u5e76\u7528\u9010\u7c92\u5b50\u901f\u5ea6\u72ec\u7acb\u9a8c\u7b97\u3002<\/p>\n","protected":false},"author":1,"featured_media":74063,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[49],"tags":[1641,895,1642],"class_list":["post-74064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-lammps","tag-895","tag-1642"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/lammps-temperature-com-drift-thermostat-compute-practice-guide.png?fit=1200%2C840&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/74064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/comments?post=74064"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/74064\/revisions"}],"predecessor-version":[{"id":74065,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/74064\/revisions\/74065"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/74063"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=74064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=74064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=74064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}