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

[blockMesh] blockMesh cylinder with two inlets

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By piu58
  • 1 Post By Antimony

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2018, 04:53
Default blockMesh cylinder with two inlets
  #1
New Member
 
anonymous
Join Date: Mar 2018
Posts: 11
Rep Power: 8
cfd4res is on a distinguished road
Hello everyone. I am new to openFOAM. I managed to blockmesh a cylinder using the m4 file in this link.
https://www.ehsanmadadi.com/cylinder-mesh/

Then I want to create a second inlet on the wall as shown in the image attached. Can anyone please tell me how to write this in blockmesh.
pipe.JPG
cfd4res is offline   Reply With Quote

Old   March 7, 2018, 05:10
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Very probably there exist some ways to handle this.

If I had to manage this case, I would generate a regular cylinder with a slightly different formulation for the wall speed (which is zero in most places at the wall).

It is possible to use for a surface a nonuniform velocity in the form

Code:
type  fixedValue;
value nonuniform List<vector> {elements} (
   (ux0 uy0 uz0)
   (ux1 uy1 uz1)
   :
)
You have to play around a little bit to catch the right elements with non zeror velocity, but there is some kind of systematic in it (which depends on how you build your blocks)
cfd4res likes this.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 7, 2018, 05:23
Default
  #3
New Member
 
anonymous
Join Date: Mar 2018
Posts: 11
Rep Power: 8
cfd4res is on a distinguished road
Thank you very much for the quick reply. Really appreciate it. I will definitely try this.
cfd4res is offline   Reply With Quote

Old   March 7, 2018, 21:44
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

If you are using OF 5, then you could try their new "project" feature: https://cfd.direct/openfoam/user-guide/blockmesh/

(Look for section 5.3.3)

Cheers,
Antimony
cfd4res likes this.
Antimony is offline   Reply With Quote

Old   March 9, 2018, 12:02
Default
  #5
New Member
 
anonymous
Join Date: Mar 2018
Posts: 11
Rep Power: 8
cfd4res is on a distinguished road
Thank you very much for the info. Really appreciate it. I will try this.
cfd4res 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
Problem with verification of transverse freely moving cylinder aakie OpenFOAM Running, Solving & CFD 4 August 3, 2019 09:01
[blockMesh] BlockMesh with cylinder and halfsphere ich558 OpenFOAM Meshing & Mesh Conversion 0 April 11, 2019 05:17
flow over a cylinder urgent! kevin FLUENT 8 August 11, 2015 13:00
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
[blockMesh] Specifying boundary faces failes in blockMesh blaise OpenFOAM Meshing & Mesh Conversion 0 May 10, 2010 03:56


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