CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

temperature profile won't update when using UNSTEADY IMPLICIT

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By flotus1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2020, 03:29
Default temperature profile won't update when using UNSTEADY IMPLICIT
  #1
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Hello everyone,
I've been doing this heat exchanger simulation for months and I tried out different turbulent models, solvers and mesh sets. The temperature profile updates when I use steady solver but the results are not very accurate compare to my benchmark values. So I tried to use the implicit unsteady solver to see if it gives me a better result. However, the temperature magnitude contour doesn't update when I use the unsteady solver. Same mesh set was used as I used steady solver. Can someone help me to resolve this issue? What could be the reason that causes this problem?
cgswjs is offline   Reply With Quote

Old   July 10, 2020, 04:00
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,400
Rep Power: 47
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Time step size too small? Steady state reached already?
flotus1 is offline   Reply With Quote

Old   July 10, 2020, 04:20
Default
  #3
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Time step size too small? Steady state reached already?
If I can get a reasonable result from steady solver does that mean this is a steady case? I’m using 0.001 for time step right now. I will try larger ones to see if it works
cgswjs is offline   Reply With Quote

Old   July 10, 2020, 04:32
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,400
Rep Power: 47
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Quote:
If I can get a reasonable result from steady solver does that mean this is a steady case?
Either that, or the time step size is just so large that any unsteadiness that might be present gets smoothed out.

For choosing a suitable time step size, you need an estimate of the time scale of the unsteady effects you expect to occur. Otherwise, you are just taking shots in the dark.
flotus1 is offline   Reply With Quote

Old   July 10, 2020, 14:53
Default
  #5
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Either that, or the time step size is just so large that any unsteadiness that might be present gets smoothed out.

For choosing a suitable time step size, you need an estimate of the time scale of the unsteady effects you expect to occur. Otherwise, you are just taking shots in the dark.
Thank you.
cgswjs is offline   Reply With Quote

Old   July 11, 2020, 15:45
Default
  #6
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Either that, or the time step size is just so large that any unsteadiness that might be present gets smoothed out.

For choosing a suitable time step size, you need an estimate of the time scale of the unsteady effects you expect to occur. Otherwise, you are just taking shots in the dark.
Hi there, I have one more question about the unsteady solver. Is it possible that the fluid flow is unsteady but the thermal properties are steady? It seems unsteady solver gives better flow results but won't update the temperature while steady solver updates temperature correctly with poorer velocity magnitude contour. Thank you.
cgswjs is offline   Reply With Quote

Old   July 11, 2020, 16:06
Default
  #7
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,400
Rep Power: 47
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
You might be dealing with conjugate heat transfer. Hard to tell from the information at hand.
flotus1 is offline   Reply With Quote

Old   July 11, 2020, 16:08
Default
  #8
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
You might be dealing with conjugate heat transfer. Hard to tell from the information at hand.
Yes I am doing a simulation for heat exchanger involves heat transfer from solid to fluid. Does this kind of simulation need special treatment to achieve a good result?
cgswjs is offline   Reply With Quote

Old   July 12, 2020, 01:07
Default
  #9
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by cgswjs View Post
Yes I am doing a simulation for heat exchanger involves heat transfer from solid to fluid. Does this kind of simulation need special treatment to achieve a good result?



What software are you using. Your solver is using implicit under-relaxation and the value of it might be low. In the solid regions it should be very high around 0.95 to 0.99 etc.



Set the energy urf to 0.99 and check.


PS: This is why in Wildkatze solver in solids the urf is set to 1 and a separate explicit urf is used to update the temperature.
arjun is offline   Reply With Quote

Old   July 12, 2020, 05:33
Default
  #10
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by arjun View Post
What software are you using. Your solver is using implicit under-relaxation and the value of it might be low. In the solid regions it should be very high around 0.95 to 0.99 etc.



Set the energy urf to 0.99 and check.


PS: This is why in Wildkatze solver in solids the urf is set to 1 and a separate explicit urf is used to update the temperature.
I am using Star CCM+ and I didn't change any URF values. I will try it out. Thank you
cgswjs is offline   Reply With Quote

Old   July 12, 2020, 07:53
Default
  #11
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by cgswjs View Post
I am using Star CCM+ and I didn't change any URF values. I will try it out. Thank you



Starccm has dual under-relaxation and you can set high urf for solids and lower explicit urf for solids. This is provided exactly due to the problem you describe.
arjun is offline   Reply With Quote

Old   July 12, 2020, 17:44
Default
  #12
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by arjun View Post
Starccm has dual under-relaxation and you can set high urf for solids and lower explicit urf for solids. This is provided exactly due to the problem you describe.
I tried your method and the temperature still not updating. I put 0.5 for fluid URF and 1 for solid URF under segregated energy tab. Other URFs were left unchanged. Any idea why?
cgswjs is offline   Reply With Quote

Old   July 12, 2020, 23:50
Default
  #13
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by cgswjs View Post
I tried your method and the temperature still not updating. I put 0.5 for fluid URF and 1 for solid URF under segregated energy tab. Other URFs were left unchanged. Any idea why?



Could you run few iterations with 0.99 in fluid too. You should know that when you make model unsteady it behaves as if it has under-relaxation due to time step size. So basically the behaviour is similar to steady solver with more under-relaxation).
arjun is offline   Reply With Quote

Old   July 12, 2020, 23:52
Default
  #14
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by arjun View Post
Could you run few iterations with 0.99 in fluid too. You should know that when you make model unsteady it behaves as if it has under-relaxation due to time step size. So basically the behaviour is similar to steady solver with more under-relaxation).
I will try it later. I did change time step and max iteration criteria this afternoon and I got a very high residual to 1e50 right after I started the simulation. I think I need to test for the right time step.
cgswjs is offline   Reply With Quote

Old   July 13, 2020, 00:07
Default
  #15
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by cgswjs View Post
I will try it later. I did change time step and max iteration criteria this afternoon and I got a very high residual to 1e50 right after I started the simulation. I think I need to test for the right time step.



What you need to do is to start with largest values of urf possible and largest timestep that make sense to you. Monitor the plots. It might diverge in few iterations but you can see that temperature profile changes.


Now reduce the timestep , keeping urf intact and you will see that it becomes more and more stable. For flow you have 'Dynamic Local Under-Relaxation' option to optimize the urf. What you need is similar option for Energy too.



This option guess the urf that shall be not too small but enough to run the simulation.
arjun is offline   Reply With Quote

Old   July 13, 2020, 00:27
Default
  #16
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by arjun View Post
What you need to do is to start with largest values of urf possible and largest timestep that make sense to you. Monitor the plots. It might diverge in few iterations but you can see that temperature profile changes.


Now reduce the timestep , keeping urf intact and you will see that it becomes more and more stable. For flow you have 'Dynamic Local Under-Relaxation' option to optimize the urf. What you need is similar option for Energy too.



This option guess the urf that shall be not too small but enough to run the simulation.
Thank you. This is what I did this afternoon. I got some temperature on one of the fluid regions. But the residuals start diverging from 5th iteration. I will try the method you said.
cgswjs is offline   Reply With Quote

Old   July 13, 2020, 01:22
Default
  #17
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,400
Rep Power: 47
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I don't think playing with URFs and global time step sizes will get you very far. Transient CHT needs a different approach.
With version 2019.3 CCM+ got a new feature, that allegedly helps with transient CHT: separate time scales for different regions. You should find it under tools->time scales
Disclaimer: I never used it
arjun likes this.
flotus1 is offline   Reply With Quote

Old   July 14, 2020, 19:28
Default
  #18
New Member
 
Ian
Join Date: Jul 2019
Posts: 17
Rep Power: 6
cgswjs is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
I don't think playing with URFs and global time step sizes will get you very far. Transient CHT needs a different approach.
With version 2019.3 CCM+ got a new feature, that allegedly helps with transient CHT: separate time scales for different regions. You should find it under tools->time scales
Disclaimer: I never used it
I tried to lower the URF and enabled dynamic local URF. I also readjusted my time step and I got the residuals converging. At least it's not diverging to me. However, the temperature is not changing too much. I've just ran it for 250 iterations and I got a message of 'Stopping criterion ImplicitUnsteadySolver::Minimum Inner Iterations satisfied.' I'm not sure what this means and I lowered my minimum inner iterations to see what happens. Here's some pictures for my residuals and the temperature profile. I expect the temperature of the air in the outer shell to rise but it stays at 27C. Any suggestiongs?
cgswjs is offline   Reply With Quote

Old   July 16, 2020, 01:43
Default
  #19
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by cgswjs View Post
I tried to lower the URF and enabled dynamic local URF. I also readjusted my time step and I got the residuals converging. At least it's not diverging to me. However, the temperature is not changing too much. I've just ran it for 250 iterations and I got a message of 'Stopping criterion ImplicitUnsteadySolver::Minimum Inner Iterations satisfied.' I'm not sure what this means and I lowered my minimum inner iterations to see what happens. Here's some pictures for my residuals and the temperature profile. I expect the temperature of the air in the outer shell to rise but it stays at 27C. Any suggestiongs?



know that dynamic local urf only work within flow model and has no effect on energy.



If you have access to starccm support then you shall let them know of the problem. Because they can look into the set up and see why it is happening. The behaviour of energy model seem strange at this point to me.
arjun is offline   Reply With Quote

Old   July 16, 2020, 04:30
Default
  #20
Senior Member
 
Ford Prefect's Avatar
 
Join Date: Mar 2009
Posts: 151
Rep Power: 17
Ford Prefect is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
I don't think playing with URFs and global time step sizes will get you very far. Transient CHT needs a different approach.
With version 2019.3 CCM+ got a new feature, that allegedly helps with transient CHT: separate time scales for different regions. You should find it under tools->time scales
Disclaimer: I never used it

Would the same behavior appear in multiphase flows that also exhibit large differences in conductivity between phases? Does Star-CCM+ use a similar method then, or are you limited to URF modification of the energy equation per phase?
__________________
"Trying is the first step to failure." - Homer Simpson
Ford Prefect 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
transient pressure and temperature boundary condition profile inicialization Aurora23 FLUENT 2 April 21, 2015 16:01
UDF to update C_T(c,t) with Unsteady Flamelet Values clarkie_49 Fluent UDF and Scheme Programming 5 September 19, 2013 17:27
Temperature Profile through a fluid solid interface Studentdrak CFX 4 January 31, 2012 22:23
Using a boundary profile file with unsteady, spatially varying data jonnythewlis FLUENT 0 December 8, 2009 15:49
unsteady inlet profile Justin Main CFD Forum 0 July 4, 2007 13:58


All times are GMT -4. The time now is 14:52.