CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Extract feature edges in paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2013, 05:42
Default Extract feature edges in paraview
  #1
New Member
 
Klaus
Join Date: Jul 2010
Location: Linz / Austria
Posts: 20
Rep Power: 15
strakakl is on a distinguished road
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 is offline   Reply With Quote

Old   December 16, 2013, 02:34
Default seems to be bug in OF-2.2.0
  #2
New Member
 
Klaus
Join Date: Jul 2010
Location: Linz / Austria
Posts: 20
Rep Power: 15
strakakl is on a distinguished road
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
strakakl is offline   Reply With Quote

Old   August 29, 2019, 13:57
Exclamation
  #3
Member
 
Rishikesh
Join Date: Apr 2016
Posts: 63
Rep Power: 9
mrishi is on a distinguished road
Hi,
Not sure if it is alright to ping on this old a thread, but I encounter a related issue with OF6. When generating VTK of Feature Edges in Paraview, sHM throws the error of unidentified tag METADATA. If I manually delete this tag (and a few other lines) sHM runs.



Any ideas on why this is happening and how to avoid this?


Thanks,
rishi
mrishi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[General] How to extract time series data at a specific point location using paraview script Jack001 ParaView 0 April 7, 2016 10:05
extract data from graphs in paraView (paraFoam) vitorspadetoventurin OpenFOAM Post-Processing 1 November 24, 2014 02:39
[snappyHexMesh] Explicit feature edge ref&snap in OF2.2 Eloise OpenFOAM Meshing & Mesh Conversion 0 May 9, 2014 11:39
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11


All times are GMT -4. The time now is 11:36.