CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] River mesh with slope

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2014, 07:08
Default River mesh with slope
  #1
New Member
 
Benjamin
Join Date: Apr 2014
Location: Zürich
Posts: 27
Rep Power: 12
Benji is on a distinguished road
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,
Benji


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

Last edited by Benji; April 11, 2014 at 08:19.
Benji is offline   Reply With Quote

Old   April 11, 2014, 07:17
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
Hi

Please see here

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

And then afterwards upload your case.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   April 11, 2014, 07:31
Default
  #3
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
alexeym is offline   Reply With Quote

Old   April 11, 2014, 08:21
Default
  #4
New Member
 
Benjamin
Join Date: Apr 2014
Location: Zürich
Posts: 27
Rep Power: 12
Benji is on a distinguished road
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^^)
Benji is offline   Reply With Quote

Old   April 11, 2014, 13:22
Default
  #5
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
Could you please pack the whole case and upload to dropbox.

This way it is easier to find the error.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   April 14, 2014, 01:56
Default
  #6
New Member
 
Benjamin
Join Date: Apr 2014
Location: Zürich
Posts: 27
Rep Power: 12
Benji is on a distinguished road
There you go:

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

Cheers, Benji
Benji is offline   Reply With Quote

Old   April 14, 2014, 03:07
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
Attached Images
File Type: png prebottom-patch.png (17.6 KB, 73 views)
alexeym is offline   Reply With Quote

Old   April 14, 2014, 09:54
Default
  #8
New Member
 
Benjamin
Join Date: Apr 2014
Location: Zürich
Posts: 27
Rep Power: 12
Benji is on a distinguished road
Jop that was it, works now, thanks!
Benji is offline   Reply With Quote

Reply


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 11:14
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 08:52
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


All times are GMT -4. The time now is 22:57.