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

How to define the geometry of an inlet?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2014, 21:08
Default How to define the geometry of an inlet?
  #1
New Member
 
P
Join Date: Mar 2014
Posts: 1
Rep Power: 0
FOAM1234 is on a distinguished road
Hi all,

I am trying to simulate flow through that passes through a sluice gate and into a flume. I have been trying to represent the flow from the sluice gate as an inlet patch that is part of a face while a wall composes the rest of that face. In doing so I get the following error:

Code:
FOAM FATAL ERROR: 
face 0 in patch 0 does not have neighbour cell face: 4(0 8 9 1)
Here is the rest of my geometry:

Code:
vertices
(   //Domain
    (0 0 0)         //0
    (0 0 0.31)      //1
    (20 0 0.31)     //2
    (20 0 0)        //3
    (0 0.45 0)      //4
    (0 0.45 0.31)   //5
    (20 0.45 0.31)  //6
    (20 0.45 0)     //7
    
    //Inlet
    (0 0.02551 0)   //8
    (0 0.02551 0.31)//9
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (25  25 15) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 8 9 1) 
        );
    }

    walls
    {
        type wall;
        faces
        (
            (0 3 7 4) //sidewall
            (1 2 6 5) //sidewall
            (0 1 2 3) //floor of channel
            (8 4 5 9) //above inlet          
        );
    }

    outlet
    {
        type patch;
        faces
        (
            (2 6 7 3) 
        );
    }
    atmosphere
    {
        type patch;
        faces
        (
            (0 3 7 4)
            (8 4 5 9)
            (1 5 6 2)
            (1 3 2 0)
        );
    }
);
I understand why I am getting this error, but now I'm wondering how can I represent the flow from the sluice gate so that the flow depth from the inlet is constant?
FOAM1234 is offline   Reply With Quote

Old   March 17, 2014, 04:20
Default
  #2
New Member
 
Join Date: Oct 2013
Posts: 15
Rep Power: 13
pingat is on a distinguished road
i think the problem is, that you wanna build up an internal face and not a boundary.

maybe you could have a look at the createbaffles tool?
pingat is offline   Reply With Quote

Reply

Tags
blockmeshdict block mesh, flumes, inlet and outlet


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
How to define a mass source at a velocity inlet ? cfdiscool FLUENT 4 June 26, 2014 04:00
define BCs at inlet and outlet for natural ventilation simulation jjz2013 Main CFD Forum 0 January 29, 2013 16:50
How to define constant value at inlet boundaries? moienmojabi Main CFD Forum 0 February 12, 2011 12:34
Which software to define the geometry ? nub74 ANSYS 0 May 25, 2010 12:58
F-16 inlet geometry Imran Main CFD Forum 2 May 16, 2007 09:42


All times are GMT -4. The time now is 23:44.