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

Question possible stupid about grid

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 5, 2007, 08:28
Default Hello, I'd like to create
  #1
Member
 
Fabian Peng Karrholm
Join Date: Mar 2009
Posts: 61
Rep Power: 8
fabianpk is on a distinguished road
Hello,

I'd like to create a mesh with rounded off corners. I'm not sure what I've created will work, because it ends up with internal faces.

This is the grid:

http://www.tfd.chalmers.se/~f98faka/roundCorners.jpg

and this is the grid with the internal faces:
http://www.tfd.chalmers.se/~f98faka/...SeeThrough.jpg

So you see I've made the corners as wedges, resulting in a zero-area face. Doesn't sound very good, but is there some workaround to this? If not I'll have to think of some other type of mesh setup.


/Fabian
fabianpk is offline   Reply With Quote

Old   April 6, 2007, 03:50
Default Does the collapseEdges utility
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Does the collapseEdges utility do something for you?
mattijs is offline   Reply With Quote

Old   April 10, 2007, 05:55
Default No, it either doesn't do anyth
  #3
Member
 
Fabian Peng Karrholm
Join Date: Mar 2009
Posts: 61
Rep Power: 8
fabianpk is on a distinguished road
No, it either doesn't do anything, or just tries to remove so many edges some cells would get less than 4 faces. It does however, report cells having 5 faces (which is exactly what I want for the cake-sized cells on the edges).

What I've done that works (at least seemingly) is to define the zero-sized faces as empty, and then removed them from the constant/polyMesh/boundary folder. It seems from early testing at least, that this does the job. It's a rather ugly solution though. If I do not remove the lines in boundary-file, I get the same result, only ensight displays the empty boundary a little oddly.

Can I define the cakepiece-blocks as something else than hex to make Foam understand it's supposed to join one edge together, or does it understand that already? It seems to do so, at least from the short simulations I've ran.
fabianpk 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
A stupid question luckyluke OpenFOAM Running, Solving & CFD 14 August 13, 2007 04:25
Perhaps a stupid question... HSeldon FLUENT 0 March 9, 2007 13:14
Stupid question Dr. Nick Main CFD Forum 0 August 5, 2006 16:31
stupid question Andrew Hayes Main CFD Forum 9 December 20, 2005 12:25
A (very, very) stupid FEM Question Carlos Main CFD Forum 2 September 21, 2002 09:31


All times are GMT -4. The time now is 03:36.