|
[Sponsors] |
June 10, 2015, 10:13 |
Error : Unknown patch name
|
#1 |
New Member
Join Date: Mar 2015
Posts: 15
Rep Power: 11 |
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 Sam |
|
June 10, 2015, 10:59 |
|
#2 |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
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!! |
|
June 11, 2015, 01:50 |
|
#3 | |
New Member
Join Date: Mar 2015
Posts: 15
Rep Power: 11 |
Quote:
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 |
||
|
|
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 |