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

[blockMesh] Any simple way to view blockMeshDict vertex numbers/indices?

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 2 Post By wyldckat
  • 2 Post By romant
  • 2 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2014, 16:37
Default Any simple way to view blockMeshDict vertex numbers/indices?
  #1
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13
massive_turbulence is on a distinguished road
I know that Paraview is used for viewing a mesh once blockMesh creates one from the blockMeshDict file but seeing a grid and understand the relationship between the indices used to connect the vertices are two different things. Is there some easy way to visualize the indices without making crude drawings by hand in GIMP or some other image editor.

thanks
massive_turbulence is offline   Reply With Quote

Old   April 16, 2014, 16:48
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:


edit: There is at least one of two more possibilities, but I can't remember their names...
Metti and Gerhard like this.

Last edited by wyldckat; April 16, 2014 at 16:49. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   April 16, 2014, 17:24
Default
  #3
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13
massive_turbulence is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer:


edit: There is at least one of two more possibilities, but I can't remember their names...
Thanks, I'll check it out, any other ideas/software are also welcome.
massive_turbulence is offline   Reply With Quote

Old   April 17, 2014, 05:39
Default hexBlocker
  #4
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
Hej,

I know that Nicolas also develops a GUI for blockMesh, called hexBlocker http://www.cfd-online.com/Forums/ope...a-release.html This is also an active git repository https://github.com/nicolasedh
wyldckat and Metti like this.
__________________
~roman
romant is offline   Reply With Quote

Old   April 19, 2014, 11:43
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Roman: Many thanks for reminding me of HexBlocker!

I've taken the time to revamp the wiki page for blockMesh: http://openfoamwiki.net/index.php/BlockMesh - if you remember any more helpful features and hints about blockMesh, feel free to add it to that wiki page!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 8, 2014, 10:11
Default
  #6
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
PyFoamDisplayBlockMesh can display everything defined in blockMeshDict even when meshing fails due to some errors.

http://openfoamwiki.net/index.php/Co...ayBlockMesh.py
Attached Images
File Type: jpg screenshot_pyFoamDisplayBlockMesh.jpg (28.4 KB, 286 views)
romant and massive_turbulence like this.
GerhardHolzinger is offline   Reply With Quote

Old   July 5, 2018, 08:18
Default
  #7
New Member
 
Vania
Join Date: Dec 2016
Posts: 13
Rep Power: 9
VLima is on a distinguished road
Dear all,

I am trying to visualize the vertex numbers/indices of a case.

Doing paraFoam -block in the case folder I get :

bash-4.1$ paraFoam -block
Created temporary 'wavemakerTank_teste.blockMesh'
fileName::stripInvalid() called for invalid fileName /home/user/Desktop/LinktoOpenFOAM/user-v1606+/run/tutorials/olaFlow/tutorials/wavemakerTank_teste/wavemakerTank_teste.blockMesh
For debug level (= 2) > 1 this is considered fatal


So there is some problem with paraFoam, I suppose.

Following Phicau's suggestion, I moved the folder to /home/user/ and the instruction is now working.
VLima is offline   Reply With Quote

Reply

Tags
blockmeshdict, index, paraview


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 Boundary Layer at Corner panpanzhong OpenFOAM Meshing & Mesh Conversion 5 July 3, 2018 06:53
SIMPLE algorithm in 3D cylindrical coordinates zouchu Main CFD Forum 1 January 20, 2014 18:02
Inconsistent Grading Caused by Simple Translation wildfire230 OpenFOAM Running, Solving & CFD 5 August 25, 2013 12:08
[CAD formats] my stl surface is seen as just a line rcastilla OpenFOAM Meshing & Mesh Conversion 2 January 6, 2010 02:30
[blockMesh] this is a simple one but I have no idea what I did wrong msha OpenFOAM Meshing & Mesh Conversion 2 September 28, 2007 04:22


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