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

mesh generation of porous media

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 3, 2015, 03:18
Default mesh generation of porous media
  #1
New Member
 
Eric Liu
Join Date: Jan 2015
Posts: 6
Rep Power: 3
liu-t11 is on a distinguished road
hi, everyone! I am new to openFoam. Though some simple cases with simple geometry can be done, many solvers and utilities are not familiar.

I am trying to solve a 2D case of porous media, but stuck in generating the meshes. The blockMesh is not so useful for this problem.

I get a txt file to tell the position of the solid and the pore, but do really not know how to generate the meshes. Should I use snappyHexMesh or other mesh generators?

Anyone solving similar questions is welcome to give suggestions and I really appreciate your help!
liu-t11 is offline   Reply With Quote

Old   May 27, 2015, 05:55
Default Porous media generation!!
  #2
Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 96
Rep Power: 2
Saideep is on a distinguished road
Hi Eric;

Though I realise yours is an old thread, did you succeed in accomplishing your task?

I am quite sure you cannot use blockMesh as it can only create more or less structured meshes with arc and splines etc but it would be useful if you can generate a 2D image of your pores or solids on inkscape or blender and convert it to a 3D .stl image and use it over snappyHexMesh.

I have the results something like this(figure 1) for a uniform pore geometry. But it is not of much help as when I inject a fluid at top it just flows quite fast and in the easiest path(straight).

So, next step I tried to create a non-homogeneous pore geometry. But it is surely not easy as when you try to generate the solids randomly there can be several connections inbetween the solids and your snappyhexmesh somehow covers only a small area.

Actually I am impressed by the way how Andrea Ferrari and Ivan Lunati created there random distributed solids in paper: Direct numerical simulations of interface dynamics to link capillary pressure and total surface energy.

If you already have any idea please do share.

Thanks
Saideep
Attached Images
File Type: jpg figure 1.jpg (61.0 KB, 32 views)
File Type: jpg figure2.jpg (94.9 KB, 29 views)
Saideep is offline   Reply With Quote

Old   May 27, 2015, 06:16
Default
  #3
Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 96
Rep Power: 2
Saideep is on a distinguished road
I am interested to keep this thread alive and from my new model for a non-homogeneous porous medium it looks to get some sort of shape.

I had to refine the mesh so much (800*800) to get some sort of meaningful result for the porous medium that is randomly generated using inkscape(to generate random solids), blender (to convert .svg to .stl and from 2D to 3D) and snappyHexMesh to get the required model shape for analysis.

But the problem now is the time. As the dx is going so low, the Co number is too large and thereby ultimately it effects the time step size. However, I will just run basic simulation to see how the results vary from homogeneous case and will keep updated.

Thanks and waiting for any suggestions.
Saideep
Attached Images
File Type: jpg figure3.jpg (43.2 KB, 20 views)
Saideep is offline   Reply With Quote

Old   May 28, 2015, 08:18
Default
  #4
New Member
 
Eric Liu
Join Date: Jan 2015
Posts: 6
Rep Power: 3
liu-t11 is on a distinguished road
hello, saideep:

i am glad that you reply to me. i am using snappyHexMesh to generate mesh for my porous media. the .stl file is obtained from the CT images, which i did some process.

the mesh is as follows.

the
Attached Images
File Type: jpg pore.jpg (74.5 KB, 70 views)
liu-t11 is offline   Reply With Quote

Old   January 19, 2016, 15:22
Default
  #5
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 3
Majed is on a distinguished road
Hello Foamers,

I am new to OpenFOAM. I am trying to simulate a two-phase flow in porous medium using PorousInterFoam solver. I my case I have a permeable wall which I want to simulate it as a surface in which there are many holes so the the porous medium region is connected to the surface flow region. I am wondering if there is an easy way to do that. I am attaching a photo of my geometry for better understanding of my case.

Any help would be greatly appreciated.
Attached Images
File Type: jpg Untitled.jpg (25.5 KB, 4 views)
Majed is offline   Reply With Quote

Reply

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
porous media combustion zuby FLUENT 2 August 31, 2015 04:42
[ICEM] Need urgent help for hybrid mesh generation Pursuor ANSYS Meshing & Geometry 1 August 29, 2012 16:04
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
Consistent mesh for fluid flow in fractured porous media bemgeomechanic OpenFOAM Meshing & Mesh Conversion 0 March 14, 2011 09:46
porous media: Fluent or Star-CD? Igor Main CFD Forum 0 December 5, 2002 16:16


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