|
[Sponsors] |
September 29, 2012, 09:12 |
A simple problem about blockMesh
|
#1 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
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, 04:10 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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 (current status: http://albertopassalacqua.com/?p=1541) 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, 21:34 |
|
#3 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with FsiFOAM simulation of beams (2-4 beams) in a steady simple shear flow | Aliiiii | OpenFOAM Running, Solving & CFD | 1 | February 27, 2019 13:26 |
Simple melting problem | wawa | FLUENT | 0 | January 28, 2011 13:19 |
Floating point error in BlockMesh for really simple mesh | CoenW | OpenFOAM Bugs | 3 | July 22, 2009 07:33 |
Simple Meshing Problem with Gambit | Mario | FLUENT | 4 | April 18, 2003 10:52 |
? Simple CFD problem | Davy | Main CFD Forum | 0 | August 21, 1998 07:19 |