CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Under Relaxation factors in a transient solution (https://www.cfd-online.com/Forums/star-ccm/142705-under-relaxation-factors-transient-solution.html)

JoshuaB October 7, 2014 18:44

Under Relaxation factors in a transient solution
 
I have a question on how Star-CCM+ handles transients solutions when using an under relaxation term.

Traditionally I have done steady state solutions, so the under relaxation terms helped out with convergence. That is u(i+1) = u(i) + R*(u'(i+1) -u(i))

where;
i= iteration
R = Relaxation factor
u = field function be solved for

So for a steady state solution this simply slows down the convergence which can be useful if otherwise the solution will diverge before a proper solution can be found.

However now turning to transient cases....

now "i" is the time step, and thus the relaxation factor while maybe preventing divergence also causes the wrong value to be determined at i+1. If for instance R = 0.5 it is almost like saying you solved for u'(i+1) for time step i, but we will only set it to something between that and u(i). Since we need convergence at each step, this would seem a wrong approach....

I must have something wrong here, can anyone fill me in.

thanks,

Joshua

dai549592484 October 8, 2014 04:55

here "i" should be inner iteration for unsteady case.
You can regard a steady case as a single time step in unsteady case.

JoshuaB October 8, 2014 15:02

Hi David,

Yep, thanks, that answered the question.

Once I looked into it I realized that the default maximum "inner iterations" was way too low. Hence the solution at each time step was never even getting closer to convergence before the solver was forced on to the next time step.


All times are GMT -4. The time now is 04:15.