Skip to content

Abnormal energies in z direction for an isotropic magnetic system in non collinear calculation with soc #3170

Description

@hongriTianqi

Describe the bug

The system is BCC Fe. I performed NC+SOC calculation with starting mag moments in x, y, and z directions. The results come as:

ground_stateX/OUT.ABACUS/running_scf.log: !FINAL_ETOT_IS -6817.996537401447 eV
ground_stateY/OUT.ABACUS/running_scf.log: !FINAL_ETOT_IS -6817.996537402879 eV
ground_stateZ/OUT.ABACUS/running_scf.log: !FINAL_ETOT_IS -6817.996142674576 eV

the magnetimc moment results:

ground_stateX/OUT.ABACUS/mulliken.txt:Total Magnetism on atom:  Fe                   (3.62, 0, 0)
ground_stateX/OUT.ABACUS/mulliken.txt:Total Magnetism on atom:  Fe                   (3.62, 0, 0)
ground_stateY/OUT.ABACUS/mulliken.txt:Total Magnetism on atom:  Fe                   (0, 3.62, 0)
ground_stateY/OUT.ABACUS/mulliken.txt:Total Magnetism on atom:  Fe                   (0, 3.62, 0)
ground_stateZ/OUT.ABACUS/mulliken.txt:Total Magnetism on atom:  Fe                   (0, 0, 3.621)
ground_stateZ/OUT.ABACUS/mulliken.txt:Total Magnetism on atom:  Fe                   (0, 0, 3.621)

Expected behavior

The results on different directions are assumed to be exactly the same for this isotropic magnetic system.

To Reproduce

issue_soc.tar.gz

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).

Metadata

Metadata

Assignees

Labels

BugsBugs that only solvable with sufficient knowledge of DFT

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Design simple benchmark tests to debug

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions