
[Sponsors] 
May 17, 2005, 14:57 
relaxation factors and time accuracy

#1 
Guest
Posts: n/a

I am wanting to create a time accurate model of an unsteady process. Every time step, the solution is changed by deltaV. If I understand relaxation factors correctly,
Vn+1 = Vn + (RF)*deltaV where RF is the relaxation factor. Do all my relaxation factors need to be 1 for the solution to be time accurate? Thanks, Mike 

May 17, 2005, 15:21 
Re: relaxation factors and time accuracy

#2 
Guest
Posts: n/a

This doesn't seen right.
If you're doing an explicit technique, V(n+1) = V(n) + dt*(partial V/partial t)(n), (1) where t is the time and dt is the time step, dt = t(n+1)  t(n). (2) The partial derivative of V wrt t (eqn 1) is evaluated by finite differences, finite volumes, or some such based on the values at t(n). That is explicit, no iteration, no relaxation. If you use an implicit technique, the partial derivative of V wrt t is evaluated at some time between t(n) and t(n+1). Then the right hand side (rht) of eq. 1 depends on the solution V(n+1): V(n+1) = V(n) + dt*(partial V/partial t)(n+?), (3) Eq. 3 may be solved iteratively, perhaps by relaxation. In that case, the accuracy of the solution shouldn't be effected by the relaxation factor chosen [IF the process converges], but the speed of solution is greatly impacted by the value chosen. Often, the process will not converge to a solution if the relaxation factor is too large! You might thoroughly sort out first the concepts of explicit and implicit methods, then look into solution techniques for the implicit methods. 

May 17, 2005, 16:08 
Re: relaxation factors and time accuracy

#3 
Guest
Posts: n/a

Here's what Jim said in short form:
If your index 'n' denotes a realtime level, then you're doing explicit time marching, and your relaxation factor must be 1 (i.e. no relaxation). If the index 'n' denotes one of many iterations within one realtime step in an implicit method, then you can (and should) apply relaxation. It really sounds like you might be confusing both methods right now. 

May 17, 2005, 17:53 
Re: relaxation factors and time accuracy

#4 
Guest
Posts: n/a

Thanks guys,
I'm using Fluent, with an implicit solver. The help files tell me nothing about time accuracy. I'm currently using underrelaxation, and 30 iterations per time step. The iterations per time step make me think that If the index 'n' denotes one of many iterations within one realtime step in an implicit method, then you can (and should) apply relaxation. Will this work? Thanks for you time, Mike 

May 18, 2005, 08:44 
Re: relaxation factors and time accuracy

#5 
Guest
Posts: n/a

Thanks Mani,
Very nice clarification of what I tried to say! Jim 

May 18, 2005, 12:30 
Re: relaxation factors and time accuracy

#6 
Guest
Posts: n/a

So you are using Fluent. I would like to assume that their code is doing the right thing, so I don't see whyrelaxation of the implicit scheme doesn't work. You should check if 30 iterations are enough for convergence within each time step. Underrelaxation may increase stability at the expense of convergence, so don't use it excessively, and increase the number of iterations.
What was the reason for applying underrelaxation? Stability problems? 

May 18, 2005, 14:03 
Re: relaxation factors and time accuracy

#7 
Guest
Posts: n/a

I used underrelaxtion to stop the residuals from blowing up. I also tried reducing the time step, but it needed to be excessively small to work without underrelaxation. I have enough iterations per time step that my code does converge every time step.
Thanks for the help, Mike 

May 21, 2005, 12:41 
Re: relaxation factors and time accuracy

#8 
Guest
Posts: n/a

I have just an experience answer for the time accurate question. I have a finte volume implicit Patankar type code(compressible) and have done turbo engine stall inlet inlet unstart problems with it to good effect. I found that if I under relaxed the pressure the result would be to introduce a time lag in the pressure pulse. If I kept the relaxation of the pressure at 1.0 phase would match experiment(I also did studies with shock reflection problems to develop the approach). The relaxation of velocity and temperature did not seem to affect the result. I have no theory for this, just observation.


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Floating point exception error  Alan  OpenFOAM Running, Solving & CFD  10  April 6, 2012 14:02 
Purpose of relaxation factors  Mohsin  FLUENT  5  April 30, 2010 11:57 
Relaxation factors  Vidya Raja  FLUENT  7  September 26, 2006 20:00 
Time accuracy  Mike  FLUENT  0  May 17, 2005 14:56 
Relaxation Factors  Tim  Phoenics  3  June 30, 2004 02:03 