TB2J
Calculate magnetic exchange parameters from DFT calculations
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install TB2J?โผ
Run `npx skills add mailhexu/TB2J --all -g -y` in your terminal to install this skill globally for your agent.
What does TB2J calculate?โผ
TB2J computes Heisenberg model magnetic parameters such as isotropic exchange J, Dzyaloshinskii-Moriya interaction, and anisotropy from ground-state DFT calculations using the magnetic force theorem.
Which DFT codes work with TB2J?โผ
TB2J accepts input from VASP, Quantum ESPRESSO, Abinit, and others via Wannier90, plus numerical-orbital codes like Siesta, OpenMX, and ABACUS, and DMFT self-energies.
Do I need supercells to calculate exchange parameters?โผ
No. TB2J uses a Green's function perturbation method, so it only needs a ground-state DFT calculation and can compute interactions up to large distances without supercells.
Can TB2J output files be used for spin dynamics simulations?โผ
Yes. TB2J generates ready-to-use input for spin dynamics and Monte Carlo codes such as Vampire and Multibinit, and can also plot magnon band structures.
Related Repositories in Education & Research
View All in Education & Researchโlearn-claude-code
Learn to build AI agent harnesses from scratch
ai-agents-for-beginners
Learn to build, deploy, and secure AI agents step by step
33-js-concepts
Master 33 essential JavaScript concepts with tested, verified guides