CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Moving Reference Frame with Porous media (

guido_adriaensen June 9, 2009 11:57

Moving Reference Frame with Porous media
Hello Colleagues,

I would like to analyze a fan combined with a porous region. The fan should be modeled by means of a moving reference frame. I have found the solvers for mrf and porous media, but not a combination. Has this been done by anyone?
Any advice is welcome.

kind regards

vangelis November 23, 2009 12:36

I have exactly the same question in case anyone knows!

fra76 November 24, 2009 17:23

You can create your own solver copying the few needed lines from one to the other.
For example, if you want to integrate MRF in porousSimpleFoam, you need the include file ("#include "MRFZones.H""), the object initialization ("MRFZones mrfZones(mesh); mrfZones.correctBoundaryVelocity(U);") and the source term for the momentum equation ("mrfZones.addCoriolis(UEqn());").
It should be enough...

Hope this helps,

vangelis November 25, 2009 06:09

Dear Francesco,

Thanks for the reply.
I get the idea now.



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