CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Flow though Heated Pipe - thermalSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2021, 08:17
Default Flow though Heated Pipe - thermalSimpleFoam
  #1
New Member
 
Laura Parent
Join Date: Feb 2021
Posts: 3
Rep Power: 5
ayushrai is on a distinguished road
Dear Foamers,

I am very new to OpenFOAM and hence, kindly pardon me if my doubt appears too trivial and dumb. I had read couple of previous OpenFOAM threads about implementation of temperature in simpleFoam, but none of them worked in my case. I am using OpenFOAM-2.4.0-MNF version.

Problem Description : I am simulating a case in which a cold fluid (293K) flows inside a pipe, whose wall is at constant temperature (353K). The pipe is linearly converging in nature with inlet diameter of 10 cms and outlet diameter of 6 cms. The fluid enters the pipe at 5 m/seconds. The flow is incompressible, steady-state and laminar in nature due to which I chose simpleFoam to model this problem.

Since, there are only pressure and velocity fields in simpleFoam, I decided to add temperature equation to it and name it as thermalSimpleFoam. In case of geometry, I created a wedge with small angle of 4 degrees and sufficiently long length (such that it exceeds entrance length). Moreover, I also modified one of the boundary conditions, totalTemperature, and renamed it to convectiveHeatTransfer to implement boundary condition for the Wall.

Issue : My simulation ran successfully without any issue but the results are not satisfying. Analytically in such cases, I expect a parabolic profile for temperature variation from center towards the wall, but I got very weird results.

I have attached thermalSimpleFoam solver codes, case files with time directories (for usage by ParaView to visualize the flow) and boundary condition, convectiveHeatTransfer files as well for your kind reference. The files can be downloaded from the link mentioned below:
https://we.tl/t-oKMPnAS3R1

I, therefore, request you to please take a look at those files and settings, and let me know possible mistakes and corresponding rectifications. I would be highly obliged for your act of kindness.

Thanks
ayushrai is offline   Reply With Quote

Old   March 31, 2021, 04:23
Default
  #2
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hi,


I see that you implemented a BC to run this case. Have you tried to use fixedValue for T? I think that is simpler than implementing a BC, at least for a fast check of your solver.
agustinvo is offline   Reply With Quote

Old   March 31, 2021, 05:22
Default
  #3
New Member
 
Laura Parent
Join Date: Feb 2021
Posts: 3
Rep Power: 5
ayushrai is on a distinguished road
Dear Agustin,

First of all, thanks to you very much for investigating my issue. I appreciate you for taking your time. I had tried that but it didn't give me desired result still. I gave the wall temperature as 900K and fluid inlet temperature as 300K but after completion of simulation, when I plotted the graph of temperature variation along the axial length of pipe, I got weird results. I have attached the image here for your kind reference.

Graph Description : The entire graph is plotted along the centerline of the pipe which is basically the bottom line of the wedge. The x-axis starts from the centerline at inlet and ends at the centerline at outlet (hence, total length is 2 meters). The y-axis shows the variation of temperature along the centerline of the pipe.

Issue : I expect the graph to be slightly increasing from cold temperature (300K) at the start towards somewhat higher temperature (but less than 900K) at the end. But this graph shows that the fluid becomes as hot as that of wall very early which seems unphysical to me.

Your suggestions would be highly appreciated.

Image Link : https://pasteboard.co/JV8hrGv.png

Thanks
ayushrai is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intuition for why flow follows convex surfaces lopp Main CFD Forum 47 February 1, 2022 14:14
hi i have an question for U shape type pipe flow. jmc1tyzen FLUENT 1 April 15, 2020 06:35
High values of heat transfer coefficient for laminar flow in pipe Allankey CFX 2 May 28, 2014 13:44
setup problems - LES pipe flow with cyclic BC (1) and direct mapped inlet (2) florian_krause OpenFOAM 22 June 13, 2013 22:25
[GAMBIT] meshing in GAMBIT, a flow through a pipe having complex inflow geometry mazhar1613 ANSYS Meshing & Geometry 1 January 12, 2012 00:18


All times are GMT -4. The time now is 12:26.