Skip to content

Add phonon parsing and calc-type enrichment in AiiDA reporting - #18

Draft
alinzh wants to merge 6 commits into
masterfrom
phonon
Draft

Add phonon parsing and calc-type enrichment in AiiDA reporting#18
alinzh wants to merge 6 commits into
masterfrom
phonon

Conversation

@alinzh

@alinzh alinzh commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Work in progress. CRYSTAL phonon parsing and AiiDA reporting enrichment are functional; FLEUR phonon parsing is not yet implemented (fleur_parser/phonon.py is a graceful no-op pending representative test data)

@alinzh
alinzh marked this pull request as draft August 5, 2026 08:23
@alinzh

alinzh commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator Author

Still in progress (phonon calcs are needed, but they are missing)

alinzh added a commit that referenced this pull request Aug 30, 2026
… integration

Merge CRYSTAL phonon parsing from PR #18 with FLEUR phonon WorkChain
enrichment and thermodynamic integration (ZPE, F, S, Cv) from
ab_initio_calculations.phonon_thermo.

CRYSTAL (from PR #18):
- crystal_parser/properties/phonon.py: parse phonon frequencies from
  OUTPUT MODES block, PHONON.DAT, FREQ.DAT
- _enrich_crystal_extras: has_phonons, phonon_freq_min/max/mean/std,
  phonon_n_imag, phonon_modes_count
- determine_calc_type_summary: phonon/transport/elastic/electron types
- --calc-type, --max-duration, --skip-displacement CLI flags

FLEUR (new):
- phonon_utils.py: extract frequencies from PhonopyFleurWorkChain via
  phonopy force_constants, integrate via custom/phonopy/ase methods
- _enrich_phonon_data: enrich phonon CalcJobs by walking provenance to
  parent PhonopyFleurWorkChain
- n_imaginary, zpe_kjmol, f_at_t_kjmol, s_at_t_jkmol, cv_at_t_jkmol,
  phonon_n_qpoints, phonon_n_bands, t_eval columns
- dft-report-phonons CLI: standalone phonon table with PR, SG, Pearson,
  formula, cell params, cost, thermodynamic properties
- --phonon-t-eval, --phonon-method CLI flags

Shared:
- structures.py: get_space_group_robust, nullify_right_angles
- _pearson_from_attrs: Pearson symbol filling in _enrich_with_structure_fast
- resolve_provider_and_rate (Vultr+Hetzner) replaces get_cloud_rate/get_cost
  in AiiDA-DB pipeline
- ab_initio_calculations dependency for phonon_thermo integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant