Calculates and writes the scalar fields of the six components of the stress tensor sigma for each time.