固定轴与二维结构优化 (笔记)

IOPTCELL=1 1 0 1 1 0 0 0 0  (力的收敛好,收敛快)

  vasp6.1  两种形式编译了。

            (1)        vasp_opt (需要OPTCELL (110)文件,不需要设置IOPTCELL

             (2)        vasp_optcell-finner

 vasp6.2 固定轴编译了vasp_std   

 vasp6.3 没有编译

晶格常数矩阵

lattle_{cell}=\begin{bmatrix} a_{1}& a_{2} & a_{3}\\ b_{1}& b_{2} & b_{3}\\ c_{1}& c_{2} & c_{3}\\ \end{bmatrix}

IOPTCELL 矩阵 

IOPT_{cell}=\begin{bmatrix} 1& 4 & 7\\ 2& 5 & 8\\ 3& 6 & 9\\ \end{bmatrix}\Rightarrow F_{cell}=\begin{bmatrix} F_{11}& F_{21} & F_{31}\\ F_{12}& F_{22} & F_{23}\\ F_{13}& F_{23} & F_{33}\\ \end{bmatrix}

lattle_{new}=lattle_{old}*F_{cell}=lattle_{old}*IOPT_{cell}

lattle_{cell}*F_{cell}=\begin{bmatrix} a_{1}& a_{2} & a_{3}\\ b_{1}& b_{2} & b_{3}\\ c_{1}& c_{2} & c_{3}\\ \end{bmatrix}*\begin{bmatrix} F_{11}& F_{21} & F_{31}\\ F_{12}& F_{22} & F_{23}\\ F_{13}& F_{23} & F_{33}\\ \end{bmatrix}\\=\begin{bmatrix} a_{1}& a_{2} & a_{3}\\ b_{1}& b_{2} & b_{3}\\ c_{1}& c_{2} & c_{3}\\ \end{bmatrix}*\begin{bmatrix} 1& 4 & 7\\ 2& 5 & 8\\ 3& 6 & 9\\ \end{bmatrix}

参考原理:IOPTCELL设置指南:固定轴与二维结构优化_哔哩哔哩_bilibili

安装补丁视频:VASP+IOPTCELL:VASP固定基矢优化结构_哔哩哔哩_bilibili

设置IOPTCELL 需要补丁文件 makefile.include 放入 vasp.6.3文件中

步骤

(1) patch -p0 < stress_relax_finner.patch

(2)make   正常编译vasp

(3) source  /opt/intel/oneapi/setvars.sh

IOPTCELL测试:石墨烯结构的优化:IOPTCELL设置对优化结果没有那么重要_哔哩哔哩_bilibili

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值