Hi Bastien,
> Most of the GLL points have a zero pressure value in each elements.
This is by design.
For PnPn-2, pressure lives on the xm2 grid, which uses lx2=lx1-2 Gauss-Legendre points in each direction.
It's a different mesh than xm1 grid (Gauss-Lobatto-Legendre, lx1 points in 1 direction).
To save the pressure into file, there are two ways in Nek:
1. if_full_pres=F interpolates pressure back to xm1 grid. This way, user can view it in paraview / visit because it now matches the grids in checkpoint file.
2. if_full_pres=T: In each element, we use the first lx2^ldim points out of the allocated lx1^ldim points to directly store the pressure and leave the unused points zero.
My guess is, if_full_pres=T is to avoid potential interpolation error. Especially at low order.
If you use if_full_pres=T, you do not suppose to visualize the pressure in paraview.
> When the simulation restart, the pressure is then 0 across the domain with the PnPn-2 formulation.
Now, this sounds suspicious. Are you saying the pr is all 0 after reading a restart with if_full_pres=T?
Thanks,
Yu-Hsiang
--