Gu, Yu2021-06-282021-06-282021-06-282021-06-21http://hdl.handle.net/10012/17131In this thesis, we present a new type of boundary condition for the simulation of inviscid fluids – the Signorini boundary condition. The new condition models the non-sticky contact of a fluid with other fluids or solids. Euler equations with Signorini boundary conditions are analyzed using variational inequalities. We derived the weak form of the PDEs, as well as an equivalent optimization based formulation. We proposed a finite element method to numerically solve the Signorini problems. Our method is based on a staggered grid and a level set representation of the fluid surfaces, which may be plugged into an existing fluid solver. We implemented our algorithm and tested it with some 2D fluid simulations. Our results show that the Signorini boundary cpndition successfully models some interesting contact behavior of fluids, such as the hydrophobic contact and the non-coalescence phenomenon.encomputer graphicsfluid simulationnumerical algorithmfinite element methodelliptic PDEsComputer graphicsFinite element methodComputer programsSignorini conditions for inviscid fluidsMaster Thesis