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

[blockMesh] Strange error depending on the coordinates of vertices(not the order)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2014, 00:35
Question Strange error depending on the coordinates of vertices(not the order)
  #1
New Member
 
Kerem Aydemir
Join Date: Jul 2014
Posts: 4
Rep Power: 10
aydemirk is on a distinguished road
Hi everyone,

I was working on my blockMeshDict file. For my thesis I have to build a mesh for a micro-ramp. First I tried to build the structure without the boundaries with easy coordinates like these :

vertices
(
(0 0 -4.98) //0
(4 0 0) //1
(4 1.7 0) //2
(0 0 4.98) //3
);

blocks
(
hex (0 1 2 2 3 3 3 3) (20 20 20) simpleGrading (1 1 1)

and everything works fine I get no error but when I change only the coordinates of the vertices and nothing else to the coordinates I need, I get this error:

'face 380 in patch 0 does not have neighbour cell face: 4(8175 8607 8608 8196)'

Only thing I am doing is changing the vertices like these(only x component basically);

vertices
(
(330.83 0 -4.98) //0
(342.01 0 0) //1
(342.01 1.7 0) //2
(330.83 0 4.98) //3

I have no idea what causes the problem. It is only x component that changes and shouldn't be a problem. What do you think is the problem?

Thank you
aydemirk is offline   Reply With Quote

Old   August 21, 2014, 02:44
Default
  #2
New Member
 
Join Date: Jul 2014
Posts: 22
Rep Power: 9
jokerito is on a distinguished road
Hello,

I think the problem is with the number of cells in each direction to your specific size of the tetraeder. If there are two lines in one direction, it could be, that they "hit" the edge (one to the left, one to the right) in such a bad case, that there is another face between them. It is a little bit hard to explain, but if you think a little bit about it, it should be clear.

So you should decrease the number of cells in each direction:
Code:
     hex (0 1 2 2 3 3 3 3) (12 4 10) simpleGrading (1 1 1)
Kind regards
jokerito is offline   Reply With Quote

Reply

Tags
coordinates, face error, points, vertices

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Scripting]: How to get the coordinates of a 2D airfoil @ different angles of attack? CfdIntro Main CFD Forum 2 December 12, 2017 10:23
How grid resolution for a wave number depends on the scheme order? marinkobezu Main CFD Forum 9 September 21, 2017 12:11
1st order vs 2nd order ken FLUENT 8 March 14, 2013 03:43
CFL condition for higher order schemes Shyam Main CFD Forum 2 February 14, 2008 14:24
1st order temporal & 2nd order spatial Prateep Chatterjee FLUENT 0 January 19, 2003 00:31


All times are GMT -4. The time now is 03:54.