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

--> FOAM FATAL IO ERROR: (openfoam-2012) Cannot find patchField entry for testCube

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 7, 2023, 06:38
Default --> FOAM FATAL IO ERROR: (openfoam-2012) Cannot find patchField entry for testCube
  #1
New Member
 
Canas
Join Date: Jul 2023
Posts: 11
Rep Power: 2
DCanas is on a distinguished road
I am trying to simulate a river flow so i'm using snappyhexmesh and blockMesh.

When running "interFoam" to start the simulation it gives me the error in the title followed by this:
"file: /river/0/U.boundaryField at line 25."

Here is my U file

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ 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; //line 25
volumetricFlowRate constant 350;
}

walls
{
type noSlip;
}

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

outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value $internalField;
}
}


// ************************************************** *********************** //

On another test where I didn't use snappyhexmesh so I only had the outer box it worked just fine but i need it to get the river simulation.

If you know anything that can fix my problem please reply.
DCanas is offline   Reply With Quote

 

Tags
boundary field, snappyhesmesh


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
"FOAM FATAL IO ERROR: Cannot find patchField entry for NACA6409_patch24311" Pavlidis Chariton OpenFOAM Running, Solving & CFD 0 October 7, 2019 04:57
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 5 July 10, 2017 11:59
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 20:11.