Lagrange and Serendipity Shape Functions
In most of the physics interfaces in the Acoustics Module and specifically in the Thermoviscous Acoustic interfaces, you can choose between two families of shape functions in the Discretization section: Lagrange and serendipity. The current default is to use Lagrange shape functions.
When using a structured mesh it may be advantageous to switch to the serendipity elements as they generate significantly fewer degrees of freedom (DOFs). The accuracy is in most cases almost as good as for the Lagrange elements. The Lagrange elements are, however, less sensitive to strong mesh distortions.
The serendipity shape functions differs from the Lagrange shape functions only for the following element shapes:
In the COMSOL Multiphysics Reference Manual:
When coupling two physics interfaces that have the same DOFs like, for example, displacement, the same type of shape functions should be used in both interfaces to ensure conformity. Since there is no difference between the two families of shape functions in 1D, this is not an issue when connecting edges.