In the following tutorial you will learn how to:

- Create periodic boundary conditions with non-conforming boundary mesh
- Apply pressure jump between periodic boundaries
- Calculate mass flow rate through a boundary

We will investigate mass flow rates obtained in two configurations of the infinite tesla valve. We will create a two-dimensional model with periodic boundary conditions. In the first part of the tutorial, we will calculate flow in the blocking direction of the valve. The flow will be forced by a prescribed pressure difference between the inlet and the outlet boundary of the periodic domain segment. In the second part, we will simulate flow in the opposite direction, by changing the sign of the applied pressure difference. Finally, we will compare the results and the efficiency of the two configurations.