diff --git a/src/sampling/probes/probes.C b/src/sampling/probes/probes.C index 2fcd9688e6..b47f52e1f0 100644 --- a/src/sampling/probes/probes.C +++ b/src/sampling/probes/probes.C @@ -231,14 +231,22 @@ bool Foam::probes::checkFieldTypes() probeFilePtrs_.insert(fldName, sPtr); - *sPtr<< '#' << setw(IOstream::defaultPrecision() + 6) - << "Time"; + unsigned int w = IOstream::defaultPrecision() + 7; - forAll(probeLocations_, probeI) + for (direction cmpt=0; cmpt