CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Energy residual changing between two values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2017, 09:34
Default Energy residual changing between two values
  #1
New Member
 
Join Date: Oct 2017
Posts: 26
Rep Power: 8
Foxhunter is on a distinguished road
Hello all,

I am simulating combustion in a flare. For this I am using the transient solver, the solution has a hard time converging in the steady state solver. But here is the problem: My energy residual keeps switching between two values. If I change the timestep the values change, but it still switches between two values(so for a timestep of 1e-5s it switches between 1,311e-4 to 3,843e-4 and with a timestep of 1e-6 it switches between 1,423e-5 to 4,562e-5). If I reduce the residual far enough (0,5 or lower) it gets stuck on one value. How do I solve this?
Thanks!
Foxhunter is offline   Reply With Quote

Old   November 2, 2017, 11:45
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Are you sure that you are not just seeing the normal convergence behavior of a transient simulation? High residuals at the beginning of a time step that are then reduced to lower values during the inner iterations...
flotus1 is offline   Reply With Quote

Old   November 3, 2017, 01:13
Default
  #3
New Member
 
Join Date: Oct 2017
Posts: 26
Rep Power: 8
Foxhunter is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Are you sure that you are not just seeing the normal convergence behavior of a transient simulation? High residuals at the beginning of a time step that are then reduced to lower values during the inner iterations...
Maybe... I'm just wierded out because it starts jumping between two values after some iterations. For each timestep the same values!
Foxhunter is offline   Reply With Quote

Old   November 3, 2017, 03:52
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
You can upload a screenshot if you want.
Until then I suspect the residuals look like this.

flotus1 is offline   Reply With Quote

Old   November 3, 2017, 04:01
Default
  #5
New Member
 
Join Date: Oct 2017
Posts: 26
Rep Power: 8
Foxhunter is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
You can upload a screenshot if you want.
Until then I suspect the residuals look like this.

If only...
It converges a little bit, and then it starts changing between the same two values in one timestep. So basically it starts to oscillate between two set values untill the maximum iterations/timestep is reached. And then it does it again for the next timestep.
Foxhunter is offline   Reply With Quote

Old   November 3, 2017, 04:33
Default
  #6
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
A picture is worth a thousand words...
flotus1 is offline   Reply With Quote

Old   November 3, 2017, 05:09
Default
  #7
New Member
 
Join Date: Oct 2017
Posts: 26
Rep Power: 8
Foxhunter is on a distinguished road


It looks worse than it is. The first few timesteps look like the image you uploaded, it became so irregular after the spark ignition kicked in. I could not replicate the "jumping between two set values", but this is definitly how it looked. What do you think?
Foxhunter is offline   Reply With Quote

Old   November 3, 2017, 05:26
Default
  #8
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Looks fine to me. The time step size might be too high which causes a high level for the continuity residual and poor convergence in general.
flotus1 is offline   Reply With Quote

Old   November 3, 2017, 05:28
Default
  #9
New Member
 
Join Date: Oct 2017
Posts: 26
Rep Power: 8
Foxhunter is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Looks fine to me. The time step size might be too high which causes a high level for the continuity residual and poor convergence in general.
I tried decreasing the time step to 1e-8... Even then it does not converge good. I also changed the relaxation factors, no joy there either. Maybe it's so unstable that normal convergence cannot be achieved?
Foxhunter is offline   Reply With Quote

Old   April 21, 2019, 05:00
Default
  #10
New Member
 
D.Sarangi
Join Date: Apr 2019
Location: Chennai
Posts: 1
Rep Power: 0
Debi is on a distinguished road
Hi
I am also facing same type of problem.Did u get the solution!!!
Thanks
Debi 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
Suppress twoPhaseEulerFoam energy AlmostSurelyRob OpenFOAM Running, Solving & CFD 33 September 25, 2018 17:45
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
HeatSource BC to the whole region in chtMultiRegionHeater xsa OpenFOAM Running, Solving & CFD 3 November 7, 2016 05:07
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24


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