deepmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
http://abacus.ustc.edu.cn
GNU Lesser General Public License v3.0
172 stars 132 forks source link

Seeking magnetic anisotropic tutorial #5395

Open radixwang opened 6 days ago

radixwang commented 6 days ago

Details

I would like to ask if there are any tutorials on calculating the magnetic anisotropy constant, thanks.

Have you read FAQ on the online manual http://abacus.deepmodeling.com/en/latest/community/faq.html

Task list for Issue attackers (only for developers)

WHUweiqingzhou commented 3 days ago

@radixwang, You can perform two SCF calculations with initial magnetic moments along different directions to get Magnetic Anisotropy Energy (MAE). MAE is induced by the Spin Orbital Coupling (SOC) effect. So please make sure SOC is on in INPUT:

noncolin    1
lspinorb    1

Then, you can prepare two STRUs. The initial magnetic moment of one is set as follows, and get $E_{001}$:

Fe #label
0.0000   #magnetism
2 #number of atoms
        0.0000000005        0.9999999999        0.9999999996 m 1 1 1 mag 0.0 0.0 1.0
        0.4999999995        0.5000000001        0.5000000004 m 1 1 1 mag 0.0 0.0 1.0

The initial magnetic moment of the other one is set as follows, and get $E_{100}$:

Fe #label
0.0000   #magnetism
2 #number of atoms
        0.0000000005        0.9999999999        0.9999999996 m 1 1 1 mag 1.0 0.0 0.0
        0.4999999995        0.5000000001        0.5000000004 m 1 1 1 mag 1.0 0.0 0.0

After two full SCF calculations, you can get MAE by $E{MAE}=E{001}-E_{100}$. If notice that, MAE is very small, at the order of $\mu eV$. Please make convergence test very carefully to determine the converged ecutwfc and kspacing.

radixwang commented 1 day ago

ok i have to try