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

How to generate internal Baffles with exsisting STL mesh?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 23, 2013, 13:47
Default How to generate internal Baffles with exsisting STL mesh?
  #1
Member
 
David Long
Join Date: May 2012
Location: Germany
Posts: 55
Rep Power: 5
keepfit is on a distinguished road
Hi Foamer,

I want to simulate the flow inside a Cyclone. The geometry is shown below:



Part of the air outlet tube is inside the cyclone, so the internal patch (wall) must be created.

I think there are 2 possible ways to do such job:

1) Import the Tetrahedral Mesh generated by GMSH, and then generated the inner walls of air outlet tube with createBaffles, but I didn't find any tutorials about how to generated curved surface (can not find detailed topoSet or setSet guide).

2) Import the Surface Mesh (STL) and utilize the snappyHexMesh to generate the internal cells. But how does snappyHexMesh snap the internal surface and convert it to patches? It's possible in OF 2.2.0 to do this, but could not find the proper examples.

Any advice will be appreciated.

David Long
keepfit is offline   Reply With Quote

Old   July 23, 2013, 18:50
Default
  #2
New Member
 
Andre Weiner
Join Date: Aug 2012
Posts: 27
Rep Power: 4
andre.weiner is on a distinguished road
Quote:
Originally Posted by keepfit View Post
... createBaffles, but I didn't find any tutorials about how to generated curved surface (can not find detailed topoSet or setSet guide).
Have a look at the "propeller"-tutorial.
tutorials/incompressible/pimpleDyMFoam/propeller

But: you wont get a proper baffle if the surface of the cylinder is not included in your tet-mesh (see the tutorial).

Quote:
Originally Posted by keepfit View Post
2) Import the Surface Mesh (STL) and utilize the snappyHexMesh to generate the internal cells. But how does snappyHexMesh snap the internal surface and convert it to patches? It's possible in OF 2.2.0 to do this, but could not find the proper examples.
I would do like this:
- generate the stl of your cyclon
- generate a second stl of the part of the cylinder, that is inside your cyclone
- in the snappyHexMeshDict-file the cylinder.stl gets the attribute "inside" in the part of the surface refinement
Code:
        cylinder
        {
            level       (2 2);
            cellZone    cylinder;
            faceZone   cylinder;
            cellZoneInside  inside;
        }
- in version 2.2.0 and higher it is also posible to create baffles (or in your case maybe boundaries) with snappyHexMesh

Code:
            //- Optional specification of what to do with faceZone faces:
            //      internal : keep them as internal faces (default)
            //      baffle   : create baffles from them. This gives more
            //                 freedom in mesh motion
            //      boundary : create free-standing boundary faces (baffles
            //                 but without the shared points)
            //faceType baffle;
Best regards, Andre
andre.weiner is offline   Reply With Quote

Old   July 24, 2013, 02:19
Default
  #3
Member
 
David Long
Join Date: May 2012
Location: Germany
Posts: 55
Rep Power: 5
keepfit is on a distinguished road
thanks for the tips, Andre.

I will try it today.
keepfit is offline   Reply With Quote

Reply

Tags
createbaffles, internal faces, snappyhesmeshdict

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
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
[ICEM] Generate multiply bodies and then mesh them one by one hz283 ANSYS Meshing & Geometry 1 March 3, 2013 16:27
[ICEM] generate mesh from stl file for mechanical APDL rupan ANSYS Meshing & Geometry 0 September 5, 2012 09:19
TGridFluent mesh with internal by prism layer and internal face for diagnostic sponiar OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 March 30, 2009 15:02


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