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

Residual transient case, convergence criteria

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2017, 17:13
Default Residual transient case, convergence criteria
  #1
New Member
 
Marius Lang
Join Date: Sep 2017
Posts: 19
Rep Power: 8
Ursmooth is on a distinguished road
Hello, I am relatively new to CFD and I am calculating a flow over a cylinder Re=100,Transient case. I am trying to do a convergence study. You can see by my that my solution start to converge, then it becomes unsteady and the residual goes up, when the solution is "steady unsteady" the residual stays constant. How do you do a convergence study on a transient case? And how do you decrease your residual?

From my understanding a residual is the difference from your previous solution at a time step to the solution at the next time step. For a steady state you would just increase your iterations until your change in solution is met, but my cylinder is oscillating so this will never happen. So what is the criteria for convergence? Do you have to look at the residual before your solution becomes unsteady?
Attached Images
File Type: jpg Screen Shot 2017-09-29 at 23.45.12.jpg (85.8 KB, 13 views)
File Type: jpg Screen Shot 2017-09-29 at 23.44.38.jpg (91.9 KB, 4 views)
Ursmooth is offline   Reply With Quote

Old   September 30, 2017, 03:18
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
No at all, your definition of residual is wrong. I give you an example from a lineaa system A.x=q.
At the kth and k+1 iterations you have

A.xk-q=rk
A.xk+1-q=rk+1

where r is the residual. What you instead defined is

(xk+1-xk)=A^-1.(rk+1-rk)

In terms of the convergence to the exact solution, you can see that you have differences
FMDenaro 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
settlingFoam unstable? bendel_boy OpenFOAM Running, Solving & CFD 38 July 8, 2016 05:07
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 18:17
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 08:35
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34


All times are GMT -4. The time now is 18:08.