CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Moving Reference Frame with Porous media (http://www.cfd-online.com/Forums/openfoam/65240-moving-reference-frame-porous-media.html)

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
Guido

vangelis November 23, 2009 12:36

I have exactly the same question in case anyone knows!
thnaks!

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,
Francesco

vangelis November 25, 2009 06:09

Dear Francesco,

Thanks for the reply.
I get the idea now.

Regards

Vangelis


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