10.18419/darus-2241Schulz, SebastianSebastianSchulzUniversität StuttgartBringedal, CarinaCarinaBringedal0000-0003-0495-2634Universität StuttgartAckermann, SinaSinaAckermann0000-0002-1636-6598Universität StuttgartCode for relative permeabilities for two-phase flow between parallel plates with slip conditionsDaRUS2021Earth and Environmental SciencesEngineeringMathematical SciencesRelative permeabilityDarcy's lawTwo-phase flowBringedal, CarinaCarinaBringedalUniversität Stuttgart2021-11-222021-11-247711643154383text/x-objcsrcapplication/pdftext/x-objcsrc1.0CC BY 4.0This MATLAB code calculates relative permeabilities of two fluids flowing between two parallel plates, depending on their viscosities, saturation and boundary conditions at the top and bottom plates. The underlying assumptions behind the derivation are shown in the pdf "overview_relativepermeabilities.pdf", where also the resulting equations are listed. The matlab file "relativePermeabilities.m" performs the actual calculation of the relative permeabilities, for given saturation, viscosities of both fluids and slip lengths at the boundaries. The matlab file "example_usage.m" shows an example of how to use "relativePermeabilities.m".DFGEXC 2075 - 390740016