CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to include porosity in porous zones - is there a way?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 2, 2020, 22:40
Default How to include porosity in porous zones - is there a way?
  #1
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10
KTG is on a distinguished road
Hi Foamers,


I am working on a benchmark case of a porous cube in a wind tunnel. I am considering the flow incompressible. I have tried to use pimple foam with a very standard porous zone added through fvOptions.



Two issues have come up that seem to be really destroying my results:


1) There doesn't seem to be anywhere to specify porosity! It seems like to include porosity a new solver would need to be written since porosity would multiply various terms in the NSE that I don't think can be modified by fvOptions. If this is the case, why do we have porous zones in fvOptions - is there a physically defensible situation where you would have momentum extraction due to porous media without porosity effects? In my case, about 50 percent of the flow needs to be diverted around the cube regardless of the darcy-forchheimer coefficients. I looked at porousSimpleFoam, and it seems to have the same problem. Am I missing something here? I think the equations I should be solving should be somthing like equations (1) and (2) in this paper: https://static1.squarespace.com/stat...01452-main.pdf



2) There doesn't seem to be a place to specify density - the flow may be incompressible, but doesn't the affect the total momentum extraction? I measured the pressure drop in paraview to do a dummy check, and concluded that openFoam was operating with rho=1.


Here is an example of the porous zones I have tried:

Code:
porosity1
{
    type            explicitPorositySource;
    active          true;

    explicitPorositySourceCoeffs
    {
        type            DarcyForchheimer;
        selectionMode   cellZone;
        cellZone        cube_C1;

        DarcyForchheimerCoeffs
        {
            d   d [0 -2 0 0 0 0 0] (0 0 0);
            f   f [0 -1 0 0 0 0 0] (.151565 .151565 .151565);

            coordinateSystem
            {
                origin  (0 0 0);
                e1      (1 0 0);
                e2      (0 1 0);
            }
        }
    }
}
https://www.openfoam.com/documentati...r.html#details



I am entertaining any suggestions - the results I am getting are off by an order of magnitude, so.... please help me.


Thanks
KTG is offline   Reply With Quote

 


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
How to define complex porous zones KTG OpenFOAM Pre-Processing 0 July 13, 2018 03:27
Oscillating velocity and porous zones alberto OpenFOAM Running, Solving & CFD 4 October 28, 2016 03:14
Adding porous zones to compressible multiphase solvers Hisham OpenFOAM Programming & Development 8 November 27, 2015 05:14
Wall between porous zones roupcik FLUENT 0 April 15, 2013 07:10
Wall between porous zones roupcik FLUENT 1 April 15, 2013 07:06


All times are GMT -4. The time now is 19:17.