The thermal diode is the fundamental device for phononics. There are various mechanisms for thermal rectification, e.g. different temperature dependent thermal conductivity of two ends, asymmetric interfacial resistance, and nonlocal behavior of phonon transport in asymmetric structures. The phonon hydrodynamics and thermomass theory treat the heat conduction in a fluidic viewpoint. The phonon gas flowing through the media is characterized by the balance equation of momentum, like the Navier-Stokes equation for fluid mechanics. Generalized heat conduction law thereby contains the spatial acceleration (convection) term and the viscous (Laplacian) term. The viscous term predicts the size dependent thermal conductivity. Rectification appears due to the MFP supersession of phonons. The convection term also predicts rectification because of the inertia effect, like a gas passing through a nozzle or diffuser.