|
[Sponsors] |
Forcing Surface Export with VTK to be triangulated |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 13, 2019, 11:41 |
Forcing Surface Export with VTK to be triangulated
|
#1 |
New Member
Adrian Rohner
Join Date: Mar 2017
Posts: 3
Rep Power: 9 |
Hi All,
I have updated my openfoam version from of6 to of7 and encountered some issues with vtk surface files. In of6 I had triangulated files, which were very easy to handle in a python-vtk postprocessor. Now with of7 I get tri-, quad- and higher-polygons (see attachement: vtk_of6_of7.png). Is there a way to force openfoam to generate triangles? I found a keyword "triangulate" (see code snippet) within the surface file and set this to "true" but had no effect. Any idea how to get vtk's, which are always triangulated? Code:
type surfaces; libs ("libsampling.so"); writeControl adjustableRunTime; writeInterval surfWriteIntervalVar; /* null dx vtk raw stl */ surfaceFormat vtk; interpolationScheme cellPoint; x (1 0 0); y (0 1 0); z (0 0 1); origin (0 0 0); cuttingPlane { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint $origin; normalVector $x; } interpolate true; triangulate true; } |
|
Tags |
of6, of7, surfaces, triangulated, vtk |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 11:12 |
volFlowRateSurface function - triangulated surface | igor.leo93 | OpenFOAM Post-Processing | 12 | March 15, 2019 08:43 |
Unable to install OpenFOAM 1.6-ext | Maimouna | OpenFOAM Installation | 23 | May 8, 2014 05:47 |
[ICEM] Forcing surface and curve to match | sherifkadry | ANSYS Meshing & Geometry | 0 | August 27, 2010 00:28 |
Unique vertices of triangulated surface! | Anders Jönson | Main CFD Forum | 5 | July 16, 2000 11:04 |