|
[Sponsors] |
How to Produce a Multiregion Porous Media - simpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2013, 12:19 |
How to Produce a Multiregion Porous Media - simpleFoam
|
#1 |
New Member
David Ouellette
Join Date: Feb 2013
Location: Ottawa, Ontario, Canada
Posts: 12
Rep Power: 13 |
Hey all,
I recently setup a simple case where I have flow between parallel plates and the media between these plates is a porous material. The flow is also governed by Darcy's Law. Now, I want to expand this case to have flow through multiple porous layers, where each porous layer has different properties. Unfortunately, I'm having trouble with the 'easy case' of creating a second layer. I played around with chtMultiRegionSimpleFoam as well as the tutorial case of multiRegionHeater. However, when I ran the tutorial as is, without any modification, it did not converge. I also did not get convergence when I play around with mesh size and boundary conditions. I also noticed that a lot of people seem to have trouble with the same solver. My question though, has anyone tried making a multilayer porous media with this solver (chtMultiRegionSimpleFoam)? One of the challenges that I can foresee is that the fluid and solid regions will coincide. Can chtMultiRegionSimpleFoam handle that? I was also looking into Maria Garcia Camprubi's PhD thesis (http://gfn.cps.unizar.es/?q=node/234) where she modeled a solid oxide fuel cell using OpenFOAM (her version of OF was part of the ext branch, mine is OF 2.1.1). She explained that we can map properties to different regions within a mesh. Does anyone have experience with this technique or know of any good references or start points for this technique? Also, does anyone know of any other possible ways to have multiple regions with different properties? Thanks, David |
|
March 3, 2013, 13:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings David,
If I understand you correctly, what you want are only multiple porous zones, but with not clear separation between fluid zones (i.e. the same fluid goes across all porous zones). If this is the case, check the example I made some time ago: http://www.cfd-online.com/Forums/ope...tml#post408279 post #5 Best regards, Bruno
__________________
|
|
March 3, 2013, 13:14 |
|
#3 |
New Member
David Ouellette
Join Date: Feb 2013
Location: Ottawa, Ontario, Canada
Posts: 12
Rep Power: 13 |
Hi Bruno,
Thanks for your quick reply! I just downloaded the suggested files from your post and I will begin playing around with the model soon. I'll let you know how it all turns out. Thanks again for your help Bruno. Much appreciated! David |
|
March 6, 2013, 17:54 |
|
#4 |
New Member
David Ouellette
Join Date: Feb 2013
Location: Ottawa, Ontario, Canada
Posts: 12
Rep Power: 13 |
Hey Bruno and fellow Foamers,
I started playing with snappyHexMesh (sHM) where the geometry is a simple cube. The tutorial that I followed is shown in this link (https://sites.google.com/site/snappy...mesh/cube-case), where the files can be found in: https://docs.google.com/file/d/0B2KY...ZDg/edit?pli=1 After running the cases and playing around with the geometry, I now want to create a 2D mesh so it better represents my scenario. Unfortunately, when I try this, my solver doesn't agree and crashes after viewing the results in ParaView. The terminal gives the error below. HTML Code:
--> FOAM FATAL IO ERROR:
size 500 is not equal to the given value of 4000
file: /home/fuelcell-laptop/OpenFOAM/fuelcell-laptop-2.1.1/run/FuelCellModels/porousParallelPlatesStl/81/p from line 18 to line 544.
From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 236.
Thanks, David |
|
March 6, 2013, 18:08 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: http://openfoamwiki.net/index.php/Sn...rate_2D_meshes
__________________
|
|
March 6, 2013, 18:23 |
|
#6 |
New Member
David Ouellette
Join Date: Feb 2013
Location: Ottawa, Ontario, Canada
Posts: 12
Rep Power: 13 |
Awesome! Thanks Bruno! I'm not sure how I missed that page when I originally checked OpenFoam Wiki. But nonetheless, thanks!
David |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiphase Porous Media Flow - Convergence Issues | VT_Bromley | FLUENT | 8 | May 30, 2024 03:59 |
Porous media setup issues in Fluent | Bernard Van | FLUENT | 29 | January 26, 2017 05:09 |
How to model granular flow through porous media | Axius | FLUENT | 2 | August 7, 2014 11:34 |
species mass source in porous media ? | PK | FLUENT | 0 | February 16, 2007 12:12 |
porous media: Fluent or Star-CD? | Igor | Main CFD Forum | 0 | December 5, 2002 16:16 |