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

[blockMesh] BlockMesh error.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2014, 21:18
Default BlockMesh error.
  #1
New Member
 
Haijun Hu
Join Date: Sep 2014
Posts: 8
Rep Power: 11
huhaijun is on a distinguished road
I want to creat two connected cylinders by wedge. The wall definition is always wrong. the code is as below. Who could help me ? wall (8 2 10 4) error.
it is the concentric circle face.


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
(0 0 0)
(0.3 0 0)
(0 -3.490481e-4 1.999695e-2)
(0.3 -3.490481e-4 1.999695e-2)
(0.3 3.490481e-4 1.999695e-2)
(0 3.490481e-4 1.999695e-2)

(-0.01 0 0)

(-0.01 -1.745241e-4 9.998477e-3)

(0 -1.745241e-4 9.998477e-3)

(-0.01 1.745241e-4 9.998477e-3)
(0 1.745241e-4 9.998477e-3)





);

blocks
(
hex (0 1 1 0 2 3 4 5) (200 1 100) simpleGrading (50 1 0.05)

hex (6 0 0 6 7 8 10 9) (50 1 25) simpleGrading (1 1 1)

);

edges
(
arc 2 5 (0 0 0)
arc 3 4 (0.3 0 0)

arc 8 10 (0 0 0)
arc 7 9 (-0.01 0 0)
);

patches
(
patch
inlet
(
//(0 2 5 0)
(6 7 9 6)
)

patch
outlet
(
(1 3 4 1)
)

wedge
axi_symm-f
(
(0 1 3 2)
(6 0 8 7)
)

wedge
axi_symm-r
(
(0 1 4 5)
(6 0 10 9)
)

wall
wall
(
//(2 3 4 5)
(8 2 10 4)
//(7 8 10 9)
//default
)
);

mergePatchPairs
(
);
huhaijun is offline   Reply With Quote

Old   September 24, 2014, 07:22
Default
  #2
Senior Member
 
ArathoN
Join Date: Jul 2011
Posts: 137
Rep Power: 15
ArathoN is on a distinguished road
for better understanding you have to post the complete error, oaste the terminal output here so we can know what it is in particular. By teh way probably you forgot a wall or there are two blocks connected with inconsistent faces (different size or meshes).
ArathoN is offline   Reply With Quote

Old   September 24, 2014, 09:27
Default
  #3
New Member
 
Haijun Hu
Join Date: Sep 2014
Posts: 8
Rep Power: 11
huhaijun is on a distinguished road
Thank ArathoN.
The message is :
Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty


--> FOAM FATAL ERROR:
face 1 in patch 4 does not have neighbour cell face: 4(8 2 10 4)

From function polyMesh::facePatchFaceCells(const faceList& patchFaces,const labelListList& pointCells,const faceListList& cellsFaceShapes,const label patchID)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 127.

FOAM aborting

Segmentation fault: 11

====================
huhaijun is offline   Reply With Quote

Old   September 25, 2014, 14:04
Default
  #4
Senior Member
 
ArathoN
Join Date: Jul 2011
Posts: 137
Rep Power: 15
ArathoN is on a distinguished road
sorry i can answer you only on the weekend, by the way control if you set up all the faces and that are properly connected and if you can post an image with teh geometry you considered this would ease me into discovering teh root of the error.
ArathoN is offline   Reply With Quote

Reply

Tags
concentric circles mesh

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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


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