# How to define the geometry of an inlet?

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

 March 15, 2014, 21:08 How to define the geometry of an inlet? #1 New Member   P Join Date: Mar 2014 Posts: 1 Rep Power: 0 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?

 March 17, 2014, 04:20 #2 New Member   Join Date: Oct 2013 Posts: 15 Rep Power: 5 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?

 Tags blockmeshdict block mesh, flumes, inlet and outlet

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post cfdiscool FLUENT 4 June 26, 2014 03:00 jjz2013 Main CFD Forum 0 January 29, 2013 16:50 moienmojabi Main CFD Forum 0 February 12, 2011 12:34 nub74 ANSYS 0 May 25, 2010 11:58 Imran Main CFD Forum 2 May 16, 2007 08:42

All times are GMT -4. The time now is 18:55.