From 447ee9e02746d7e1a7399ecabbc1cd33c092cd80 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Mon, 21 May 2018 09:45:55 +0100
Subject: [PATCH] ENH: processorField: added etc/caseDicts file. Fixes #807.

---
 .../postProcessing/fields/processorField      | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 etc/caseDicts/postProcessing/fields/processorField

diff --git a/etc/caseDicts/postProcessing/fields/processorField b/etc/caseDicts/postProcessing/fields/processorField
new file mode 100644
index 00000000000..575d287baf9
--- /dev/null
+++ b/etc/caseDicts/postProcessing/fields/processorField
@@ -0,0 +1,19 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+  =========                 |
+  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
+   \\    /   O peration     |
+    \\  /    A nd           | Web:      www.OpenFOAM.com
+     \\/     M anipulation  |
+-------------------------------------------------------------------------------
+Description
+    Writes a volScalarField with processor number. Useful for postprocessing.
+
+\*---------------------------------------------------------------------------*/
+
+type            processorField;
+libs            ("libfieldFunctionObjects.so");
+
+executeControl  writeTime;
+writeControl    writeTime;
+
+// ************************************************************************* //
-- 
GitLab