Efficient CFD-based method for designing cross-flow nanofiltration small devices