Critical behavior and the processing of nanoscale porous materials