It is found that the effect of energy addition due to photochemical processes in the cometary coma on the heating and accelerating of the expanding neutral gas is limited by the kinematic property of the energy transfer from the energetic fragments to the bulk flow. The effective scale length of the photochemical zone for an H2O comet is estimated to be only 10% of the dimension of the collision region due to the large mass ratio of H atom and H2O molecule. When this physical property is taken into consideration, the H2O gas is found to be expanding at a highly supersonic speed. In addition, it is shown that the addition of a mixture of CO and/or CO2 molecules in a medium-bright comet with total production rate of 10 to the 29th molecules/s would not change this conclusion since the photodissiation length scales of these molecules are a factor of 10-30 larger than that of the H2O molecules. Thus, most of the CO and CO2 molecules will be dissociated outside of the collision zone without depositing the excess kinetic energy to the neutral atmosphere. However, if the gas production rate is controlled by CO or CO2, the dimension of the collision zone of a CO comet at 1 AU will be increased by a factor of seven. The photochemical heating due to CO dissociation would thus be more effective, causing the atmospheric flow to be weakly supersonic. It is concluded that the neutral gas outflows from H2O comets and CO comets could be substantially different.