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

'Cannot find patchField entry for outlet'

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

Like Tree2Likes
  • 1 Post By odellar
  • 1 Post By range_rover

Reply
 
LinkBack Thread Tools Display Modes
Old   October 15, 2013, 10:43
Default 'Cannot find patchField entry for outlet'
  #1
Member
 
Olie
Join Date: Oct 2013
Posts: 44
Rep Power: 3
odellar is on a distinguished road
Hi,

If someone has answered this question before I apologise, but I've been searching for a long time across various forums and haven't managed to solve my problem.

I've got a geometry that is essentially an S-shaped pipe with one inlet and one outlet (both of which have the same surfaces area).

So I've set the inlet and outlet as patches, the 'top' and 'bottom' of the pipe as walls, and the 'front' and 'back' of the pipe as 'empty' since I just want a 2D solution.

I want a uniform inlet velocity of 1 m/s, and based on the continuity equation, the outlet velocity is 1 m/s as well (as it has the same surface area and my flow is incompressible).

I'm using a RAS k-epsilon solver.

This is where I have defined walls & patches etc in the blockMeshDict file:

Code:
boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 3 13 10)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (8 9 19 18)
        );
    }
    fixedWalls
    {
        type wall;
        faces
        (
            (3 2 12 13)
            (2 7 17 12)
            (7 6 16 17)
            (6 9 19 16)
            (0 1 11 10)
            (1 4 14 11)
            (4 5 15 14)
            (5 8 18 15)
        );
    }
);
(Note that I can view the geometry in ParaView and it looks correct so I don't think this is the issue).

This is where I have defined velocities (in 0/U):

Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    inlet
    {
        type            fixedValue;
        value           uniform (1 0 0);
    }

    outlet
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }


    fixedWalls
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

    frontAndBack
    {
        type            empty;
    }
}
and this is where I have defined pressures:

Code:
dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
   

    inlet
    {
    type        zeroGradient;
    }

    outlet
    {
    type        zeroGradient;
    }

    fixedWalls
    {
        type            zeroGradient;
    }

    frontAndBack
    {
        type            empty;
    }
}
When I run pisoFoam it gives this error:

Code:
--> FOAM FATAL IO ERROR: 
Cannot find patchField entry for outlet

file: /home/olie/OpenFOAM/olie-2.2.1/run/tutorials/incompressible/pisoFoam/ras/s_shape/0/epsilon.boundaryField from line 26 to line 41.
I'm very new to OpenFOAM and wouldn't be at all surprised if I've just completely missed something.

Please ask if you'd like to see any of the other files, such as 0/epsilon or 0/k.

Thanks a lot for your time,
Olie
odellar is offline   Reply With Quote

Old   October 18, 2013, 06:22
Default
  #2
Member
 
Olie
Join Date: Oct 2013
Posts: 44
Rep Power: 3
odellar is on a distinguished road
Sorry all I've sorted it, I'd missed out a semicolon on one line

If someone could let me know how I delete this thread I'll get rid of it.

Thanks
Olie
deborahgomess likes this.
odellar is offline   Reply With Quote

Old   January 12, 2015, 05:12
Default
  #3
New Member
 
Warning
Join Date: Jan 2015
Posts: 15
Rep Power: 2
range_rover is on a distinguished road
it will be helpfull to others if you specify where was the collan missing in the script
deborahgomess likes this.
range_rover is offline   Reply With Quote

Old   May 21, 2015, 13:03
Default
  #4
New Member
 
Deborah Gomes
Join Date: Mar 2014
Posts: 3
Rep Power: 3
deborahgomess is on a distinguished road
It help me a lot! You have no idea!
I was missing a semicolon too! After a parenthesis when I set a nonuniform inlet value at the 0/alpha.air.org

Thank you!
deborahgomess is offline   Reply With Quote

Old   July 2, 2015, 05:40
Default PisoFoam - Error report
  #5
New Member
 
Gizela
Join Date: May 2015
Posts: 11
Rep Power: 2
Gizazu is on a distinguished road
Hi. I finally got the simulation working but i have a litlle problems with definition of delta T and courant number which sometimes send back an error during the process. Could you help me with this doubt? What possibly Im doing wrong?

Another question is that Im doing a 3D simulation but i can only see Ux and Uz during the calculation. Is that normal?

Please, somebody help me!!!


Regards
Gizazu is offline   Reply With Quote

Reply

Tags
patch, patch type, patchfield

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam171: error /usr/bin/ld: cannot find -llduSolvers Schipper OpenFOAM Programming & Development 5 November 15, 2012 15:13
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 07:32
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30
Entry level CFD Jobs Section Tez Main CFD Forum 1 February 20, 2007 02:19


All times are GMT -4. The time now is 16:59.