|
[Sponsors] |
December 8, 2011, 03:38 |
buoyuantSimpleFoam & Boundaries
|
#1 | |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
Hi everyone,
I'm stuck on a problem about pressure type boundaries with buoyantSimpleFoam. My case is a simple tank with an inlet and an outlet. I try to force the convection movement by a difference of pressure between the inlet and the outlet : - inlet : pressure : fixedValue = 150 kPa; U : pressureInletOutletVelocity - outlet : pressure : fixedValue = 100 KPa; same for U. The error message I got is : Quote:
If someone has any idea, I'd take it. Aurélien |
||
December 8, 2011, 04:24 |
|
#2 | |
Member
Rob
Join Date: Sep 2011
Posts: 55
Rep Power: 14 |
Quote:
pressureInletOutletVelocity calculates the velocity by the pressure you assigned. Based on the mass inflow let's say with 150 kPa you get 3.98E-06 kg/s. If you now choose a different pressure at the outlet and choose pressureInletOutletVelocity once again you'll get a mass flow according to your pressure. Since the inlet and outlet pressure differ, your mass flows are different as well and that is probably your problem because your "mass balance" is not equal to zero. |
||
December 8, 2011, 04:37 |
|
#3 | ||||
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
Hi Rob,
Yes, I guess you are right and I thought the same thing. So I changed my BCs into walls everywhere. Which is working. And then, I changed the inlet to : Quote:
Quote:
I got the same kind of error message : Quote:
EDIT : When I make a difference between the intlet pressure and outlet pressure (105000Pa and 95000 Pa). The solver iterates few times and then stop with the same error mesage : Quote:
|
|||||
December 8, 2011, 04:44 |
|
#4 |
Member
Rob
Join Date: Sep 2011
Posts: 55
Rep Power: 14 |
I only gave buoyantSimpleFoam a quick try back then so I am not an expert there.
But usually you only fix the pressure at the outlet and use zeroGradient for the inlet. I at least do it this way anytime. I do not know if you can use pressureInletVelocity then as a BC. What is the purpose or the goal of your simulation or what do you want to simulate? |
|
December 8, 2011, 04:53 |
|
#5 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
It should be a pretty easy case (it is with other cfd codes at least) :
I want to simulate the forced convection movement created by a difference of pressure between the inlet and the outlet. EDIT : I did what you suggested : a fixedValue of 90kPa at the outlet. zeroGradient pressure at the inlet. For U : pressureInletOutletVelocity at the inlet and zeeroGradient at the outlet. It computes. I'll keep you updated of the results. Thank you. |
|
December 9, 2011, 03:06 |
|
#6 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
The case is now close to what it should be with fixedValue pressure and free velocity in inlet and outlet.
I still have a problem with the wall boundaries in pressure. In the tutorials, they are using buoyantPressure for walls. When I use it, the case is running during something like 100 iterations. And when I use zeroGradient, it explodes after 3 iterations. If someone has any idea to solve this problem. Thank you. Aurelien |
|
December 9, 2011, 03:30 |
|
#7 | |
Member
Rob
Join Date: Sep 2011
Posts: 55
Rep Power: 14 |
Quote:
Does this mean your case explodes with buoyantPressure for walls as well? Or does your case converge within the 100 iterations? |
||
December 9, 2011, 03:31 |
|
#8 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
It explodes after 100 or 200 iterations (depends on the relaxation factor I used).
|
|
December 9, 2011, 03:33 |
|
#9 |
Member
Rob
Join Date: Sep 2011
Posts: 55
Rep Power: 14 |
Maybe you should post your schemes/solution files and of course your BC's.
Maybe the reason for the simulation blowing up is something else. |
|
December 9, 2011, 10:27 |
|
#10 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
It seems that buoyantSimpleFoam wasn't able to deal with this type of study. I switched to rhoSimplecFoam and it's starting. But now I have some problems to keep the computation stable.
EDIT : It's now working well. If someone could list the limits of the different "buoyant*" solvers, or confirm they are not suitable for high pressure gradients. Thank you. Last edited by Aurelien Thinat; December 10, 2011 at 16:43. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting Flow/Pressure Boundaries in Floworks | Eran | FloEFD, FloWorks & FloTHERM | 3 | August 11, 2009 04:23 |
periodic boundaries - flow through a net | PK | FLUENT | 0 | July 12, 2007 11:58 |
Periodic Boundaries in GAMBIT!! | swetha | FLUENT | 1 | November 26, 2006 22:02 |
problems replacing old boundaries | Jared | Siemens | 4 | August 5, 2005 19:36 |