CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   Extract feature edges in paraview (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/127591-extract-feature-edges-paraview.html)

strakakl December 15, 2013 06:42

Extract feature edges in paraview
 
HI all,

on the snappyWiki (https://sites.google.com/site/snappywiki/snappyhexmesh/snappyhexmeshdict#TOC-Explicit-feature-edge-refinement) i found that it is possible to extract feature edges in paraview.

Quote:

"Users can generate feature edge meshes in Paraview by using the Feature Edges filter. Data can be saved in VTK (ASCII) format and then be used by snappyHexMesh."
I tried this with my geometry and saved the edges to a file "edges.vtk", this is a quite straight forward procedure. But how do i use this vtk file in snappyHexMesh? I tried

Code:

features
    (
               
        {
            file "edges.vtk";
            level 3;
        }
     
    );

but this gives me an error

Code:

--> FOAM FATAL IO ERROR:
problem while reading header for object edges.vtk

file: /home/ak113859/OpenFOAM/ak113859-2.2.0/run/snappy/splitableBarrel/meteringzone/constant/triSurface/edges.vtk at line 1.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 95.

FOAM exiting

Does anyone has an idea how to use the vtk file?

Cheers,

Klaus

strakakl December 16, 2013 03:34

seems to be bug in OF-2.2.0
 
Hi there,

to answer my own post, seems to be a bug in 2.2.0, http://www.openfoam.org/mantisbt/view.php?id=796

best,
Klaus


All times are GMT -4. The time now is 08:01.