A boundary-value problem is a mathematical model whose solution must satisfy conditions at two or more locations, such as the inlet and outlet of a reactor. It commonly arises in coupled heat- and mass-transfer design calculations.