- **OpenFOAM Running, Solving & CFD**
(*http://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Questions about buoyantPimpleFoam and rhoPimpleFoam**
(*http://www.cfd-online.com/Forums/openfoam-solving/105364-questions-about-buoyantpimplefoam-rhopimplefoam.html*)

Questions about buoyantPimpleFoam and rhoPimpleFoamHi Foamers.
I'm new to openFOAM. I have some problems understanding the descriptions of two solvers which is mentioned in user's guide. as you can see in this link: http://www.openfoam.com/features/standard-solvers.php The descriptions for buoyantPimpleFoam and rhoPimpleFoam are as follows: -buoyantPimpleFoam: Transient solver for buoyant, turbulent flow of compressible fluids for ventilation and heat-transfer. -rhoPimpleFoam: Transient solver for laminar or turbulent flow of compressible fluids for HVAC and similar applications. 1) My first question is that isn't it wrong to say "Compressible Fluids"? as i know we do not have any term as compressible fluids, instead we have "Compressible Flow". so what does it mean? does it mean that these solvers are developed for solving flows which their Mach number is above 0.3? and so we can not solve incompressible flows? 2) My next question follows the first. We do know that must of the HVAC applications take place in low velocities and so in low Mach numbers. Mostly below 0.3. So we can treat them as incompressible flows. If buoyantPimpleFoam and rhoPimpleFoam are designed for compressible flows, so how is it possible for them to be a good choice for HVAC applications? |

Quote:
Quote:
I hope this explanation will help you. Regards, Awais |

Thank you very much for your answer Awais. it helps alot ~
Quote:
1) Well my case is an HVAC application which we have heat transfer in it and so energy equation must be solved for it. Mach number is so low at about the rate of 5e-3. Because of my low Mach number, flow must be treated as incompressible. A question arises that now i must use incompressible solvers and implement energy equation in them or is it better to use buoyantPimpleFoam or rhoPimpleFoam?2) As i said my case is incompressible and so density remains constant. As you know these two solvers, also solve for "rho" while running, but in some cases like in this case when i use these solvers there is no iterations for "rho" and its always 0. Like this:diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0Does it mean that solver has detected that my case is incompressible and so it doesn't solve for "rho"? if there is a condition like this, where is it checked in source of the program? of course while running there is an output for rhoPimpleFoam in terminal which shows rho max/min, like this: rho max/min : 1.186703471 0.9931701431But there is nothing like this in buoyantPimpleFoam.Quote:
Regards, Mojtaba |

Answer to your first question: If I remember there is some tutorial about icoFoam which actually goes step by step about the implementation of energy equation in icoFoam. It is up to you, how you want to approach the problem. If in-compressible solution suits you go for it.
Answer to you second question: If you look into the fvSolution in system directory you will find actually rho is not solved (or calculated) using an iterative method. I think diag suggests that row is computed directly from a diagonal Matrix (but that is just a guess), I am not sure about the implementation. Also I see that difference between your rhomin and rhomax is significant (greater that 5% relative to rhomax). If that's what your case is reporting (after significant convergence) than may be you should check your settings again, you really might need a compressible flow solution to your problem. Regards, Awais |

Quote:
Quote:
"rho.*" { solver PCG; preconditioner DIC; tolerance 0; relTol 0; } can you explain more about diagonal matrix? I have now idea about it. |

Quote:
Regards, Awais |

Quote:
Thanks again for your answers. |

All times are GMT -4. The time now is 04:40. |