Spectral methods for capillary surfaces
GPL-3.0-or-later
As of May 5th, 2022, three prototype problems have been treated, with corresponding codes.
Each of these programs needs Chebfun. Please install Chebfun from chebfun.org.
symmetric_capillary_disc.m
This code solves for capillary surfaces that are the image of a disk. The inputs are the radius b and the inlination angle psi_b there. We require -\pi \leq\psi_b\leq\pi. The output is the surface.
symmetric_capillary_annular.m
This code solves for capillary surfaces that are the image of an annulus. The inputs are the radii a and b with 0<a<b<\infty and the inlination angles \psi_a and \psi_b there. We require -\pi \leq\psi_a,\psi_b\leq\pi. The output is the surface.
symmetric_capillary_2D.m
This code solves for lower simensional capillary surfaces that are the analogue of either of the above problems. The inputs are the radii a and b with -\infty<a<b<\infty and the inlination angles \psi_a and \psi_b there. We require -\pi \leq\psi_a,\psi_b\leq\pi. The output is the surface.
For modest problems, the convergence to solutions is extremely fast and uses very little memory.
For more challenging problems the adaptive algorithm automatically increases the number of Chebyshev points to achieve the prescribed tolerances. This process has worked very well in almost all of the cases we have found.
It is possible sometimes to break these codes for extremes of the inclination angles near