The least squares spectral element method (LS-SEM) offers many advantages in the implementation of the finite element model compared with the traditional weak Galerkin method. In this article, the LS-SEM is used to solve the Navier-Stokes (NS) and the Cahn-Hilliard (CH) equations. The NS equation is solved with both C0 and C1 basis functions and their performance is compared in terms of accuracy. A two-dimensional steady-state solver is verified with the case of Kovasznay flow and validated for the cavity flow, and a two-dimensional unsteady solver is verified by a transient manufactured solution case. The phenomenon of phase separation in binary system is described by the CH equation. Due to the fourth-order characteristics of the CH equation, only a high order continuity approximation is used by employing C1 basis function for both space and time domain. The obtained solutions are in accordance with previous results from the literature and show the fundamental characteristics of the NS and CH equations. The results in this study give the possibility of developing a solver for the coupled NS and CH equations.

This content is only available via PDF.
You do not currently have access to this content.