mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: added areaWrite function object (#1237)
- write finiteArea meshes and fields to standard surface output formats (Ensight, VTK, etc).
This commit is contained in:
committed by
Andrew Heather
parent
9e57e2120b
commit
8bd6568d05
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -43,6 +43,9 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
functions
|
||||
{
|
||||
#include "areaWrite"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user