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

[blockMesh] Cylinder with special inlet

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

Like Tree1Likes
  • 1 Post By linnemann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2015, 12:43
Default Cylinder with special inlet
  #1
New Member
 
Bogdan Osyka
Join Date: Oct 2015
Posts: 4
Rep Power: 10
Bogdan90 is on a distinguished road
Hello!
I am trying to mesh entire cylinder, where I have some certain boundary condition for the inlet. This is the whole geometry for the case:
image002.jpg
In my project I will be only working with the part of this geometry, the right cylinder. As you can see, the actual inlet here has to be defined as a circle inside of a bigger circle. So my question is what is the easiest way to implement this kind of inlet? Do I have to mesh a cylinder inside of a cylinder and define correct patches or is there a way to mesh a cylinder and have some certain condition for the inlet patch?

Thanx in advance!
Bogdan90 is offline   Reply With Quote

Old   October 22, 2015, 06:05
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

First off, if you are new to OF avoid using BlockMesh.
It will give you more headaches than joy.

Instead I recommend using Salome (salome-platform.org)
It is sorta parametric cad where you can dump your setup to a python file and run it on another computer with minimal effort.

Run the script and edit dimensions to fit your needs in the python file (rename to .py and not .py.txt).

Export mesh to unv and use openfoam command ideasUnvToFoam.

I won't give you anymore hints since the official help documentation in Salome is quite good (hit F1).
Attached Images
File Type: png cylinderInlet.png (145.7 KB, 44 views)
Attached Files
File Type: txt inletCylinder.py.txt (5.2 KB, 28 views)
Bogdan90 likes this.
__________________
Linnemann

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

Old   October 22, 2015, 15:52
Default
  #3
New Member
 
Bogdan Osyka
Join Date: Oct 2015
Posts: 4
Rep Power: 10
Bogdan90 is on a distinguished road
Quote:
Originally Posted by linnemann View Post
Hi

First off, if you are new to OF avoid using BlockMesh.
It will give you more headaches than joy.

Instead I recommend using Salome (salome-platform.org)
It is sorta parametric cad where you can dump your setup to a python file and run it on another computer with minimal effort.

Run the script and edit dimensions to fit your needs in the python file (rename to .py and not .py.txt).

Export mesh to unv and use openfoam command ideasUnvToFoam.

I won't give you anymore hints since the official help documentation in Salome is quite good (hit F1).
Thank you a lot for the answer! I completely agree with you that BlockMesh is a headache when it yields complex geometries. I have downloaded Salome and converted your script, which enabled me to run LES model on this geometryand it seems to be working really nice. Unfortunately after playing some hours with Salome and the geometry you 've send I still wasn't able to figure out how do I change dimensions, do I need to change them directly in the script? I would really appreciate if you could help me with that or probably point at some particular tutorial:-)

Thanks in advance
Bogdan90 is offline   Reply With Quote

Old   February 18, 2020, 20:00
Default
  #4
Member
 
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9
amirhosseintaran is on a distinguished road
hi , did you change the domain size ? if yes , then how ??
Bests.
amirhosseintaran is offline   Reply With Quote

Reply

Tags
cylinder mesh, inlet bc, pipe cross

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looping over all faces within a boundary condition (turbulent inlet development) Sevex OpenFOAM Programming & Development 5 September 8, 2016 13:58
Species mass flow inlet lorenz FLUENT 3 March 15, 2012 07:26
[blockMesh] Specifying boundary faces failes in blockMesh blaise OpenFOAM Meshing & Mesh Conversion 0 May 10, 2010 03:56
Drag cylinder : Turb at Inlet PK FLUENT 2 February 25, 2007 12:01
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 06:43.