|
[Sponsors] |
Heated Pipe with Temperature Dependent Density |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 6, 2022, 12:54 |
Heated Pipe with Temperature Dependent Density
|
#1 |
New Member
Join Date: May 2018
Posts: 29
Rep Power: 8 |
Hello,
I want to model a (very simple) tube. Homogenous, perfectly cylindrical, etc. For that I reduced the geometry to an 2D-rectangle, and made it axisymmetric. A picture of (a part of the mesh) is attached. I want the flow to go from left to right. The conditions inside the tube are laminar (by considering the Reynolds number), therefore I chose the laminar viscous model. Now to the interesting part: I want to model a heat source. In reality this should resemble a tube with oil heating it, therefore I calculated the needed heat transmittance coefficient (k in W/m^2 s) from the oil to the outer wall, and then the thermal conduction through the steel. This is fine as well (the oil is assumed to be isothermal). In Fluent I chose "Convective" as a thermal boundary condition, entered the thermal transmittance coefficient and the (isothermal) oil temperature in there. To ensure fully developed flow at the inlet of the tube, I enter a velocity profile at the inlet for the momentum boundary condition (which was beforehand simulated using the inlet conditions). The simulation works fine, as long as I'm not using a temperature-dependent density correlation. As soon as I'm doing that, the continuity goes away and I even get backflow at the outflow BC. Now to the question:
I really feel a little dumb as this seems like a pretty simple task... However it is really bugging me. Thanks to everyone helping!!! CFDJonas |
|
December 7, 2022, 13:41 |
|
#2 |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 125
Rep Power: 4 |
Check your spatial discretization for pressure. If the density is variable, i.e. temperature dependent, you'll want to use PRESTO of Body Force Weighted. Try both and see if it stabilizes your solution.
If the density is changing a lot it may change your flow from laminar to turbulent. Calculate your reynolds number at your minimum density (assuming fluid is at maximum temp) and see if it is turbulent. Try PRESTO and Body force weighted and let me know how it goes. If you're still struggling let me know and we can go from there.
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
|
December 8, 2022, 09:23 |
|
#3 | |
New Member
Join Date: May 2018
Posts: 29
Rep Power: 8 |
Thank you for your answer!
I have tried both, PRESTO! and Body Force Weighted for the Pressure Discretization scheme. Sadly, with no success. The solution is the same. I get a convergence with reverse flow in like half the surface of the outlet. (And a contiunity at ~10^-1). This leads to a "channel" of flow near the wall in complete opposite direction, back to the inlet. You have said Quote:
I have calculated the Reynoldsnumber throughout the whole temperature range I'm considering. It lies between 1600 and 1000. So for me it seems pretty laminar... I have to add that the pressure level is quite high (fluid is in supercritical state). Thank you for your help! |
||
December 8, 2022, 11:38 |
|
#4 | ||
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 125
Rep Power: 4 |
Quote:
Quote:
Some follow-up questions... 1) How are you defining the variable density material property? i.e. Ideal Gas, incompressible ideal gas, etc.? 2) Are any other material properties temperature dependent (viscosity)? 3) If this data is not sensitive, can you provide me the boundary conditions for your set-up so I can set it up myself? I would need... -Working Fluid -Domain geometry (pipe diameter, length) -Material properties -Temperature of the oil and heat transfer coefficient on the walls -Inlet and outlet conditions I can set this up pretty quickly and try and trouble shoot myself.
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
|||
December 8, 2022, 19:36 |
|
#5 | |||
New Member
Join Date: May 2018
Posts: 29
Rep Power: 8 |
Quote:
Quote:
Quote:
Domain Geometry has a high L/D ratio, the diameter is just a few mm. Length about 1 to 2 meters. Material properties are as stated above. Temperature of the oil is in the range of 180 to 220 degree Celsius. Calculated heat transfer coefficient is in the region of 1000 to 4000 W/m^2 K. Inlet is a mass-flow-inlet, for outlet I chose outflow (also tried with pressure-outlet before). I recently updated the mesh to have a entry-length to generate a fully developed flow, before the heating at the wall is activated, and a "exit"-length, after the heating to give the fluid some time before hitting the outlet BC. The wall is therefore now divided in 3 "sections" (adiabatic - convective - adiabatic). Again, thank you so much for your help! If this information is too vague, perhaps we could also have a short call. Then I could better explain the situation and/or tell you more details. |
||||
December 12, 2022, 10:24 |
|
#6 |
New Member
Zhang Haosen
Join Date: Jun 2020
Posts: 7
Rep Power: 6 |
Maybe you could try to increase the heat load gradually from zero, after the solution is converged.
|
|
December 13, 2022, 10:19 |
|
#7 |
New Member
Join Date: May 2018
Posts: 29
Rep Power: 8 |
Hello zimao,
I had that idea as well. Low temperature deltas were fine, but as the delta is getting bigger, the "divergence" also got bigger. But I have good news: I think I solved the problem: The stupid thing was, that I had gravity enabled. This means I had the Boussinesq buoyancy approximation enabled, which in turn assumes constant density... with "big" density gradients due to a temperature-dependence this seems to break the laminar model. Or at least the continuity. With turned-off gravity I get a converging heat transfer problem. Thank you CFDKareem again for your help. With your troubleshooting I came to the point, where I had to look at. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Density based on temperature and species mass fraction UDF | antton | Fluent UDF and Scheme Programming | 10 | September 6, 2021 03:57 |
Getting density, temperature, and other cell flow variables via macros in Fluent UDF | ingabobjoe | Fluent UDF and Scheme Programming | 2 | August 15, 2020 22:08 |
temperature dependent density of water in fluent | sahar.mh | Fluent UDF and Scheme Programming | 0 | November 15, 2019 11:00 |
Fixed Wall Temperature Pipe With Odd Results | khoopes | CFX | 5 | June 15, 2015 08:58 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |