# A simple problem about blockMesh

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Display Modes
 September 29, 2012, 08:12 A simple problem about blockMesh #1 Senior Member   Dongyue Li Join Date: Jun 2012 Location: Torino, Italy Posts: 743 Rep Power: 9 hi guys: This is my blockmeshdict. its very sparse. but when Im revising the code in red below. There is an error. anyone can help me ? thx very much. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.1; vertices ( (0 0 0) (0.4 0 0) (0.5 0 0) (1 0 0) (0 1 0) (0.4 1 0) (0.5 1 0) (1 1 0) (0.4 2 0) (0.5 2 0) (0 0 0.1) (0.4 0 0.1) (0.5 0 0.1) (1 0 0.1) (0 1 0.1) (0.4 1 0.1) (0.5 1 0.1) (1 1 0.1) (0.4 2 0.1) (0.5 2 0.1) ); blocks ( hex (0 1 5 4 10 11 15 14) (10 20 1) simpleGrading (1 1 1)// why I can not revise this code in red? hex (1 2 6 5 11 12 16 15) (5 20 1) simpleGrading (1 1 1) hex (2 3 7 6 12 13 17 16) (10 20 1)simpleGrading (1 1 1) hex (5 6 9 8 15 16 19 18) (5 20 1)simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (8 18 19 9) ); } leftWall { type wall; faces ( (0 4 14 10) ); } rightWall { type wall; faces ( (3 13 17 7) ); } lowerWall { type wall; faces ( (0 10 11 1) (1 11 12 2) (2 12 13 3) ); } upWall { type wall; faces ( (4 14 15 5) (6 16 17 7) ); } upleftWall { type wall; faces ( (5 15 18 8) ); } uprightWall { type wall; faces ( (6 16 19 9) ); } ); mergePatchPairs ( ); //

 September 30, 2012, 03:10 #2 Senior Member   Alberto Passalacqua Join Date: Mar 2009 Location: Ames, Iowa, United States Posts: 1,910 Rep Power: 27 The part in red is the number of nodes in each direction for the corresponding block. Since blocks are connected, the numbers have to be consistent. Most likely you are trying to specify an inconsistent discretization (different number of nodes on the same edge shared by two blocks, o opposite edges, for example). Best, __________________ Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats. OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using.

September 30, 2012, 20:34
#3
Senior Member

Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 743
Rep Power: 9
Quote:
 Originally Posted by alberto The part in red is the number of nodes in each direction for the corresponding block. Since blocks are connected, the numbers have to be consistent. Most likely you are trying to specify an inconsistent discretization (different number of nodes on the same edge shared by two blocks, o opposite edges, for example). Best,
woo!!!!!!!!!!!!!!!!!!it works!!! thx very much!!

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post suitup OpenFOAM Meshing Format & General Technical 2 July 26, 2012 19:45 wawa FLUENT 0 January 28, 2011 13:19 CoenW OpenFOAM Bugs 3 July 22, 2009 06:33 Mario FLUENT 4 April 18, 2003 09:52 Davy Main CFD Forum 0 August 21, 1998 06:19

All times are GMT -4. The time now is 08:57.

 Contact Us - CFD Online - Top