  From the principle of least action the equation of motion for viscous
compressible and charged fluid is derived. The viscosity effect is described by
the 4-potential of the energy dissipation field, dissipation tensor and
dissipation stress-energy tensor. In the weak field limit it is shown that the
obtained equation is equivalent to the Navier-Stokes equation. The equation for
the power of the kinetic energy loss is provided, the equation of motion is
integrated, and the dependence of the velocity magnitude is determined. A
complete set of equations is presented, which suffices to solve the problem of
motion of viscous compressible and charged fluid in the gravitational and
electromagnetic fields.
