Stabilization
When solving the linearized Euler (LE) and linearized Navier-Stokes (LNS) equations using the finite element method (the standard Galerkin formulation). It can be shown that the method looses its good approximation characteristics when convective terms are present and when these terms locally dominate (Ref. 19). This can lead to spurious numerical oscillations. To remedy these oscillations stabilization is used.
It can be shown that if the cell Péclet number has a value larger than one Pec > 1 the solution will oscillate. In the linearized Navier-Stokes interface the variables lnsf.CellPe_th and lnsf.CellPe_v can be plotted to assess the characteristic number when comparing convection to viscous and thermal diffusion, respectively.
In this section:
Linearized Navier-Stokes Stabilization
In the linearized Navier-Stokes interfaces the two stabilization methods are implemented. The Galerkin least squares (GLS) and the streamline upwind Petrov-Galerkin (SUPG) stabilization. It is in genera recommended to use the GLS method. The SUPG method is implemented for completeness and can be used by experienced users. There is also the option to not use stabilization or to use the legacy method from version 5.2a and older.
The implementation of the stabilization methods follows the one discussed in Ref. 19 and Ref. 21. A general overview about stabilization methods can be found in Ref. 22. The GLS method combines stability and accuracy and the method order of accuracy is O(h2p+1) where p is the shape function order and h is the local mesh size. The SUPG method has an accuracy order of O(hp+1/2) for convection dominated problems and O(hp+1) for diffusion dominated problems.
The default discretization for the LNS interface is to use linear elements for all the dependent variables (P1-P1-P1). This effectively removes the stabilization on the diffusive parts of the equation. The GLS method is still superior to the SUPG method as it also stabilizes the reactive terms. These are the terms where gradients of the background fields enter. If no stabilization is used then set a (P1-P2-P2) discretization for the dependent variables as it ensures a stable numerical scheme.
The equation residuals can be visualized in the LE and the LNS interfaces by plotting, for example, lnsf.res_e (equation residual for the energy equation), lnsf.res_mx (equation residual for the momentum equation x-component), lnsf.res_my, lnsf.res_mz, and lnsf.res_e (equation residual for the energy equation).
Linearized Euler Stabilization
In the linearized Euler interface the stabilization scheme implements the streamline upwind Petrov-Galerkin (SUPG) formulation of the weak form equations used for the finite element method. The stabilization constant αstab can be tuned depending on the problem solved, the nature of the background mean flow, and on the computational mesh. The implementation follows the one discussed in Ref. 10 and Ref. 14.
See for example the model Point Source in 2D Jet: Radiation and refraction of sound waves through a 2D shear layer found in the Model Gallery:
www.comsol.com/model/point-source-in-2d-jet-radiation-and-refraction-of-sound-waves-through-a-2d-shea-16685