|
[Sponsors] |
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) 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) ); } ); |
|
March 17, 2014, 04:20 |
|
#2 |
New Member
Join Date: Oct 2013
Posts: 15
Rep Power: 13 |
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 |
|
|
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 |