ENH: added areaWrite function object (#1237)

- write finiteArea meshes and fields to standard surface output
  formats (Ensight, VTK, etc).
This commit is contained in:
Mark Olesen
2019-03-13 19:44:51 +01:00
committed by Andrew Heather
parent 9e57e2120b
commit 8bd6568d05
8 changed files with 791 additions and 2 deletions

View File

@ -0,0 +1,29 @@
// -*- C++ -*-
// Use the areaWrite function object
areaWrite
{
type areaWrite;
libs ("libutilityFunctionObjects.so");
log true;
writeControl writeTime;
writeInterval 1;
// Fields to output (words or regex)
fields (".*");
surfaceFormat ensight;
// surfaceFormat vtk;
formatOptions
{
vtk
{
format ascii;
}
}
}
// ************************************************************************* //

View File

@ -43,6 +43,9 @@ timePrecision 6;
runTimeModifiable yes;
functions
{
#include "areaWrite"
}
// ************************************************************************* //