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

[blockMesh] errors in topology while running 'blockMesh'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2018, 12:50
Default errors in topology while running 'blockMesh'
  #1
Member
 
shima
Join Date: Feb 2018
Posts: 58
Rep Power: 8
shimakasaei is on a distinguished road
Hello everyone,
I am trying to make a floating break water with triangle sides. I tried to make the geometry with blockMesh because I did not have boxes to make with topoSetDict.
However while I am running the blockMesh, I receive an error:

Creating curved edges
Creating topology blocks
--> FOAM Warning :
From function bool Foam::blockMesh::blockLabelsOK(...)
in file blockMesh/blockMeshCheck.C at line 179
out-of-range point label 108 (max = 103) in block 2
Creating topology patches

Reading patches section


--> FOAM FATAL ERROR:
Cannot create mesh due to errors in topology, exiting !


From function blockMesh::createTopology(IOdictionary&)
in file blockMesh/blockMeshTopology.C at line 468.

FOAM exiting
blockMeshDict.zip
I did check the points and blocks, but the error still exist!!!!
please find my enclosed blockMeshDict and help me through solving the error..
Thanks.
shimakasaei is offline   Reply With Quote

Old   February 14, 2018, 21:22
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

The problem comes because you have commented out some of the vertices, yet continued to keep their index:

Code:
(7 -0.16 0.3)//62
(7.2 -0.16 0.3)//63
(7.2 -0.2 0.3)//64
(7.206 -0.2 0.3)//65
(7.206 -0.16 0.3)//66
(7.394 -0.16 0.3)//67
(7.394 -0.2 0.3)//68
(7.4 -0.2 0.3)//69
(7.4 -0.16 0.3)//70
(7.6 -0.16 0.3)//71
(7.4 0 0.3)//72
(7.4 0.04 0.3)//73
(7.2 0.04 0.3)//74
(7.2 0 0.3)//75

/*
  (7 0 0)//76
  (6 0 0)//77
  (-5 0 0)//78
*/

(-5 -0.16 0)//79
(6 -0.16 0)//80

/*
  (7.6 0 0)//81
  (15 0 0)//82
  (25 0 0)//83
*/

Essentially what you have marked as "//79" will actually be counted as "//76" because there is a commented out section in between.

The simplest way to solve this is to remove the comments and have all your 120 vertices (0-120) present in the vertices definition, but use only a few of them to create your blocks.

Alternatively, if you want to keep the commenting, then you would have to redo the index of the vertices, especially the ones after a comment block.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   February 15, 2018, 05:56
Default
  #3
Member
 
shima
Join Date: Feb 2018
Posts: 58
Rep Power: 8
shimakasaei is on a distinguished road
Quote:
Originally Posted by Antimony View Post
Hi,

The problem comes because you have commented out some of the vertices, yet continued to keep their index:

Code:
(7 -0.16 0.3)//62
(7.2 -0.16 0.3)//63
(7.2 -0.2 0.3)//64
(7.206 -0.2 0.3)//65
(7.206 -0.16 0.3)//66
(7.394 -0.16 0.3)//67
(7.394 -0.2 0.3)//68
(7.4 -0.2 0.3)//69
(7.4 -0.16 0.3)//70
(7.6 -0.16 0.3)//71
(7.4 0 0.3)//72
(7.4 0.04 0.3)//73
(7.2 0.04 0.3)//74
(7.2 0 0.3)//75

/*
  (7 0 0)//76
  (6 0 0)//77
  (-5 0 0)//78
*/

(-5 -0.16 0)//79
(6 -0.16 0)//80

/*
  (7.6 0 0)//81
  (15 0 0)//82
  (25 0 0)//83
*/

Essentially what you have marked as "//79" will actually be counted as "//76" because there is a commented out section in between.

The simplest way to solve this is to remove the comments and have all your 120 vertices (0-120) present in the vertices definition, but use only a few of them to create your blocks.

Alternatively, if you want to keep the commenting, then you would have to redo the index of the vertices, especially the ones after a comment block.

Cheers,
Antimony
Hi Antimony,

Thank you so much for your hint. My problem solved based on the way that you suggested and right now I can see my shape in paraview.

Best regards,
Shima.
shimakasaei 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
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 02:05
InterFoam negative alpha karasa03 OpenFOAM 7 December 12, 2013 03:41
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 18:56.