fixed zero viscosity energy/log file output with cos_acceleration