CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Question on developing my mesh for having a port within a wall boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2016, 14:39
Default Question on developing my mesh for having a port within a wall boundary
  #1
New Member
 
Sara
Join Date: Dec 2013
Posts: 10
Rep Power: 12
karma15 is on a distinguished road
Hello everyone,

The answer to this question is most likely straightforward, but I am stuck when trying to build my blockMeshDict. Right now I just have a simple rectangular conduit with an inlet on one side and the outlet on the other side. I would like to have a port on the top wall that will have the boundary condition of negative or positive velocity. So I have a wall on the top, and a wall on the bottom, and within the top wall, I would like a small square to be the "port." I keep getting errors when trying to build the mesh, in particular my error says:
Code:
face 0 in patch 4 does not have neighbour cell face: 4(8 9 10 11)
I am thinking that the problem is that I only have one block in my whole domain. Thus, do I need to create separate blocks for each section (i.e. the section before the port, the section with the port, and the section after the port)? Or is there an easier way of doing this?

Here is my blockMeshDict code:

Code:
convertToMeters 1;

vertices
(
    (-0.05 -0.05 -0.05) //0
    (10.05 -0.05 -0.05) //1
    (10.05 1.05 -0.05) //2
    (-0.05 1.05 -0.05) //3
    (-0.05 -0.05 0.05) //4
    (10.05 -0.05 0.05) //5
    (10.05 1.05 0.05) //6
    (-0.05 1.05 0.05) //7
    
    (3.85 1.05 -0.05) //8
    (4.15 1.05 -0.05) //9
    (4.15 1.05 0.05)  //10   
    (3.85 1.05  0.05) //11
);


blocks          
(
    hex (0 1 2 3 4 5 6 7) (101 11 1) simpleGrading (1 1 1)
);

edges           
(
);

boundary
(
    wall_top
    {
        type wall;  
        faces
        (
            (3 7 6 2)
        );
    }   
    wall_bottom
    {
        type wall;
        faces
        (
            (4 0 1 5)
        );
    }
    frontAndBack
    {
        type empty;
        faces
        (
            (0 3 2 1)
            (4 5 6 7)
        )
    }
    inlet 
    {
        type patch;
        faces
        (
            (0 4 7 3)
         );
    }
    outlet
    {
        type patch;
        faces
        (
            (2 6 5 1)
        );
    }
    port
    {
        type patch;
        faces
        (
            (8 11 10 9)
        );
    }

mergePatchPairs
(
);
karma15 is offline   Reply With Quote

Old   February 23, 2016, 17:14
Default Moved to "Meshing" subforum
  #2
New Member
 
Sara
Join Date: Dec 2013
Posts: 10
Rep Power: 12
karma15 is on a distinguished road
My apologies, I listed this in the wrong sub-forum. Have moved question to the "Meshing" subforum
karma15 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Deal with wall boundary with moving mesh by FVM? aiya Main CFD Forum 6 May 10, 2007 11:33
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


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