|
[Sponsors] |
January 10, 2020, 21:22 |
Outlet temperature too low, bc problem
|
#1 |
Member
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7 |
Hello to everyone, I am simulating a natural convection problem, where only the wavy part of the right side wall is heated, the heated air is flowing upward. The temperature of the air entering the channel is set to 300 K and the temperature of the heated wall to 340 K.
I do not understand why the temperature at the outlet is so low, as you can see in the pictures attached. In the second picture the velocity vectors are shown. I guess the problem is in the bc. Here I copy the bc of the velocity and the temperature. Code:
dimensions [0 0 0 1 0 0 0]; internalField uniform 300; boundaryField { sideWallheated { type fixedValue; value uniform 340; } sideWallsNotheated { type zeroGradient; } inlet { type inletOutlet; inletValue uniform 300; value uniform 0; } outlet { type outletInlet; outletValue uniform 300; value uniform 0; } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { sideWallheated { type noSlip; } sideWallsNotheated { type slip; } inlet { type outletInlet; outletValue uniform (0 0 0); value uniform (0 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } |
|
January 11, 2020, 02:09 |
|
#2 |
Member
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 14 |
Outlet BC for T should be inletOutlet if you want zeroGradient as flow goes out of the domain?
|
|
January 11, 2020, 14:36 |
|
#3 |
Member
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7 |
Hi gkarlsen, thanks for the reply.
I did as you said and actually that problem seems to be fixed, the temperature is high also at the outlet. But now I have a new problem, I observe a strange phenomena, after 140 seconds I can see a sudden lowering of the temperature which lasts for about 10 seconds and afterwards it disappears. I attach a picture of the steady situation (everything red at the outlet) and three pictures of the sudden lowering of temperature phenomena happening at the outlet. What do you think could be the reason? |
|
January 11, 2020, 15:21 |
|
#4 |
Member
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 14 |
Looks like reverse flow, which you can confirm by looking at U in the direction of your outlet. If this is the problem it can be mitigated partly by using totalpressure BC instead of fixedvalue. Also you could take a look at:
https://www.cfd-online.com/Forums/op...ow-outlet.html |
|
January 13, 2020, 20:03 |
|
#5 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
Hello!
Why the temperatures value in both inlet and outlet is 0? That do not make much sense. Increase (replace) those with 300... --------------------------- At inlet use outletInlet and at outlet use inletOutlet You have those reversed! Regards Peter |
|
January 13, 2020, 21:21 |
|
#6 |
Member
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7 |
Hi Peter,
thanks for the suggestion, but actually nothing is changed, it is like that variable did not affect the final result. Still have this backflow phenomena. I attach also the bc for p and p_rgh to see if you can see here some problems Code:
FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { wall { type calculated; value $internalField; } #includeEtc "caseDicts/setConstraintTypes" } Code:
FoamFile { version 2.0; format ascii; class volScalarField; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { sideWallheated { type fixedFluxPressure; rho rhok; value $internalField; } sideWallsNotheated { type fixedFluxPressure; rho rhok; value $internalField; } inlet { type totalPressure; p0 uniform 0; } outlet { type totalPressure; p0 uniform 0; } #includeEtc "caseDicts/setConstraintTypes" } |
|
January 13, 2020, 22:00 |
|
#7 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
Upload the case please!
Last edited by peterhess; January 13, 2020 at 23:03. |
|
January 13, 2020, 22:44 |
|
#8 |
Member
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7 |
I uploaded the case, thanks for the help!
|
|
Tags |
boundaries condition, temperature bc, velocity bc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Impeller: temperature decreasing, should be increasing | artymk4 | OpenFOAM Running, Solving & CFD | 21 | March 10, 2024 20:15 |
Outlet temperature to temperature boundary condition of velocity inlet. (UDF) | dillon | Fluent UDF and Scheme Programming | 3 | March 25, 2018 12:06 |
outlet pressure Boundary settings -velocity streamline under ambient temp.conditions | Vishnu_bharathi | CFX | 12 | November 21, 2017 07:56 |
outlet temperature | jigneshrohit99 | FLUENT | 1 | March 25, 2016 14:26 |
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion | faizan_habib7 | CFX | 4 | February 1, 2016 18:00 |