In this paper we study how the modulation of Lyapounov functionnals of Hami
ltonian systems leads to nontrivial norms which can be used to investigate
the linear and nonlinear stability of boundary layers. We apply this method
to Euler equations of incompressible and compressible ideal fluids in 2D.