From 9f697a5b6528070f59063049809a029a3626d927 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Wed, 19 Aug 2015 11:37:27 +0100 Subject: [PATCH] utilities/postProcessing/noise: Corrected documentation Patches provided by Bruno Santos Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1832 --- .../utilities/postProcessing/noise/noise.C | 15 +++++++++------ .../primitives/functions/DataEntry/CSV/CSV.H | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/applications/utilities/postProcessing/noise/noise.C b/applications/utilities/postProcessing/noise/noise.C index 79a5521510f..6b6628f0802 100644 --- a/applications/utilities/postProcessing/noise/noise.C +++ b/applications/utilities/postProcessing/noise/noise.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -42,13 +42,16 @@ Description fU 10000; graphFormat raw; - csvFileData + pressureData { fileName "pressureData" - nHeaderLine 1; - refColumn 0; - componentColumns (1); - separator " "; + nHeaderLine 1; // number of header lines + refColumn 0; // reference column index + componentColumns (1); // component column indices + separator " "; // optional (defaults to ",") + mergeSeparators no; // merge multiple separators + outOfBounds clamp; // optional out-of-bounds handling + interpolationScheme linear; // optional interpolation scheme } \endverbatim diff --git a/src/OpenFOAM/primitives/functions/DataEntry/CSV/CSV.H b/src/OpenFOAM/primitives/functions/DataEntry/CSV/CSV.H index 5969339d67f..1d0b0620e90 100644 --- a/src/OpenFOAM/primitives/functions/DataEntry/CSV/CSV.H +++ b/src/OpenFOAM/primitives/functions/DataEntry/CSV/CSV.H @@ -32,7 +32,7 @@ Description <entryName> csvFile; <entryName>Coeffs { - nHeaderLine 4; + nHeaderLine 4; // number of header lines refColumn 0; // reference column index componentColumns (1 2 3); // component column indices separator ","; // optional (defaults to ",") -- GitLab