1: \begin{abstract}
2:
3: We apply a novel optimization scheme from the image processing and machine learning areas, a fast Primal-Dual method, to achieve controllable and realistic fluid simulations.
4: While our method is generally applicable to many problems in fluid simulations, we focus on the two topics of fluid guiding and separating solid-wall boundary conditions.
5: Each problem is posed as an optimization problem and solved using our method, which contains acceleration schemes tailored to each problem.
6: In fluid guiding, we are interested in partially guiding fluid motion to exert control while preserving fluid characteristics.
7: With our method, we achieve explicit control over both large-scale motions and small-scale details which is valuable for many applications,
8: such as level-of-detail adjustment (after running the coarse simulation), spatially varying guiding strength, domain modification, and resimulation with different fluid parameters.
9: For the separating solid-wall boundary conditions problem, our method effectively eliminates unrealistic artifacts of fluid crawling up solid walls and sticking to ceilings, requiring few changes to existing implementations.
10: We demonstrate the fast convergence of our Primal-Dual method with a variety of test cases for both model problems.
11:
12: \end{abstract}
13: