A Modulus-Squared Dirichlet Boundary Condition for Time-Dependent Complex Partial Differential Equations and its Application to the Nonlinear Schrödinger Equation
An easy to implement modulus-squared Dirichlet (MSD) boundary condition is formulated for numerical simulations of time-dependent complex partial differential equations in multidimensional settings. The MSD boundary condition approximates a constant modulus-square value of the solution at the boundaries and is defined as \[ \left.\dfrac{\partial Ψ}{\partial t}\right|_b \approx i\,\mbox{Im} \left[ \dfrac{1}{Ψ_{b-1}} \left.\dfrac{\partial Ψ}{\partial t}\right|_{b-1} \right]\,Ψ_b, \] where $Ψ$ is the complex field and the subscripts $b$ and $b-1$ refer to a boundary point and the closest interior point to the boundary respectively. Application of the MSD boundary condition to simulations of the nonlinear Schrödinger equation is shown, and numerical simulations are performed to demonstrate its usefulness and advantages over other simple boundary conditions.