|
[Sponsors] |
'Cannot find patchField entry for outlet' |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Olie
Join Date: Oct 2013
Posts: 51
Rep Power: 9 ![]() |
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) ); } ); 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; } } 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; } } 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. 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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Olie
Join Date: Oct 2013
Posts: 51
Rep Power: 9 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Warning
Join Date: Jan 2015
Posts: 15
Rep Power: 8 ![]() |
it will be helpfull to others if you specify where was the collan missing in the script
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Deborah Gomes
Join Date: Mar 2014
Posts: 3
Rep Power: 8 ![]() |
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! |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Gizela
Join Date: May 2015
Posts: 11
Rep Power: 7 ![]() |
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 I´m doing wrong?
Another question is that I´m doing a 3D simulation but i can only see Ux and Uz during the calculation. Is that normal? Please, somebody help me!!! ![]() ![]() Regards |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
kvknagaraju
Join Date: Feb 2016
Posts: 2
Rep Power: 0 ![]() |
can you please tell me how did you solve the problem ?
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Moe Alams
Join Date: May 2017
Posts: 13
Rep Power: 5 ![]() |
This article has helped me as well. I added semi colon after uniform ( );
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Join Date: Oct 2017
Posts: 3
Rep Power: 5 ![]() |
I am facing the same error.How did you get rid of this error?
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
|
I do not know if it helps. I had a similar error and finally found out that in blockMeshDict there was a typo in a boundary name.So, check the boundary names in 0 folder and blockMeshDict. Compare them, this might solve the error.
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Ainal Hoque Gazi
Join Date: May 2018
Location: India
Posts: 27
Rep Power: 4 ![]() |
I had a similar error. I have given double curly bracket before inlet.
boundaryField { back { type symmetryPlane; } front { type symmetryPlane; } } inlet { type zeroGradient; } outlet { type zeroGradient; } |
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Abbasi Maaz
Join Date: Oct 2018
Location: Pakistan
Posts: 3
Rep Power: 4 ![]() |
Also Make sure that there is no spaces in front of boundary name for example if you used "Outlet " (or any other boundary name) while initializing for pressure or velocity field instead of original "Outlet", it will also give you this error.
|
|
![]() |
![]() |
![]() |
![]() |
#12 |
Senior Member
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 13 ![]() |
it helps me out from a silly mistake
![]() |
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Join Date: Feb 2019
Posts: 1
Rep Power: 0 ![]() |
thank you for your help,i have same mistake. XD
|
|
![]() |
![]() |
![]() |
![]() |
#14 |
New Member
Join Date: Sep 2020
Posts: 2
Rep Power: 0 ![]() |
Your tip really helped me a lot! This was exactly one of my errors in my simulation!
|
|
![]() |
![]() |
![]() |
Tags |
patch, patch type, patchfield |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam171: error /usr/bin/ld: cannot find -llduSolvers | Schipper | OpenFOAM Programming & Development | 9 | August 26, 2020 06:31 |
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 07:30 |
Entry level CFD Jobs Section | Tez | Main CFD Forum | 1 | February 20, 2007 02:19 |