def __metal_to_SI(vol, T):
    """
    Converts LAMMPS metal units to SI units for thermal conductivity calculations.

    Args:
        vol (float):
            Volume in angstroms^3

        T (float):
            Temperature in K

    Returns:
        float: Converted value
    """
    kb = 1.38064852e-23  # m3*kg/(s2*K)
    vol = vol/(1.0e10)**3  # to m3
    # eV2*ns/(ps2*A4) to J2/(s*m4)
    to_SI = (1.602e-19)**2.*1.0e12*(1.0e10)**4.0*1000.
    return vol*to_SI/(kb*T**2)