Prepare GPUMD thermal-transport workflows for EMD / HNEMD / NEMD / SHC / HNEMDEC. Use when the user needs `compute_hac`, `compute_hnemd`, `compute_hnemdec`, `compute_shc`, thermal-conductivity extraction, or transport-specific sampling and convergence guidance.
Use this subskill for heat-transport calculations in GPUMD. Diffusion,
viscosity, and ionic conductivity are related observables but live in
gpumd/diffusion.
| Target | Method | Keyword |
|---|---|---|
| bulk κ in a single-component crystal / liquid | HNEMD | compute_hnemd |
| bulk κ via Green-Kubo | EMD | compute_hac |
| length dependence or interface κ | NEMD | not yet covered |
| spectral decomposition of κ | spectral heat current | compute_shc |
| multi-component coupled transport | HNEMDEC | compute_hnemdec |
W m^-1 K^-1.Always start from a short NVT / NPT equilibration to the target state, then switch ensemble for production. Do not keep an aggressive thermostat on during a Green-Kubo production segment.
compute_hacAnnotated pattern (see assets/examples/transport/emd/run.in):
potential nep.txt
velocity 300
time_step 1
# equilibrate
ensemble npt_scr 300 300 100 0 0 0 100 100 100 1000
dump_thermo 100
run 100000
# production in NVE
ensemble nve
dump_thermo 100
compute_hac 20 200 2
run 2000000
compute_hac sample_interval Nc output_interval
sample_interval — store heat-current samples every N stepsNc — maximum number of correlation time steps to be calculatedoutput_interval — how often the running integral is writtenInspect hac.out and the running integral of the correlation function, not
just the peak. Use multiple seeds when the noise level matters.
compute_hnemdAnnotated pattern (see assets/examples/transport/hnemd/run.in):
potential nep.txt
velocity 300
time_step 1
# equilibrate
ensemble npt_scr 300 300 100 0 0 0 100 100 100 1000
dump_thermo 100
run 100000
# HNEMD production (thermostatted)
ensemble nvt_nhc 300 300 100
compute_hnemd 1000 0.00001 0 0
dump_thermo 1000
run 1000000
compute_hnemd output_interval Fe_x Fe_y Fe_z
Fe_x, Fe_y, Fe_z are the driving-field components in 1/Å.1e-5 1/Å for stiff crystalline solids and verify
field-independence before trusting the result.Post-process with the bundled helper:
python scripts/average_hnemd_kappa.py kappa.out
Do not blindly discard a fixed fraction of the time series. Instead,
inspect the kappa.out running average to identify when it has
equilibrated, then use --discard-rows N with N chosen from that
inspection.
NEMD workflows for length-dependent or interface thermal conductivity are supported by GPUMD but not yet covered in this skill. Refer directly to:
07_Carbon_thermal_conductivity_NEMDFor spectral heat-current decomposition use compute_shc with appropriate
group definitions. Groups are set up in model.xyz via group:I:M in the
Properties header, or by add_groups preprocessing.
For multi-component systems with cross-coupling between mass and heat flux
(molten salts, ionic conductors, mixed liquids), use compute_hnemdec. Do
not apply the single-component HNEMD formula to a multi-component system
without checking the cross-coupling.
Relevant tutorial anchor: 29_thermal_transport_multicomponent_HNEMDEC.
For a publishable transport number, report at least:
W m^-1 K^-1 for a monolayer without a stated thickness conventioncompute_hnemd in a regime where the flux is no longer linear in the
fieldRead when needed:
compute_hac: https://gpumd.org/gpumd/input_parameters/compute_hac.htmlcompute_hnemd: https://gpumd.org/gpumd/input_parameters/compute_hnemd.htmlcompute_shc: https://gpumd.org/gpumd/input_parameters/compute_shc.htmlcompute_hnemdec: https://gpumd.org/gpumd/input_parameters/compute_hnemdec.html