Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get valence from pseudo potential #661

Open
superstar54 opened this issue Apr 3, 2024 · 2 comments
Open

Get valence from pseudo potential #661

superstar54 opened this issue Apr 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@superstar54
Copy link
Member

In DFT+U calculation, user need to specify the manifold for the element, e.g.,

Co: 3d, O: 2p

Instead of inputting the value by the user manually, it would be better that we read the valence orbitals from the pseudo-potential and provide a dropdown for the user to select.

@unkcpz, you are the expert on pseudo. Do you know if this is already possible from Aiida? If not, can I assign this to you?

@AndresOrtegaGuerrero, any comments are welcome.

@superstar54 superstar54 added the enhancement New feature or request label Apr 3, 2024
@AndresOrtegaGuerrero
Copy link
Member

In #577 , I use pymatgen to get the valence per Kind, as a first approximation depending on the element i displayed the outer valence so the user can set the U value. However if we want to give more flexibility to the manifold is possible. Regarding the valence , this info can it be obtained in aiida-pseudo, like the z_valence (wondering no clue) ?

@AndresOrtegaGuerrero
Copy link
Member

AndresOrtegaGuerrero commented Apr 8, 2024

@superstar54 i guess we should "grep" the "Wavefunctions" from the pseudo file.

5 8 Number of Wavefunctions, Number of Projectors
Wavefunctions nl l occ
5S 0 2.00 Wavefunction
5P 1 6.00 Wavefunction
5D 2 3.90 Wavefunction
6S 0 2.00 Wavefunction
6P 1 0.00 Wavefunction

i notice this issue in aiida-pseudo aiidateam/aiida-pseudo#38 i left a comment there as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants