Thanks Andrew. I implemented the changes and the results are as expected.

Bests,
Satyendra


On Fri, Jun 25, 2010 at 17:29, Andrew McBride <[email protected]> wrote:
> the values in the still to be determined solution vector prior to the
> solution process act as the initial guess. you could populate the vector
> randomly if you so desired.
> have a look at tut 21:
> "Before we solve for the pressure during a time step, we don't reset the
> solution variable to zero. The pressure (and the other variables) therefore
> have the previous time step's values at the time we get into the CG solver.
> Since the velocities and pressures don't change very much as computations
> progress, the previous time step's pressure is actually a good initial guess
> for this time step's pressure. Consequently, the number of iterations we
> need once we have computed the pressure once is significantly reduced."
>
> Andrew
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to