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

How to generate internal Baffles with exsisting STL mesh?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By keepfit
  • 2 Post By andre.weiner

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2013, 14:47
Default How to generate internal Baffles with exsisting STL mesh?
  #1
Senior Member
 
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14
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
vs1 likes this.
keepfit is offline   Reply With Quote

Old   July 23, 2013, 19:50
Default
  #2
New Member
 
Andre Weiner
Join Date: Aug 2012
Posts: 29
Rep Power: 14
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
vs1 and hogsonik like this.
andre.weiner is offline   Reply With Quote

Old   July 24, 2013, 03:19
Default
  #3
Senior Member
 
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14
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


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[ICEM] generate mesh from stl file for mechanical APDL rupan ANSYS Meshing & Geometry 1 May 5, 2019 22:54
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
[Commercial meshers] TGridFluent mesh with internal by prism layer and internal face for diagnostic sponiar OpenFOAM Meshing & Mesh Conversion 2 March 30, 2009 16:02


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