CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error : Unknown patch name

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2015, 10:13
Post Error : Unknown patch name
  #1
New Member
 
Join Date: Mar 2015
Posts: 15
Rep Power: 11
Sam_CFD is on a distinguished road
Dear Foamers,

I am new to OpenFOAM i need your help to avoid the following error.

Its a case on valve simulation using interFOAM.

I followed the waterchannel tutorial as it resembles my case.

When I run the case I am getting the following error.

Please help me.

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.3.1-262087cdf8db
Exec   : interFoam
Date   : Jun 10 2015
Time   : 19:31:47
Host   : "KOR1031100VM"
PID    : 5064
Case   : /home/sml7kor/OpenFOAM/sml7kor-2.3.1/run/HDEV_5_FinetoCoarse_Test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type RASModel
Selecting RAS turbulence model kOmegaSST
kOmegaSSTCoeffs
{
    alphaK1         0.85;
    alphaK2         1;
    alphaOmega1     0.5;
    alphaOmega2     0.856;
    gamma1          0.555556;
    gamma2          0.44;
    beta1           0.075;
    beta2           0.0828;
    betaStar        0.09;
    a1              0.31;
    b1              1;
    c1              10;
    F3              false;
}


Reading g
Calculating field g.h

No finite volume options present

time step continuity errors : sum local = 0, global = 0, cumulative = 0
GAMGPCG:  Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
Courant Number mean: 0 max: 0

Starting time loop



--> FOAM FATAL ERROR: 
faceSource inletFlux: patch(inlet):
    Unknown patch name: inlet. Valid patch names are: 
23
(
ENVNTC
ENVNTS
FWALLS
IN1
IN2
IN3
INLET
MWALLS
MWALLZ
OUT1
OUT2
OUT3
OWALLS
SYM
OUTLETBOXSIDE1
OUTLETBOXSIDE2
OUTLETBOXSIDE3
OUTLETBOXTOP1
OUTLETBOXTOP2
OUTLETBOXTOP3
SL1
SL2
SL3
)



    From function faceSource::constructFaceAddressing()
    in file fieldValues/faceSource/faceSource.C at line 177.

FOAM exiting
Regards,
Sam
Sam_CFD is offline   Reply With Quote

Old   June 10, 2015, 10:59
Default
  #2
Member
 
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11
vabishek is on a distinguished road
Hello Sam,

The answer for your question lies in the error message. Remember, OpenFOAM is case-sensitive. Even though I don't have access to any of your files in the 0/ or constant/ directories, I believe if you set your flux source to "INLET" instead of "inlet' the error should be fixed. The valid patch names are listed in error message and you can see that all of the available options are in upper-case letters.

Hope that helps!!
vabishek is offline   Reply With Quote

Old   June 11, 2015, 01:50
Default
  #3
New Member
 
Join Date: Mar 2015
Posts: 15
Rep Power: 11
Sam_CFD is on a distinguished road
Quote:
Originally Posted by vabishek View Post
Hello Sam,

The answer for your question lies in the error message. Remember, OpenFOAM is case-sensitive. Even though I don't have access to any of your files in the 0/ or constant/ directories, I believe if you set your flux source to "INLET" instead of "inlet' the error should be fixed. The valid patch names are listed in error message and you can see that all of the available options are in upper-case letters.

Hope that helps!!
Hi Vabishek,

I have solved it. Actually in controldict there were some functions written to calculate the massflux. So I removed them.

thank you.

Regards,
Sangamesh Hosur
Sam_CFD is offline   Reply With Quote

Reply


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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 05:37
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 13:48
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


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