CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Problem of crossed cells while visualizing 3D mesh in 2D using ParaFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Flowkersma

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2019, 02:56
Default Problem of crossed cells while visualizing 3D mesh in 2D using ParaFoam
  #1
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16
chandra shekhar pant is on a distinguished road
Hello All,


I am trying to visualize the 3 D mesh around an object (for ex aerofoil). I took the object (aerofoil), slice it, then put the internalfield on, and then hide the block. But instead of getting clear cells the cells appeared to be crossed. By looking at the post I even tried the filter "ExtractCellsByRegion", but this also haven't helped. The mesh of crossed grid is attached herewith.



Thanks a lot!
Attached Images
File Type: png aerofoil_mesh_modifiedv1.png (64.4 KB, 12 views)
chandra shekhar pant is offline   Reply With Quote

Old   September 22, 2019, 08:11
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
(Very likely) Nothing problematic related to the mesh itself. This is just visualisation itself provided by Paraview.

checkMesh utility is your friend to tangibly quantify your mesh quality.
HPE is offline   Reply With Quote

Old   September 22, 2019, 08:34
Default
  #3
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16
chandra shekhar pant is on a distinguished road
May thanks HPE for the prompt reply. But I was just exploring the better way of visualizing the mesh, so that it looks good. Thanks again for the help !
chandra shekhar pant is offline   Reply With Quote

Old   October 9, 2019, 10:55
Default
  #4
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
Paraview will visualize using tets by default. The easiest way to visualize the cells (assuming that you are using predominately hexes) is to : load paraview with the "useVTKpolyhedron" box checked. Then you can take a slice through your domain (make sure it's through cells, not on cell faces), and uncheck the "triangulate slice" option for the slice. Then look at the slice as a surface with edges or a wireframe.

Caelan
clapointe is offline   Reply With Quote

Old   October 10, 2019, 02:15
Default
  #5
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16
chandra shekhar pant is on a distinguished road
Many thanks Caelan for your help. I am using paraview 5.01, and could not find the "useVTKpolyhedron" although tried to see some of the tutorials also but could not find it. I am very new to the parafoam so sorry for asking this naive query. It will be a great help if you could share the screenshot of the "useVTKpolyhedron".


Thanks again!
chandra shekhar pant is offline   Reply With Quote

Old   October 10, 2019, 11:31
Default
  #6
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
Check out this faq : http://openfoamwiki.net/index.php/FAQ/Postprocessing.

Caelan
clapointe is offline   Reply With Quote

Old   October 10, 2019, 13:32
Default
  #7
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
Hi,

ParaView automatically triangulates the slice. Deselect "Triangulate the slice" and select "Crincle slice" in the properties panel to visualize the mesh.

Best, Mikko
Flowkersma is offline   Reply With Quote

Old   October 11, 2019, 09:06
Default
  #8
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16
chandra shekhar pant is on a distinguished road
Hello Mikko,


Wow! it worked...Thanks a lot



Thanks a lot!
chandra shekhar pant 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 does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 04:17
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 18:40.