In the petroleum industry, water-and-gas breakthrough in hydrocarbon reservoirs is a common issue that eventually leads to uneconomic production. To extend the economic production lifetime, inflow-control devices (ICDs) are designed to delay the water-and-gas breakthrough. Because the lifetime of a hydrocarbon reservoir commonly exceeds 20 years and it is a harsh environment, the reliability of the ICDs is vital.