On some imbedding methods applied to fluid dynamics and elecjro-magnetics