CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (http://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   'Cannot find patchField entry for outlet' (http://www.cfd-online.com/Forums/openfoam-meshing/126717-cannot-find-patchfield-entry-outlet.html)

cesarjets November 24, 2013 16:50

'Cannot find patchField entry for outlet'
 
Hi,
I have a geometry that is essentially a cube with the left face as inlet and the right face as outlet.
I can generate the mesh with blockMesh but I'm trying to use simpleFoam solver
"Cannot find patchField entry for outlet".
This is what I have done. not sure if the cyclic patches would be necessary?
wondering how I could corect this?

Thanks much, any help on this will be appreciated
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.1;

vertices
(
(0 0 0)
(8 0 0)
(8 4 0)
(0 4 0)
(0 0 1)
(8 0 1)
(8 4 1)
(0 4 1)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (40 40 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(1 2 6 5)
);
left
{

type cyclic;
neighbourPatch right;
faces ((0 4 7 3));
}
right
{
type cyclic;
neighbourPatch left;
faces ((1 5 6 2));

}
}
fixedWalls
{
type wall;
faces
(
(0 1 5 4)
(0 3 2 1)
(3 7 6 2)
(4 5 6 7)
);
}

);


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

chegdan November 25, 2013 01:29

in your blockMeshDict example you are missing a

Code:

{
after your outlet definition (after faces( ); in your outlet definition) and before your left patch definition.


All times are GMT -4. The time now is 00:29.