Continuity equation in fluid mechanics problem