Global evolution of general-relativistic gaseous systems with controllable boundary conditions