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

2D permeable (porous) internal walls inside the main domain

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Phicau
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2016, 00:23
Default 2D permeable (porous) internal walls inside the main domain
  #1
Member
 
Milad
Join Date: Jul 2015
Location: USA
Posts: 45
Rep Power: 11
mizzou is on a distinguished road
Dear friends,

I am so overwhelmed in my problem and I cannot figure out after spending too much time. I would more than appreciate if anyone could please provide me any comment how to solve that. I used to apply the solver interFoam to simulate air-water two-phase flow inside a 2D pipe (which is a simple rectangular channel). Now, I want to add a porous zone inside that old domain. In other words, I should have a secondary rectangular inside the bigger one while the walls of the inner one should be permeable. I have attached the schematic of what I am saying hereby. I really don't know how to create my second domain inside the main one.
Any help is highly appreciated.

Thank you,
Attached Images
File Type: jpg Geometry.JPG (29.2 KB, 101 views)
mizzou is offline   Reply With Quote

Old   October 7, 2016, 02:41
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Milad,

you can try olaFlow ( https://sites.google.com/view/olaflowcfd/ ).

You can add a porous medium inside your domain easily with setFields, and define the porosity, mean grain size (D50) and linear and nonlinear drag coefficients. Check out the CR35_dambreak tutorial.

Best,

Pablo
mizzou likes this.

Last edited by wyldckat; December 29, 2017 at 23:32. Reason: renamed "olaFoam" to "olaFlow" and updated respective link
Phicau is offline   Reply With Quote

Old   October 7, 2016, 17:15
Default
  #3
Member
 
Milad
Join Date: Jul 2015
Location: USA
Posts: 45
Rep Power: 11
mizzou is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Hi Milad,

you can try olaFoam ( https://sites.google.com/site/olafoamcfd/ ).

You can add a porous medium inside your domain easily with setFields, and define the porosity, mean grain size (D50) and linear and nonlinear drag coefficients. Check out the CR35_dambreak tutorial.

Best,

Pablo
Pablo,

Thank you so much for the reply and information. As I am new to OpenFOAM, I am not familiar with olaFoam. I thought I can use porousInterFoam to deal with multiphase flow and porous medium. I will study about olaFoam to figure out.
About creating the porous medium with setFields, I thought setFields just create a certain domain at initial time. Am I wrong?
And also, I do not want to create a porous area. Actually what I need is an inner rectangular with permeable edges. Still I can make that with setFields? Because I thought I should use topoSet utility to make that.

Again, I do appreciate for your help.

Thanks
mizzou is offline   Reply With Quote

Old   October 9, 2016, 22:47
Default
  #4
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Milad,

with setFields you create an initial condition, so if the field (porosity) is not meant to change during the simulation, it will remain the same.

I actually though that you were aiming to set a porous zone. If you want a wall instead, you can still create it this way, but your wall would need to be at least one cell thick.

Probably what will work better for you is a porous baffle, you can find info in the forum about that.

Best,

Pablo
mizzou likes this.
Phicau is offline   Reply With Quote

Old   October 10, 2016, 02:05
Default
  #5
Member
 
Milad
Join Date: Jul 2015
Location: USA
Posts: 45
Rep Power: 11
mizzou is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Hi Milad,

with setFields you create an initial condition, so if the field (porosity) is not meant to change during the simulation, it will remain the same.

I actually though that you were aiming to set a porous zone. If you want a wall instead, you can still create it this way, but your wall would need to be at least one cell thick.

Probably what will work better for you is a porous baffle, you can find info in the forum about that.

Best,

Pablo
Pablo,

Your great response and info are highly appreciated. I will look for porous baffle for sure.

Thank you!
mizzou is offline   Reply With Quote

Reply


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
[ICEM] Defining Interfaces and Splitting Internal Walls ICEM-FLUENT pmtgt ANSYS Meshing & Geometry 8 June 4, 2021 08:15
[ICEM] Generate Mesh on Internal walls avila.vc ANSYS Meshing & Geometry 0 July 2, 2015 22:11
Modeling internal flow with normal velocities on walls- permeable walls AliMadayen CFX 5 April 27, 2014 20:06
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
Defining porous media inside a domain SH_P FLUENT 6 May 7, 2012 03:17


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