The cs_user_extra_operations function is called at the end every time step. It can be used to output of modify any variable at the end of every time step.
Several examples are provided.
As all the variables (solved variables, physical properties, geometric parameters) can be modified in this function, a wrong use may totally distort the calculation. If you cannot explain the theory behind a variable value modification in this function, do not do it.