CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   pimpleFoam and porousBafflePressure (https://www.cfd-online.com/Forums/openfoam-solving/234682-pimplefoam-porousbafflepressure.html)

podallaire March 15, 2021 11:26

pimpleFoam and porousBafflePressure
 
Hello,

I've been faced with a problem in the last few days with OpenFOAM 8 that I cannot resolve unfortunately. I'm using a porousBafflePressure BC on couple patches with a model that I'm solving with pimpleFOAM. For some reasons, this boundary condition is somewhat not applied. Some info:

1) For the mesh, the patches are defined as "cyclic" in boundary
2) the BCs are defined as "cyclic" for all fields except for the pressure
3) In the pressure file, I'm using this to define the porousBafflePressure:

Code:

    "porousBaffle"
    {
        type            porousBafflePressure;
        patchType      cyclic;
        jump            uniform 0;
        value          uniform 0;
        D              0;
        I              1.65;
        length          1;
    }

4) pimpleFoam will run but will not calculate any pressure drop for this patch. It seems that it considers the patch as a basic "cyclic" on the pressure as well.

5) I ran in debug mode and I don't get the information that this BC should return

Code:

            << " Average pressure drop :" << avePressureJump
            << " Average velocity :" << aveVelocity

I'm confused since pimpleFoam is compiled with libmomentumTransportModels and porousBafflePressure is included in that library.

Any suggestion?

Regards,

PO

arnauvp April 12, 2021 07:35

porousbafflepressure BC
 
I am having a similar problem when using porousBafflePressure BC. I am working with oenfoam v7 and I only found a tutorial using this boundary condition (damBreakPorousBaffle). My problem is that i am having the same solution with damBreakPorousBaffle and damBreak (without the porous baffle) like the porous membrane is not created or it is not affecting the fluid.

Do you have a set case using porousbafflepressure BC already working?

mpiecuch March 6, 2023 09:50

Hello

Have you found the answer?

Or maybe someone have a tutorial for porous baffle?

Best regards
Mateusz


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