mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: add vtkWrite to movingCone
This commit is contained in:
@ -52,6 +52,7 @@ maxCo 0.2;
|
|||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
#include "cuttingPlane"
|
#include "cuttingPlane"
|
||||||
|
#include "vtkWrite"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -0,0 +1,17 @@
|
|||||||
|
// -*- C++ -*-
|
||||||
|
// Minimal example of using the vtkWrite function object.
|
||||||
|
vtkWrite
|
||||||
|
{
|
||||||
|
type vtkWrite;
|
||||||
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
writeControl writeTime;
|
||||||
|
|
||||||
|
boundary false;
|
||||||
|
|
||||||
|
// Fields to output (words or regex)
|
||||||
|
fields (U p "(k|epsilon|omega)");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
Reference in New Issue
Block a user