CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion > OpenFOAM Native Meshers: blockMesh

Block with cylinder - BC on a round spot on a surface.

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

LinkBack Thread Tools Display Modes
Old   April 12, 2011, 10:40
Default Block with cylinder - BC on a round spot on a surface.
Senior Member
Join Date: Nov 2010
Posts: 113
Rep Power: 9
lindstroem is on a distinguished road
Hi Everybody!

I want to run a simulation where i want to specify certain boundary conditions on a small spot on one surface - different to the rest of this surface. Therefore i created the attached mesh.
First of all I get a common error "Number of edges not aligned with or perpendicular to non-empty directions". It has to be some edges on the outer rim of the spot, I dont know how to fix it. I also attached the blockMeshDict. Thanks for all suggestions concerning this problem.

In general: Of course I will run some mesh refinements later on, but has anyone experience with similar meshes and maybe some advices? As said, my aim is to specify a individual BC on the round spot. Maybe someone has a complete different idea?

Thanks in advance!
Attached Images
File Type: jpg meshspot.jpg (81.2 KB, 58 views)
Attached Files
File Type: txt blockMeshDict.txt (3.9 KB, 20 views)
lindstroem is offline   Reply With Quote

Old   April 12, 2011, 11:54
Senior Member
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 253
Rep Power: 15
MartinB will become famous soon enough

you should define some additional blocks. Your block number 10 (counting starts at 0) should be divided into 4 blocks, your block number 0 into 2 blocks. Otherwise the blocks do not match to each other (see orange faces in Paraview screenshot). The non aligned edges should disappear afterwards.

As an alternative you can use mergePatchPairs to merge these blocks, but this might result in non hex elements on the merging faces.

Run checkMesh with additional options
checkMesh -allTopology -allGeometry
since this will give you more warnings and hints.

Attached Images
File Type: jpg shot01.jpg (36.1 KB, 50 views)
MartinB is offline   Reply With Quote

Old   April 13, 2011, 04:24
Senior Member
Join Date: Nov 2010
Posts: 113
Rep Power: 9
lindstroem is on a distinguished road
Hi Martin,
thank you very much for your help. I don't get the error any longer. I thought the mesh is important, if it fits, I don't have to care about the blocks. Now, I know it better.
And your right, I prefer not to merge the blocks.

Thank you!
lindstroem is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
gmsh and boundary layers kanuk Open Source Meshers: Gmsh, Netgen, CGNS, ... 11 August 14, 2015 12:35
flow over a cylinder urgent! kevin FLUENT 8 August 11, 2015 13:00
Boiling over hot cylinder surface hamdy Fluent UDF and Scheme Programming 1 June 11, 2011 01:29
ICEM block mesh with a ball in a cylinder tube Li CFX 6 August 11, 2008 05:44
solid edge problem....can you help? cindy Main CFD Forum 3 April 5, 2004 13:43

All times are GMT -4. The time now is 21:29.