Self-optimizing, thermally adaptive microfluidic flow structures