Comments (11)
from vaspsol.
Dear Prof. @rhennig ,
I have calculated a set of charged (2×2)-Pt(111) slab. The results are as follows:
net_charge | potential_energy | FERMI_SHIFT | |
---|---|---|---|
0 | -0.20 | -93.781 | 2.041 |
1 | -0.16 | -93.494 | 2.041 |
2 | -0.12 | -93.204 | 2.042 |
3 | -0.08 | -92.910 | 2.042 |
4 | -0.04 | -92.612 | 2.042 |
5 | 0.00 | -92.312 | 2.041 |
6 | 0.04 | -92.007 | 2.041 |
7 | 0.08 | -91.700 | 2.042 |
8 | 0.12 | -91.389 | 2.042 |
9 | 0.16 | -91.075 | 2.041 |
10 | 0.20 | -90.757 | 2.041 |
Is that grand-canonical free energy F = potential_energy - net_charge*FERMI_SHIFT
? It seems a linear relationship between net_charge and F, no quadratic curve.
Here is the POSCAR:
Pt
1.00000000000000
5.6416157960000008 0.0000000000000000 0.0000000000000000
2.8208078980000004 4.8857825977275668 0.0000000000000000
0.0000000000000000 0.0000000000000000 21.9095400125127817
Pt
16
Selective dynamics
Direct
0.0000000000000000 0.0000000000000000 0.3427243190829614 T T T
0.5000000000000000 0.0000000000000000 0.3427243190829614 T T T
0.0000000000000000 0.5000000000000000 0.3427243190829614 T T T
0.5000000000000000 0.5000000000000000 0.3427243190829614 T T T
0.1666666666666643 0.1666666666666643 0.4474388781586569 F F F
0.6666666666666643 0.1666666666666643 0.4474388781586569 F F F
0.1666666666666643 0.6666666666666643 0.4474388781586569 F F F
0.6666666666666643 0.6666666666666643 0.4474388781586569 F F F
0.8333333333333357 0.3333333333333357 0.5525611218413431 F F F
0.3333333333333357 0.3333333333333357 0.5525611218413431 F F F
0.8333333333333357 0.8333333333333357 0.5525611218413431 F F F
0.3333333333333357 0.8333333333333357 0.5525611218413431 F F F
0.0000000000000000 0.0000000000000000 0.6572756809170386 T T T
0.5000000000000000 0.0000000000000000 0.6572756809170386 T T T
0.0000000000000000 0.5000000000000000 0.6572756809170386 T T T
0.5000000000000000 0.5000000000000000 0.6572756809170386 T T T
and INCAR
INCAR created by Atomic Simulation Environment
ENCUT = 520.000000
KSPACING = 0.300000
NELECT = 160.080000 # net_charge = -0.08
EB_K = 78.360000
TAU = 0.000000
LAMBDA_D_K = 3.040000
ALGO = Fast
GGA = PE
LCHARG = .FALSE.
LVHAR = .TRUE.
LSOL = .TRUE.
LREAL = Auto
Best regards,
Xinnan
from vaspsol.
from vaspsol.
Dear Prof. @rhennig,
Sorry I missed them.
But I can't find a quadratic curve. The energy in OUTCAR is increased significantly by adding net charge.
Here is the full output:
A | B | C | D | E | |
---|---|---|---|---|---|
net_charge | energy (in OUTCAR) | E-fermi (in OUTCAR) | FERMI_SHIFT (in stdout) | vacuum level (from LOCPOT) | |
0 | -0.20 | -93.781 | -7.110 | 2.041 | -2.031 |
1 | -0.16 | -93.494 | -7.211 | 2.041 | -2.033 |
2 | -0.12 | -93.204 | -7.295 | 2.042 | -2.035 |
3 | -0.08 | -92.910 | -7.393 | 2.042 | -2.037 |
4 | -0.04 | -92.612 | -7.479 | 2.042 | -2.039 |
5 | 0.00 | -92.312 | -7.562 | 2.041 | -2.041 |
6 | 0.04 | -92.007 | -7.645 | 2.041 | -2.044 |
7 | 0.08 | -91.700 | -7.718 | 2.042 | -2.045 |
8 | 0.12 | -91.389 | -7.812 | 2.042 | -2.047 |
9 | 0.16 | -91.075 | -7.894 | 2.041 | -2.049 |
10 | 0.20 | -90.757 | -7.969 | 2.041 | -2.051 |
Thank you for your kindness!
Best wishes,
Xinnan
from vaspsol.
from vaspsol.
Dear @rhennig,
I may not have made it clear. I mean, if I plot column[B]-column[A]*column[D]
against column[A]
, what I get seems to be a linear relationship between the grand-canonical electronic energy (?)
and net charge
as follows,
While Figure 2 in the VASPsol publication exhibits a typical quadratic behavior.
Best wishes,
Xinnan
from vaspsol.
I have managed to do this now by applying a correction from the volume averaged electrostatic potential within the simulation cell, as described in equation 14, 15 of https://onlinelibrary.wiley.com/doi/10.1002/anie.200502540.
Many thanks!
Xinnan Mao
from vaspsol.
Dear all,
I have a similar problem in repeating Figure 2 in the VASPsol publication (DOI:10.1063/1.5132354) A linear relationship between the energy and the electrode potential was obtained. After reading the paper (DOI:10.1002/anie.200502540) @xnmao recommended, I still could not get a quadratic relationship between the energy and the electrode potential after I added another correction. I guess it is about data processing. I've got to process the data as follows:
-
Electrode potential (U (V)):
U=(E_vacuum_level(in LOCPOT) - E_Fermi(in OUTCAR) + FERMI_SHIFT(in stdout))/e.
where e is 1. Similar to the xnamao'data above, the value of E_vacuum_level(in LOCPOT) is almost equal to the negative value of FERMI_SHIFT(in stdout)). So the U is actually equal to the negative value of E_Fermi (in OUTCAR). -
The grand-canonical electronic energy (F (eV)):
F=E_DFT(in OUTCAR) - n*U
where n is the net charge, i.e., when the charge is added 0.02 to the neutral slab, the n = +0.02; when the charge is removed from the neutral system, the n = -0.02. -
In the paper (DOI:10.1002/anie.200502540) @xnmao recommended, there is another correction is about the slab-background interaction: \int_{0}^{q} \left \langle Vtot\left ( Q \right ) \right \rangle dQ.
where the Vtot(q) refers to the average potential in the unit cell.
In my understanding, the Vtot(q) is the 'vacuum level' (in LOCPOT). However, I still could not get a quadratic relationship even after adding this correction. I also get confused about this correction, which I think it has been included in E_DFT(in OUTCAR) calculated in VASPsol.
Is there any mistake in my understanding? Could you give me more details?
Thanks!
Kai
from vaspsol.
Dear Prof. @rhennig,
I'm wondering if geometry optimization is needed for each of the calculation set at different potential by NELECT? If so, will the quadratic behavior still hold if structure changes significantly?
Thanks,
Liam
from vaspsol.
Hi @liam3935 ,
You can get the answer in #issue60 . And according to my limited experience, geometry optimization need to be done, and if structure changes significantly, you can NOT get the expected quadratic curve.
Kai
from vaspsol.
from vaspsol.
Related Issues (20)
- Patches for VASP 6.3 HOT 13
- 1. Free Energy or Energy calculated at T=0 K in the OUTCAR calculated using VASPsol. HOT 1
- Potential vs z calculated using VASPsol? HOT 3
- Confusion about DFT energy correction using FERMI_SHIFT HOT 3
- Unable to build VASP 5.4.4 with new Intel OneAPI compilers, mpi mkl HOT 1
- Water molecules at the intersection of implicit and explicit solvents behave abnormally HOT 3
- How to set the parameters in the isolated system of charged adsorbates? HOT 1
- Speed of solvation step with VASPsol HOT 1
- clear
- Fermi energy changes with the value of parameter NC_K
- VASPsol for solid-solid interfaces HOT 1
- How to get the profile of dielectric constant HOT 1
- add topic tags
- requesting pbz_patch_541 patch file
- VASPsol Patch File for VASP 6.4.3 HOT 1
- Will the uniform background charge be turned off after introducing VASPsol for charged slabs? HOT 2
- requesting pbz_patch_5.4.4 patch file
- VASP sol patch file for VASP 6.4 HOT 1
- Issue with optimization with vaspsol with EMIM (EB_K=8.81) HOT 2
- The change of EFERMI_ref in VASPsol++ has no effect on the calculation results HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vaspsol.