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

[blockMesh] Block with cylinder - BC on a round spot on a surface.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2011, 10:40
Default Block with cylinder - BC on a round spot on a surface.
  #1
Senior Member
 
Join Date: Nov 2010
Posts: 113
Rep Power: 15
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, 61 views)
Attached Files
File Type: txt blockMeshDict.txt (3.9 KB, 22 views)
lindstroem is offline   Reply With Quote

Old   April 12, 2011, 11:54
Default
  #2
Senior Member
 
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 21
MartinB will become famous soon enough
Hi,

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
Code:
checkMesh -allTopology -allGeometry
since this will give you more warnings and hints.

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

Old   April 13, 2011, 04:24
Default
  #3
Senior Member
 
Join Date: Nov 2010
Posts: 113
Rep Power: 15
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

Reply

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
[waves2Foam] What should lref and Aref be for surface piercing cylinder in waves?? arieljeds OpenFOAM Community Contributions 10 February 21, 2017 16:21
Circular cylinder surface shear stress Hqjen STAR-CCM+ 0 April 21, 2016 11:13
[ICEM] Tagging Faces of block or converting faces of block into surface AshwaniAssam ANSYS Meshing & Geometry 1 October 19, 2013 14:49
refine mesh inside a block, water surface not smooth anymore JohnAB STAR-CCM+ 2 October 4, 2013 13:53
enGrid right tool for surface mesh -> cylinder? mankoff enGrid 1 February 24, 2013 15:54


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