|
[Sponsors] |
porousInterFoam with a permeable wall: which BC should be used? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 17, 2015, 12:02 |
|
#21 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
I didn't have time to run my latest case, as I took me around 6 hours to modify the geometry. But, what I am concerned about, is to define the BCs in a way that changing the porosity, affects the velocity field in the surface water. The thing that I could not get, when I changed the internal face to a boundary face . Maybe, in this latest case changing the porosity affects the velocity field, but I don't think that it will be very accurate, because for the first half (before x=7.2 m) it seems that there is no wall (as it is cyclic) and for the second half it is all wall!
If this was the only geometry that I wanted to use, I would implement the idea in my previous post (dividing the porous medium into many parts...), but I want to have simulations with different shapes of the porous medium, so for every case I have to spend around 1-2 days on making the geometry. That's why I would like to have some BCs that switch between cyclic and wall. |
|
August 17, 2015, 12:27 |
|
#22 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
My problem is that I have a boundary which is acting as a wall, and at the same time the flow passes through it. Do you think is that possible to define such a BC?
Best regards, Hessam |
|
August 17, 2015, 12:55 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hessam,
Well, unfortunately I don't have the time needed for implementing a proper boundary condition for this, specially because I don't have enough experience in this kind of advanced boundary condition you're looking for... i.e, it would likely take me several days to do it. Nonetheless, the "groovy6" case you provided gave similar results and after some tests, it seems attached files can get the job done:
Code:
Time = 200 smoothSolver: Solving for Ux, Initial residual = 2.0294e-06, Final residual = 2.54496e-07, No Iterations 2 smoothSolver: Solving for Uy, Initial residual = 0.000210234, Final residual = 1.55541e-05, No Iterations 2 smoothSolver: Solving for Uz, Initial residual = 0.000114592, Final residual = 3.30167e-06, No Iterations 4 GAMG: Solving for p, Initial residual = 0.000465951, Final residual = 2.30545e-05, No Iterations 1 time step continuity errors : sum local = 1.93143e-05, global = 6.60033e-06, cumulative = 0.0276762 smoothSolver: Solving for omega, Initial residual = 3.4969e-06, Final residual = 3.54347e-07, No Iterations 1 smoothSolver: Solving for k, Initial residual = 3.60996e-06, Final residual = 8.3163e-07, No Iterations 1 ExecutionTime = 911.31 s ClockTime = 955 s My guess is that this is enough for your to proceed with your work. Best regards, Bruno
__________________
|
|
August 17, 2015, 13:01 |
|
#24 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Hello Bruno,
I really appreciate your help! I hope your guess will be right! Thank you Hessam |
|
January 19, 2016, 01:25 |
|
#25 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Hello Bruno,
I hope that you are fine. I am still working on the permeable wall in my case. Since I could not find a way for defining an appropriate BC on the permeable wall I divided the porous medium into 23 parts and defined Cyclic and Wall BCs alternatively on each part (just a more precise form of the methodology that you proposed). The results have improved, however I am not satisfied yet! I want to find a way to make the permeable wall as a wall in which there are many holes (depending on the porosity of the materials). I am really impressed by the geometry that I found in paper entitled: "Direct numerical simulations of interface dynamics to link capillary pressure and total surface energy". I am attaching a photo of the geometry to this post. I guess that making such a geometry would be difficult (specifically for me as a beginner). I think since I want to test this geometry, instead of making holes I can replace them with squares. But, anyway I don't know how make such a geometry. Could you tell me what the easiest way is to make a surface which looks the same as the attached figure? Your help would be greatly appreciated. Best regards, Hessam |
|
January 31, 2016, 10:49 |
|
#26 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Hessam,
Sorry, these past few weeks have been very busy for me and only today did I finally manage to properly start looking into questions here on the forum. Quote:
OK, so there are 2 details that we need to take into account:
Let me find a tutorial in OpenFOAM that we can use for practice... A quick search: Code:
find $FOAM_TUTORIALS -name Allrun | xargs grep createBaffles Attached is the package "damBreakPorousBaffle.tar.gz", for which I used OpenFOAM 3.0.x. To use it:
Best regards, Bruno
__________________
|
||
September 16, 2016, 06:28 |
|
#27 | |
New Member
Join Date: Aug 2016
Posts: 12
Rep Power: 10 |
Quote:
I have a much simpler suggestion, why not use darcy equation for the porous region and the usual Navier Stokes for the other medium? Much like conjheat case, only that instead of coupling the temperature equations, use darcy equation? However, I'm not exactly sure if we'd need to make two separate meshes and then couple them together. Also i have another question, the case described by Majed is much more complicated than mine. I'm not looking to model the porous media for now, only the domain through which the fluid flows. I'm running a desalination case. Its single phase but with dissolved salts. The walls need to be made permeable for water while it rejects the salts. Is there any predefined boundary condition or a tutorial similar to my case? Regards, Gohar Shoukat |
||
May 22, 2017, 06:03 |
|
#28 |
New Member
Stefan
Join Date: Oct 2015
Posts: 24
Rep Power: 11 |
Hi Foamers,
i'm facing more or less the same problem searching a BC for a permeable wall. I followed your discussion, but i cant figure out what would be the best solution to get rid of this situation Could you archive any sucess until now? Best Regards Stefan |
|
January 15, 2018, 11:53 |
|
#29 | |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9 |
Quote:
I have a query about the topoSetDict, though. How is the solver informed about when it is to do selection of faces for baffles and deletion of the same? The blocks with actions of "new" and "delete" follow one after the other. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall treatment with OpenFOAM | roby | OpenFOAM Running, Solving & CFD | 48 | May 28, 2021 12:38 |
Enhanced Wall Treatment | paduchev | FLUENT | 24 | January 8, 2018 12:55 |
Porous and permeable wall | narmada | STAR-CCM+ | 0 | May 20, 2014 15:19 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
permeable wall | peter.zhao | Main CFD Forum | 0 | October 23, 2000 09:06 |