Modelling and Simulation of Tesla Valves