NSF2d.m from Coupled constitutive relations: a second law based higher-order closure for hydrodynamics

This Malab file solves the Lid-driven cavity problem (figure no: 3, 4 and 5 in the manuscript) for the NSF model.