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

[blockMesh] blockMesh - numbering of vertices with multiple blocks

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By AmRo
  • 1 Post By Antimony
  • 1 Post By Antimony

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2016, 05:14
Default blockMesh - numbering of vertices with multiple blocks
  #1
New Member
 
Amelie Rohlfs
Join Date: Jan 2013
Posts: 19
Rep Power: 13
AmRo is on a distinguished road
Hello dear OpenFOAM community,


I have a general question concerning the order of vertices with multiple blocks. Is there a difference between these two possibilities:

1. numbering block one from 0-7, then go on with block two from 8-15, ...
2. numbering the bottom plane first, then go on to the top plane

Have a look at the attached picture for clearification.


Thank you for any reply!

Amelie
Attached Images
File Type: jpg vertex numbering.jpg (58.5 KB, 203 views)
ordinary and sourav90 like this.
AmRo is offline   Reply With Quote

Old   May 11, 2016, 08:34
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

How you number the vertices is immaterial. What matters is that you use the right vertices when you define a block.

BTW, I notice that you have duplicated a few vertices. Take note that if you don't want the blocks to share a common face, then this is the way to go. However, if then can be "merged" into one block, then you needn't duplicate them.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   May 11, 2016, 09:33
Default
  #3
New Member
 
Amelie Rohlfs
Join Date: Jan 2013
Posts: 19
Rep Power: 13
AmRo is on a distinguished road
Thank you very much Antimony,


So it's just a thing of taste.

In my case I want to apply a mixingPlane between two blocks, I suppose that's when I need the duplicated vertices.


Greetings, Amelie
AmRo is offline   Reply With Quote

Old   May 11, 2016, 20:52
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

You are welcome.

Hmmm. Just take note that there will be two planes at the same location. I am not sure how your problem setup will be, but if you define only one of the planes as a patch (as an example), and don't state anything for the other, it will get assigned to the defaultFaces group with type empty.

Cheers,
Antimony
salomama likes this.
Antimony is offline   Reply With Quote

Old   May 12, 2016, 02:59
Default
  #5
New Member
 
Amelie Rohlfs
Join Date: Jan 2013
Posts: 19
Rep Power: 13
AmRo is on a distinguished road
Hi Antimony,


This is how I defined the neighbouring boundaries so far:

Code:
inletout
{
        type               mixingPlane;
        shadowPatch    rotorinlet;
        zone               inletoutZone;
        coordinateSystem
        {
           type    cylindrical;
           name    mixingCS;
           origin    (0 0 0);
           axis    (0 0 1);
           direction    (1 0 0);
           inDegrees    false;
        }
        ribbonPatch
        {
           sweepAxis    Theta;
           stackAxis    R;
           discretisation    bothPatches;
         }
       faces
       (
           (1 2 6 5)
       );
}    

    
 rotorinlet
{
       type                mixingPlane;
       shadowPatch    inletout;
       zone                rotorinletZone;
       coordinateSystem
       {
            type       cylindrical;
            name      mixingCS;
            origin      (0 0 0);
            axis        (0 0 1);
            direction    (1 0 0);
            inDegrees    false;
       }
       ribbonPatch
      {
           sweepAxis    Theta;
           stackAxis    R;
           discretisation    bothPatches;
      }
      faces
      (
           (8 12 15 11)
       );
 }
I have 3 Blocks and a mixing plane between block I and II and a mixing plane between block II and III. I'm not sure if I understand your comment about the empty face.


Regards, Amelie
Attached Images
File Type: jpg 3BlocksMixingPlane.jpg (157.1 KB, 168 views)
AmRo is offline   Reply With Quote

Old   May 12, 2016, 09:05
Default
  #6
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

I have not worked with mixingPlanes before unfortunately.

Basically, what I wanted to convey was this: in the first post you had two blocks that abut each other, with a couple of vertices being duplicates. Now, for each of the blocks, there would be six surfaces, each of which you would have to assign as something.

My concern was that by defining only one of the faces that touch as a mixingPlane, you would not be defining the other. If you left it as default or didn't define it, it would be automatically written as an empty patch.

However, if after running blockMesh, you found that all the surfaces were as you defined, with no extras added in by blockMesh, then it should be fine and you can safely ignore this message.

Cheers,
Antimony
salomama likes this.
Antimony is offline   Reply With Quote

Old   May 16, 2016, 05:05
Default
  #7
New Member
 
Amelie Rohlfs
Join Date: Jan 2013
Posts: 19
Rep Power: 13
AmRo is on a distinguished road
Hello,


I didn't get any error message or found something suspicious, so I am very tempted to believe that everything is allright ;-)

Thank you for your thoughts!


Greetings, Amelie
AmRo is offline   Reply With Quote

Reply

Tags
blockmesh, multiple blocks, vertices


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
[snappyHexMesh] Problem and doubts with blockMesh, snappyHexMesh and multiple geometry luca1992 OpenFOAM Meshing & Mesh Conversion 0 August 23, 2017 11:40
[blockMesh] How to define symmetric graded mesh without using multiple blocks sahmed OpenFOAM Meshing & Mesh Conversion 3 August 18, 2016 03:33
[OpenFOAM.org] Install openFOAM 3.0.1 in Ubuntu 16.04 LTS from Deb packs Pier84 OpenFOAM Installation 4 June 18, 2016 16:22
[ICEM] Multiple Blocks in one Project Eezyville ANSYS Meshing & Geometry 6 April 20, 2012 09:25
[blockMesh] BlockMesh: Strange interface between blocks dancfd OpenFOAM Meshing & Mesh Conversion 3 June 8, 2010 16:54


All times are GMT -4. The time now is 19:25.