CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

River mesh with slope

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 11, 2014, 07:08
Default River mesh (slope) with interFoam
  #1
New Member
 
Join Date: Apr 2014
Posts: 20
Rep Power: 3
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: 451
Rep Power: 15
linnemann will become famous soon enough
Hi

Please see here

How to give enough info to get help

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,133
Rep Power: 20
alexeym will become famous soon enoughalexeym will become famous soon enough
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
 
Join Date: Apr 2014
Posts: 20
Rep Power: 3
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: 451
Rep Power: 15
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
 
Join Date: Apr 2014
Posts: 20
Rep Power: 3
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,133
Rep Power: 20
alexeym will become famous soon enoughalexeym will become famous soon enough
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, 21 views)
alexeym is offline   Reply With Quote

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

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 39 June 5, 2013 19:02
Inner geometry gets lost exporting mesh from ICEM CFD to CFX-Pre powpow CFX 3 December 20, 2012 10:14
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 09:52
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


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