|
[Sponsors] |
July 12, 2023, 04:32 |
Unable to run interFoam (for channel flow)
|
#21 |
New Member
Tanmoy Majumder
Join Date: Jul 2023
Posts: 1
Rep Power: 0 |
Hello,
I have started learning OpenFOAM recently, for my thesis work, and I'm also new to CFD. Basically, I'm trying to analyze the flow dynamics of an open channel in the presence of obstructions (such as wooden debris and vegetation). But I'm stuck with an error "Cannot find patchField entry for Inlet". I have been trying to solve this error, but I'm unable to do so. I came across this thread while searching for a solution. I am posting the error which I got after running interFoam. --> FOAM FATAL IO ERROR: Cannot find patchField entry for Inlet file: C:/blueCFD/ofuser-of5/RUN/WATERCHANNEL_1/0/U.boundaryField from line 25 to line 19. From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam:imensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = Foam::Vector<double>; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh] in file X:/OpenFOAM-5.x/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C at line 191. The WATERCHANNEL_1/0/U. file code is provided below. /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (1 0 0); boundaryField { inlet { type flowRateInletVelocity; volumetricFlowRate constant 50; } walls { type noSlip; } atmosphere { type pressureInletOutletVelocity; value uniform (0 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value $internalField; } } // ************************************************** *********************** // Please suggest any solution. Thank you, Tanmoy |
|
Tags |
patch, patch type, patchfield |
|
|
Similar Threads | ||||
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 |