CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Extract feature edges in paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 15, 2013, 06:42
Default Extract feature edges in paraview
  #1
New Member
 
Klaus
Join Date: Jul 2010
Location: Linz / Austria
Posts: 20
Rep Power: 7
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, 03: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: 7
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

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 6 August 26, 2015 09:38
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
SurfaceFeatureExtract Foam::error::printStack donQi OpenFOAM Meshing & Mesh Conversion 1 August 15, 2013 00:43
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43


All times are GMT -4. The time now is 05:19.