Second Law Characterization of Confined Turbulent Flows