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

circle define

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

Like Tree1Likes
  • 1 Post By haakon

Reply
 
LinkBack Thread Tools Display Modes
Old   May 17, 2013, 01:07
Default circle define
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
whats the command for defining a semi-circle(a piece of arc!) by blockMesh?
I want to model a circular tank that is attached to a pipe,how to do it?(maybe defining a full circle and add it with a rectangle,how?)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 18, 2013, 05:03
Default
  #2
Senior Member
 
Håkon Strandenes
Join Date: Dec 2011
Location: Norway
Posts: 111
Rep Power: 10
haakon will become famous soon enough
Have you seen the cylinder tutorial for potentialFoam? It contains a mesh around half a cylinder, and it should be fairly easy to extend it both for a complete cylinder and a full 3D case. It does describe how to create an arc fairly well.

See the tutorial folder: tutorials/basic/potentialFoam/cylinder

Also see the the "OpenFOAM programmers Guide" page P-41. This guide is located at: doc/Guides-a4/ProgrammersGuide.pdf

But for your case (internal flow in pipe) it is of course slightly different, but it is not necessarily more difficult. See the following links for reference/inspiration:
http://image.bayimg.com/dapdiaabn.jpg
http://openfoamwiki.net/index.php/Si...rupt_Expansion

Good luck.
immortality likes this.
haakon is offline   Reply With Quote

Old   May 18, 2013, 08:04
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
thank you Hakon
the first link is baned here.could you please send it by attaching?
thanks.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 18, 2013, 09:48
Default
  #4
Senior Member
 
Håkon Strandenes
Join Date: Dec 2011
Location: Norway
Posts: 111
Rep Power: 10
haakon will become famous soon enough
See attached img.
Attached Images
File Type: jpg dapdiaabn.jpg (16.5 KB, 12 views)
haakon 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
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 140 June 19, 2010 09:23
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


All times are GMT -4. The time now is 18:52.