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

[blockMesh] Spotting errors in blockMeshDict

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2011, 05:05
Default Spotting errors in blockMeshDict
  #1
New Member
 
Rachit Prasad
Join Date: Jun 2011
Location: Blacksburg, Virginia
Posts: 29
Rep Power: 15
Rachit is on a distinguished road
Hi everyone!

I have been trying to mesh flow over the busemann's biplane.

http://en.wikipedia.org/wiki/Busemann%27s_Biplane

The blockMeshDict file I have written is as follows:

vertices
(
(-1.0 0.192 -0.01)
(-0.5 0.192 -0.01)
(0.5 0.192 -0.01)
(1.0 0.192 -0.01)
(-1.0 0.096 -0.01)
(-0.5 0.096 -0.01)
(0.5 0.096 -0.01)
(1.0 0.096 -0.01)
(0 0.0842 -0.01)
(0 -0.0842 -0.01)
(-1.0 -0.096 -0.01)
(-0.5 -0.096 -0.01)
(0.5 -0.096 -0.01)
(1.0 -0.096 -0.01)
(-1.0 -0.192 -0.01)
(-0.5 -0.192 -0.01)
(0.5 -0.192 -0.01)
(1.0 -0.192 -0.01)
(-1.0 0.192 0.01)
(-0.5 0.192 0.01)
(0.5 0.192 0.01)
(1.0 0.192 0.01)
(-1.0 0.096 0.01)
(-0.5 0.096 0.01)
(0.5 0.096 0.01)
(1.0 0.096 0.01)
(0 0.0842 0.01)
(0 -0.0842 0.01)
(-1.0 -0.096 0.01)
(-0.5 -0.096 0.01)
(0.5 -0.096 0.01)
(1.0 -0.096 0.01)
(-1.0 -0.192 0.01)
(-0.5 -0.192 0.01)
(0.5 -0.192 0.01)
(1.0 -0.192 0.01)
);

blocks
(
hex (22 23 5 4 18 19 1 0) (200 1 152) simpleGrading (1 1 1)
hex (23 24 6 5 19 20 2 1) (200 1 152) simpleGrading (1 1 1)
hex (24 25 7 6 20 21 3 2) (200 1 152) simpleGrading (1 1 1)
hex (28 29 11 10 22 23 5 4) (200 1 152) simpleGrading (1 1 1)
hex (29 27 9 11 23 26 8 5) (200 1 152) simpleGrading (1 1 1)
hex (27 30 12 9 26 24 6 8) (200 1 152) simpleGrading (1 1 1)
hex (26 8 5 23 24 6 6 24) (200 1 152) simpleGrading (1 1 1)
hex (27 9 11 29 30 12 12 30) (200 1 152) simpleGrading (1 1 1)
hex (30 31 13 12 24 25 7 6) (200 1 152) simpleGrading (1 1 1)
hex (32 33 15 14 28 29 11 10) (200 1 152) simpleGrading (1 1 1)
hex (33 34 16 15 29 30 12 11) (200 1 152) simpleGrading (1 1 1)
hex (34 35 17 16 30 31 13 12) (200 1 152) simpleGrading (1 1 1)
);

edges
(
);

patches
(

);

mergePatchPairs
(
);

However, I get an error of zero or negative pyramid volume at several faces. I do understand that probably there has been mistake on my part in defining the geometry. However, it is a tedious job going through such blockMesh files this long or even longer again and again.

Are there any other ways or techniques to spot such errors such as badly defined block or face, etc?

Thanks in advance,

Rachit
Rachit is offline   Reply With Quote

Old   July 19, 2011, 18:01
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Hi Rachit,

If you are using OpenFOAM 2.0 with the official reader for ParaView, not just the internal one, then try the following command when inside your case folder:
Code:
paraFoam -block
This blew my mind just now... I thought this only showed the points, but when I saw the results for the tutorial "stressAnalysis/solidDisplacementFoam/plateHole"... See the image attached!! Notice that I picked the option "Wireframe" on that drop-down box on the top center-left of the window.

Best regards,
Bruno
Attached Images
File Type: jpg Screenshot-ParaView 3.10.1 64-bit.jpg (41.5 KB, 99 views)
romant likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 22, 2011, 18:01
Default
  #3
Member
 
wided
Join Date: Jul 2010
Posts: 54
Rep Power: 16
wiedangel is on a distinguished road
thank you for this option ... it is really f a big help for me. makes it easy to detect the errors
wiedangel 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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 06:28
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 17:06.