This repository contains the computational framework and results for the systematic study of electronic properties of group-VI two-dimensional transition metal dichalcogenides (TMDs) using density functional theory (DFT). The project was developed as part of the MEMY-512 Computational Materials Science II course at the University of Crete.
π For Detailed Documentation: For a comprehensive description of our development process, theoretical background, computational setup, and detailed analysis methodology, please refer to the complete project report:
tmd_report.pdf
. The PDF contains extensive details on our thought process, validation procedures, and in-depth discussion of results that complement this markdown.
The primary goal is to calculate and analyze the electronic structure properties of TMD monolayers, specifically:
- Band structure calculations along high-symmetry k-point paths
- Total density of states (DOS) analysis
- Orbital-projected DOS (PDOS) to understand electronic contributions
- Phase-dependent electronic properties across different structural polymorphs
1H Phase Materials (Semiconducting):
- MoSβ (Molybdenum disulfide)
- MoSeβ (Molybdenum diselenide)
- WSβ (Tungsten disulfide)
- WSeβ (Tungsten diselenide)
- MoTeβ (Molybdenum ditelluride)
- WTeβ (Tungsten ditelluride)
Extended Phase Analysis:
- 1T phase WTeβ (Metallic octahedral coordination)
- 1T' phase WTeβ (Distorted 1T with potential topological properties)
.
βββ tmd_report.pdf β Project description
βββ tmd_pres_slides.pdf.pdf β Presentation slides
βββ requirements.yaml β Conda environment
βββ TMD_codes/ β All scripts, data & workflows
βββ tmd_bs.py β Band structure calculator
βββ dos_tmd.py β DOS & PDOS plotting module
βββ mx2_utils.py β Custom ASE MXβ builder + helpers
βββ tmd_prior_runs/ β Reference `.gpw` runs & bandβpath images
βββ fails/ β Divergent or unconverged calculations
βββ MX2_<metal><X>_<p>/ β Material-phase subdirectories
βββ initial/ β βGuessβ structures & input scripts
βββ relax/ β Relaxation outputs (`*.gpw`, `.traj`)
βββ gs/ β Groundβstate densities (`*_gs.gpw`)
βββ bs/ β Bandβstructure JSON + plots
βββ dos/ β DOS/PDOS data & figures
βββ img/ β All generated figures (band paths, DOS, SOC insets)
The project employs a hierarchical directory structure that mirrors the computational workflow:
-
Material-specific subdirectories follow the naming convention
MX2_1p
, where:M
= transition metal (Mo, W)X
= chalcogen (S, Se, Te)p
= structural phase (H, T, T')
-
Systematic file naming encodes material identity and calculation type
-
Complete computational provenance from initial structural guesses to converged geometries
-
Visualization consolidation in
img/
subdirectories containing DOS plots, band diagrams, and orbital projections
Performs electronic band structure calculations for TMD monolayers with support for all three structural phases.
Key Features:
- Customized ASE MX2 builder distinguishing 1H from 2H phases
- Support for distorted 1T' phase construction
- Integrated workflow: structure building β relaxation β SCF β band calculation
- High-symmetry k-point path analysis (Ξ-K-M-Ξ)
Usage:
# Basic band structure calculation
mpirun -np 8 python tmd_bs.py --material MoS2 --phase "1H" --nprocs 4 --domain-parallel --kpt-parallel
# Skip relaxation for pre-optimized structures
mpirun -np 8 python tmd_bs.py --material WTe2 --phase "1T'" --skip-relax --band-parallel
Supported Arguments:
--material
: TMD compound (MoS2, MoSe2, WS2, WSe2, MoTe2, WTe2)--phase
: Structural phase (1H, 1T, 1T')--nprocs
: MPI process count--domain-parallel
,--kpt-parallel
,--band-parallel
: Parallelization options--skip-relax
: Skip geometry optimization
Computes total and projected density of states from completed GPAW calculations.
Key Features:
- Total DOS with spin-channel resolution
- Orbital-projected DOS (metal d-orbitals, chalcogen p-orbitals)
- Spin-orbit coupling (SOC) analysis for heavy elements
- Band inversion analysis for 1T' phases
Usage:
# Basic DOS calculation
python dos_tmd.py mos2_1H_gs.gpw
# Full analysis with PDOS and SOC
python dos_tmd.py wte2_1T_gs.gpw --pdos --soc --width 0.05
# Custom energy range
python dos_tmd.py "mote2_1T'_gs.gpw" --emin -8 --emax 8 --resolution 0.01
Analysis Options:
--pdos
: Enable orbital-projected DOS--soc
: Spin-orbit coupling analysis--width
: DOS broadening (default: 0.1 eV)--emin/emax
: Energy window relative to Fermi level
- Electronic character: Direct-gap semiconductors
- Critical points: Ξ and K valley analysis
- Orbital contributions: Metal d-orbital and chalcogen p-orbital hybridization
- Electronic character: Metallic or semi-metallic
- Band features: d-orbital dominated conduction
- Magnetic properties: Potential spin-polarization
- Electronic character: Distorted 1T with metal-metal chains
- SOC effects: Spin-orbit driven band inversions
- Topological analysis: Band inversion around Β±0.5 eV
- GPAW β₯ 25.1.0 with MPI support
- ASE (Atomic Simulation Environment)
- Python environment with scientific computing stack
# Create conda environment
conda env create -f requirements.yaml
conda activate tmd-dft
# Verify GPAW installation
python -c "import gpaw; print(gpaw.__version__)"
- MPI-enabled GPAW installation for parallel calculations
- Memory: Varies by system size and k-point sampling
- Time: Band structure calculations typically require 2-8 hours on modern clusters
The repository is designed for complete reproducibility of results presented in tmd_report.pdf
. Users can:
- Verify existing calculations using provided reference data in
tmd_prior_runs/
- Reproduce specific results by following the systematic workflow
- Extend to new materials using the modular calculation framework
- Test alternative parameters guided by the analysis in
fails/
directory
- Complete provenance tracking from initial guesses to final results
- Systematic naming conventions for easy data management
- Benchmark comparisons through established reference calculations
- Parameter sensitivity analysis documented in failed calculation logs
The computational workflow generates:
- Band structure plots along high-symmetry paths
- Total DOS with spin-channel resolution
- Orbital-projected DOS showing elemental and orbital contributions
- SOC analysis plots for heavy-element compounds
- Phase comparison visualizations highlighting electronic differences
- 1H phases: Band gap characterization and valley physics
- 1T phases: Metallic band analysis and d-orbital splitting
- 1T' phases: Topological band inversion and SOC-driven transitions
The modular design enables straightforward extension to:
- Additional TMD materials (group-V TMDs, heterostructures)
- Enhanced DFT methods (hybrid functionals (e.g., B3LYP), GW-BSE corrections)
- Advanced analysis techniques (topological invariants, transport properties)
This work was completed as part of the Computational Materials Science II course curriculum, utilizing the open-source GPAW DFT package and following established best practices for reproducible computational materials research.
If you use these scripts or data, please cite:
Vourvachakis S. Georgios, βBand structure, total DOS, and orbital-projected DOS of group VI 2D TMDsβ¦β, Department of Materials Science and Engineering, University of Crete, 2025.