Reverse osmosis in a curved tubular membrane duct