CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Which solver (https://www.cfd-online.com/Forums/openfoam-solving/58971-solver.html)

 braennstroem April 18, 2005 05:53

Hi, I want to calculate the

Hi,

I want to calculate the airflow in a room with heated walls and a ventilation in- and outlet.
Do you have any hint, which solver I should use? I found 'turbfoam' for incompressible, turbulent flow, but it does not seem that it supports buoyancy.
The other solver I found is 'buoyantFoam'. This one is for compressible flow and does not seem to be suitable either...

Can you make a suggestion?

Greetings!
Fabian

 henry April 18, 2005 06:18

'buoyantFoam' is suitable, in

'buoyantFoam' is suitable, in fact it was developed for exactly this kind of flow. Why do you think it is unsuitable? There is also 'buoyantSimpleFoam' for steady-state buoyancy-driven flows.

 braennstroem April 18, 2005 06:55

Hi, because it is for compres

Hi,
because it is for compressible flow!? And usually we use a incompressible solver.

Fabian

 henry April 18, 2005 07:03

... but buoyancy-driven flows

... but buoyancy-driven flows are compressible; the density changes as a function of temperature and pressure!

 braennstroem April 19, 2005 01:14

...but the Ma-number is smalle

...but the Ma-number is smaller than 0.3, so you should be able to use incompressible.

Actually I would be the first at our building technology institute who is using a compressible one.
Doesn't it take longer to get convergence with a compressible solver?

Greetings!
Fabian

 henry April 19, 2005 03:46

You could make the assumption

You could make the assumption of incompressibility if it is appropriate for your problem but remember compressibility is not just about the Ma-number, the density could significantly vary due to pressure changes as a consequence of body-forces e.g. gravity in the atmosphere and I didn't want to limit the kind of buoyancy-diven flows than buoyantFoam could be applied to.

If the assumption of incompressibility is important to you it would not be difficult to remove the compressibility effects from buoyantFoam but I doubt it will make much difference to the performance of the code because it already uses a low-Ma-number pressure solver and the compressibility effects make that slightly diagonally dominant which is beneficial to convergence. The only down-side of maintaining compressibility effects is the possibility of the solution supporting waves which would not be present in a incompressible solution and which you may not be interested in.

 braennstroem April 20, 2005 01:29

I think it is good that there

I think it is good that there is no limit, but in a room it is possible to neglect the change of density due to pressure differences.

I will try the buoyantFoam, but maybe you can give me a hint, how to remove the compressibility effects. My Prof. wants to have incompressible.

Greetings!
Fabian

 henry April 20, 2005 03:15

I am not sure what approximati

I am not sure what approximations your Prof would like you to introduce but you have the source code for buoyantFoam and are free to change it in anyway he feels is appropriate.

Could you please explain why your Prof wants incompressible given that compressible is already implemenented and more realistic? What do you gain from the assumption of incompressibility?

 braennstroem April 21, 2005 01:23

Hi, he mentioned, that it w

Hi,

he mentioned, that it won't converge as fast ...
but I will try out compressible with the low Ma-number pressure solver; I actually did not tell him about that.

Changing it to incompressible, is it enought to take care about the files in :

OpenFOAM-1.1/applications/solvers/heatTransfer/buoyantFoam

Greetings!
Fabian

 henry April 21, 2005 03:31

> he mentioned, that it won't

> he mentioned, that it won't converge as fast ...

How does he know? You said that all the codes you have are incompressible or is there one in which he could have tried both compressible and incompressible? As I have said before running compressible will actually improve the convergence of the pressure solver but may affect the overall convergence by supporting pressure waves but give that your flow is low-Ma and in a small domain I doubt there will be much difference.

> Changing it to incompressible, is it enought to take care about the files in : OpenFOAM-1.1/applications/solvers/heatTransfer/buoyantFoam

Yes.

 braennstroem April 21, 2005 04:10

Sorry, I forgot to mention, th

Sorry, I forgot to mention, that we use fluent and cfx.

As soon, as I get my fluent mesh into OpenFoam, I try out compressible and when I got the incompressible variant (if I can get done), I will compare both and let you know.

Now, I'am actually curious about the differences.

Greetings!
Fabian

 henry April 21, 2005 05:39

FOAM has been compared with CF

FOAM has been compared with CFX for buoyancy-driven flows a few years ago and as far as I am aware the solution algorithms are very similar and CFX also includes the effect of pressure in density as in buoyantFoam. Either way the solutions were VERY similar.

Are you sure you are running CFX totally incompressible for your problems? What assumptions are being made for this? Is the density included in the transport equations but only adjusted as a function of temperature or is it assumed constant except for the buoyancy force?

 braennstroem April 21, 2005 06:28

Boussinesq approximation is us

Boussinesq approximation is used.

 tsencic December 5, 2006 07:45

I would like to simulate buoya

I would like to simulate buoyancy driven convection in a Heavy Fuel Oil tank. Is buoyantFoam suitable for this kind of problems (Oil is incompressible, but viscosity and density change with temperature)?
How can I define the characteristics of Heavy Fuel Oil (density, specific heat, thermal conductivity, viscosity..)?

 hjasak December 5, 2006 17:01

You will need to write your ow

You will need to write your own, probably using Bousinesq assumption. buoyantFoam solvers are all for compressible gasses really and you will want a compressible liquid.

Hrv

 guilherme December 19, 2006 07:08

but at low mach cases wouldn't

but at low mach cases wouldn't compressible gases in buoyantFoam have the same behavior?

 guilherme December 19, 2006 07:27

If I use buoyantFoam to simula

If I use buoyantFoam to simulate heating of a water mass which modifications would I do and where?

thanks!

 rengu October 26, 2007 04:11

Hi i would want to use buoy

Hi

i would want to use buoyantsimplefoam but for incompressible fluids
which modifications i have to do and where?

best regards

 diego_n March 31, 2008 10:09

I am developing a Simple based

I am developing a Simple based code suitable to study flames propagating in atmosphere. To do that I need to consider the effect of gravity, so I was looking to either "buoyantFoam" or "buoyantSimpleFoam" whose UEqns have something not straightforward to me. Indeed developing the RHS of the momentum equation one gets -grad(p)-rho*(grad(gh)), while

 mabinty April 1, 2008 06:06

Dear all! I am about to loo

Dear all!

I am about to look on fires in tunnels (low Mach-Number, buoyant driven flow, radiation; LES) with the help of CFD and searched the web and this forum about information concerning solving this kind of flow in OF. I have the impression that Xoodles could be the most appropriate solver for that. Is this correct? Does this solver also handles the effects of smoke on radiation phenomena?

Thanx for any comment!

Mabinty

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