|
[Sponsors] |
April 11, 2016, 08:51 |
mesh generation for porous media
|
#1 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
Hai
I would like to generate mesh for random distributes of small sphere inside a cylinder (which in turn result in a porous media). I would like to know how can I approach it for geometry creation i.e how to get a distribution of spheres inside the geometry (cylinder). And how to do the meshing. Could anyone suggest any tutorial for the same |
|
April 26, 2016, 06:45 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,705
Blog Entries: 6
Rep Power: 51 |
Hi,
I do not know what you actually want to do but if I got the point correct you will mesh a cylinder and inside there are small sphere's that at last act as a porous media. So for the inner sphere's you should make a CAD model, and you have to define the diameter and the distribution. After that you can mesh the stuff using snappyHexMesh or even better. If you know the properties of the porous media, just use a porous zone for modelling the flow.
__________________
Keep foaming, Tobias Holzmann |
|
April 26, 2016, 06:50 |
|
#3 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
Hi Tobias
Thanks for the reply. I would like to a structured mesh around the arrangement of spheres.Does snappyhexmesh serve the purpose (I think it would create tetra elements at the intersection of spheres). My intended geometry is as below
__________________
Regards Manu |
|
April 26, 2016, 06:53 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,705
Blog Entries: 6
Rep Power: 51 |
If the sphere's will meet at one point, you will always have problems in meshing. Either you put them a bit away or you make a simplification that the connecting point is replaced with some small tube or sth. like that. Meshing that with blockMesh (good luck). SnappyHexMesh is doing hex-dominant meshing but you can have hex-cells as layers around your spheres. But you should make some simplifications to your spheres. I would prefer the second one.
__________________
Keep foaming, Tobias Holzmann |
|
April 26, 2016, 07:38 |
|
#5 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
Ok. I get your 1 suggestion perfectly..but vcould you please share some info/thread on "simplifications to your spheres" to use snappyhexmesh to obtain structured mesh.
__________________
Regards Manu |
|
April 26, 2016, 09:26 |
|
#6 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,705
Blog Entries: 6
Rep Power: 51 |
Hi,
snappyHexMesh will always return a hybrid mesh (hex-dominant) due to the fact how it works. Anyway I would do it with snappyHexMesh because it can handle it. My suggestion for simplification is in the attachment. On the right hand side you see the spheres that touches at one point. On the LHS I just added cylinders to the connection therefore, it is easier to mesh. I would make it even bigger but that depend on how this will finally influence the solution. I hope it is clear now.
__________________
Keep foaming, Tobias Holzmann |
|
April 26, 2016, 09:31 |
|
#7 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
Ok ..I got it..Just for clarification, the meshing of the image you attached has tetra elements (right side bigger sphere). Is it unavoidable in snappyhexmesh
__________________
Regards Manu |
|
April 26, 2016, 10:04 |
|
#8 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,705
Blog Entries: 6
Rep Power: 51 |
Hi,
this is not a mesh, it is just a surface triangulation (STL). There is no computational mesh in the pictures. If you use snappyHexMesh, please make a good surface mesh (I mean a good surface triangulation).
__________________
Keep foaming, Tobias Holzmann |
|
October 6, 2016, 08:31 |
|
#9 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
__________________
Regards Manu |
|
October 25, 2016, 05:46 |
|
#10 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 14 |
Hi Manu
Have a look at the following work which was presented at the recent OpenFoam Workshop in Portugal. Both the abstract and slides are available below. It looks very similar to your requirements. In this work, they generate a random distribution of packed spheres in a cylinder using Blender and its physics modelling capabilities, then export the surface as an STL, and use snappyHexMesh to generate a mesh of the void space. Abstract http://www.openfoamworkshop.org/asse...1_paper_26.pdf Slides http://www.openfoamworkshop.org/asse...es/OFWP026.pdf Regards, Brian |
|
November 11, 2019, 07:08 |
|
#11 | |
Member
|
Quote:
Your post interests me a lot. I want to generate the porous media too. I want to try the blender software. But I could not download them anymore. The abstract and slides are not available now. Could you share the pdf files again? Best regards, Chengan |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Cartesian mesh generation using provided list of dX, dY, dZ | ripudaman | OpenFOAM Meshing & Mesh Conversion | 0 | April 25, 2017 11:22 |
State of mesh generation | Wandadars | Main CFD Forum | 3 | January 5, 2017 13:51 |
[ANSYS Meshing] Question about mesh generation learning | lnk | ANSYS Meshing & Geometry | 2 | July 7, 2012 07:45 |
ISAAC code mesh generation | morteza08 | Main CFD Forum | 0 | June 15, 2012 10:26 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |