Aborting Coupled Iteration

General discussion about Elmer
Post Reply
Franz Pichler
Posts: 196
Joined: 29 Sep 2011, 12:25
Antispam: Yes

Aborting Coupled Iteration

Post by Franz Pichler »

Hello everybody,
I was wondering if there is a way to abort aa coupled iteration early.
I am thinking especially of adaptive timestepping that i included myself after the example of mzenker's solver from viewtopic.php?f=3&t=2674

The mechanism i think of would just set a flag that is recognized and stops the iteration and goes on with the after timestep solvers.
I first thought i can do this by setting the steadyconverged flag of ewvery solver to 1 and in mainutils SolveCoupled() would exit the loop over the couplediterations. The problem is that computechange is setting the steadyconverged flag for every solver.
Is there a way that i haven't thought of? or would it be muc hto ask to implement something like this? (earlystop flag)

best regards
Franz
mika
Posts: 253
Joined: 15 Sep 2009, 07:44

Re: Aborting Coupled Iteration

Post by mika »

Hi,

The effect of performing the subroutine ComputeChange can be avoided if it is found that "Skip Compute Steady State Change = .TRUE.". One possibility might therefore be to reset also the values of these solver parameters in addition to putting Solver % Variable % SteadyConverged = 1 in each solver.

- Mika
Post Reply