Introducing a lattice Boltzman time-domain method: A thermodynamics-based approach for simulating quantum effects.