Commit 3e147ba2 authored by Mark Olesen's avatar Mark Olesen

TUT: add finiteArea write to ensight

parent fdf0f40d
// -*- 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 (h Us);
surfaceFormat ensight;
// surfaceFormat vtk;
formatOptions
{
vtk
{
format ascii;
}
}
}
// ************************************************************************* //
// ParaView/catalyst function object for OpenFOAM (-*- C++ -*-)
functions
catalyst
{
catalyst
{
#includeEtc "caseDicts/insitu/catalyst/catalyst.cfg"
#includeEtc "caseDicts/insitu/catalyst/catalyst.cfg"
scripts
(
// "<etc>/caseDicts/insitu/catalyst/printChannels.py"
// "<etc>/caseDicts/insitu/catalyst/writeAll.py"
"<system>/scripts/writeHeight.py"
);
scripts
(
// "<etc>/caseDicts/insitu/catalyst/printChannels.py"
// "<etc>/caseDicts/insitu/catalyst/writeAll.py"
"<system>/scripts/writeHeight.py"
);
inputs
inputs
{
area
{
area
{
type area;
fields (h Us);
}
type area;
fields (h Us);
}
}
}
......
......@@ -50,6 +50,10 @@ initDeltaT no;
maxCo 1.0;
#include "catalyst"
functions
{
#include "areaWrite"
#include "catalyst"
}
// ************************************************************************* //
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment