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

[blockMesh] blockMesh - 2D

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2015, 09:20
Default blockMesh - 2D
  #1
Member
 
Join Date: Dec 2014
Posts: 50
Rep Power: 11
Harak is on a distinguished road
Hey guys,

I'm working with OF for quite a year by now and I thought I knew the basics about blockMesh but I got a little bit confused about 2D meshes.

OF always operates in 3 dimensions, so all geometries are generated in 3 dimensions. When I want to setup a 2D case, I just define the empty boundary condition on boundaries normal to the 3rd dimensions. Well, so far so good.
How many cells do I have to have at this 3rd dimension? I looked up some tutorial cases and all of them have just 1 cell. That's what I've thought to be right but I couldn't find anything saying this to be just 1 cell! Am I right by assuming that 2D cases MUST have ONLY 1 cell in the 3rd dimension or is it also possible to have more cells?

Thanks
Harak is offline   Reply With Quote

Old   November 20, 2015, 12:57
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
More than one cell in the third dimension makes no sense. Why refine in a direction without gradients?
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   November 21, 2015, 03:58
Default
  #3
Member
 
Join Date: Dec 2014
Posts: 50
Rep Power: 11
Harak is on a distinguished road
Quote:
Originally Posted by akidess View Post
More than one cell in the third dimension makes no sense. Why refine in a direction without gradients?
Because I want to simulate a beam with a circular cross section in a flow channel and therefore I need more than 1 plane in the 3rd dimension. As you know, it's necessary to have 5 planes to define a circle with blockMesh (see attached image).



For my case, I would therefore need 5 cells in the 3rd dimensions. That's why I'm asking

So, is it possible to simulate this in 2D?

Thanks
Harak is offline   Reply With Quote

Old   November 21, 2015, 05:20
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
I don't understand your drawing. Your geometry is confined to the XY-plane? Then only use one cell in Z direction and you're done. If you're domain is axisymmetric, use a wedge.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess 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
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 19:15
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
[blockMesh] External flow around cube with blockMesh Woody8 OpenFOAM Meshing & Mesh Conversion 0 March 31, 2015 14:54
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 08:37
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 11:59


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