CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: blockMesh (
-   -   River mesh with slope (

Benji April 11, 2014 07:08

River mesh (slope) with interFoam
Hi all!

I'm currently dealing with a river channel model in interFoam. First i created my "river" (very simple one, one curve created with arcs) without a slope which worked well, I got the expected results with interFoam.

Now, the only thing I did after was altering the z-coordinates in order to get a slope. I double and triple checked, but I still get that annoying error message when checkMesh:

I'll give you some more information:

I would be really glad if someone could have a quick look at it, I am sure it's a small thing I just don't see -.-

Thanks in advance,

PS: If someone has random river Meshes lying round, feel free ;)

linnemann April 11, 2014 07:17


Please see here

And then afterwards upload your case.

alexeym April 11, 2014 07:31


show the description of patches of the mesh. IIRC this error may appear when it is wrong.

Also you can visualize this pointSet converting it to VTK:


foamToVTK -pointSet nonAlignedEdges
(then paraFoam, press Apply, and open VTK file from VTK folder that was created by foamToVTK)

and take a look at where the problem is located.

Benji April 11, 2014 08:21

Thanks for the quick replies.

@linneman: Thanks for the howto, I gave some more information above, I hope this will be enough.

@alexeym: I opened the VTK file in paraView, but there were no problems located (in fact, nothing was shown^^)

linnemann April 11, 2014 13:22

Could you please pack the whole case and upload to dropbox.

This way it is easier to find the error.

Benji April 14, 2014 01:56

There you go:

Cheers, Benji

alexeym April 14, 2014 03:07

1 Attachment(s)

you forgot to describe let's call it 'prebottom' patch (see attached picture for location, also I've plotted nonAlignedEdges point-set with red arrows). And all faces in this patch went to defaultFaces patch, which by default has type 'empty. So all the points in your mesh was not aligned with or perpendicular to non-empty directions.

You have two options:

1. Describe 'prebottom' patch as usual in blockMeshDict.

2. Use changeDictionary to change type of defaultFaces from empty to wall.

Benji April 14, 2014 09:54

Jop that was it, works now, thanks!

All times are GMT -4. The time now is 15:31.