ENH: simple dataCloud function object (issue #1044)

- writes positions and a single field (eg, diameter) in plain ASCII files,
  suitable for importing in a spreadsheet or manipulation with
  scripting tools.

- code integrated from
  https://develop.openfoam.com/Community/OpenFOAM-addOns
This commit is contained in:
Mark Olesen
2018-10-17 17:37:23 +02:00
parent 8fabc32539
commit 14a39405c2
6 changed files with 552 additions and 0 deletions

View File

@ -54,6 +54,7 @@ maxDeltaT 1;
functions
{
#include "vtkCloud"
// #include "dataCloud"
#include "runTimePostProcessing"
}

View File

@ -0,0 +1,13 @@
// -*- C++ -*-
// Minimal example of using the dataCloud function object.
dataCloud
{
type dataCloud;
libs ("liblagrangianFunctionObjects.so");
log true;
cloud coalCloud1;
field d;
}
// ************************************************************************* //