CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/)
-   -   River mesh with slope (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/133167-river-mesh-slope.html)

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.


https://www.dropbox.com/s/ca3btkvi43...River_Mesh.pnghttps://dl.dropboxusercontent.com/u/...River_Mesh.png

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,
Benji


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

linnemann April 11, 2014 07:17

Hi

Please see here

http://www.cfd-online.com/Forums/ope...-get-help.html

And then afterwards upload your case.

alexeym April 11, 2014 07:31

Hi,

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:

Code:

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:

https://dl.dropboxusercontent.com/u/...Mesh_benji.zip

Cheers, Benji

alexeym April 14, 2014 03:07

1 Attachment(s)
Hi,

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 06:10.