Thermodynamically Admissible Form for Discrete Hydrodynamics