Hello everyone,
I would like to export solutions during the nonlinear iteration process to visualize how the solution converges. Is that possible? To interrupt for instance the Whitney AV Solver every 500 steps and export a vtk file and then resume the original solver.
carsten
VTK Export during nonlinear itterations possible
-
- Site Admin
- Posts: 4868
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: VTK Export during nonlinear itterations possible
Hi
Perhaps you mean convergence of linear system. The nonlinear system is seldom solved for >500 times.
You cannot call solvers from other solvers. Instead you could limit the linear iterations to 500 and set "Linear System Abort Not Converged = False" and use a number of steady state iterations. Then you would solve 500 steps for linear system and save the results in vtu format by ResultOutputSolver, for example.
For BiCGStabl the things should work in rather similar way, but some linear solvers as gcr where you built a cumulative space are then of course restarted. On the other hand, 500 gcr iterations without restart is quite a lot anyway.
-Peter
Perhaps you mean convergence of linear system. The nonlinear system is seldom solved for >500 times.
You cannot call solvers from other solvers. Instead you could limit the linear iterations to 500 and set "Linear System Abort Not Converged = False" and use a number of steady state iterations. Then you would solve 500 steps for linear system and save the results in vtu format by ResultOutputSolver, for example.
For BiCGStabl the things should work in rather similar way, but some linear solvers as gcr where you built a cumulative space are then of course restarted. On the other hand, 500 gcr iterations without restart is quite a lot anyway.
-Peter
Re: VTK Export during nonlinear itterations possible
Hi Peter,
sorry, yes I meant the linear iterations. I will try your solution.
Thank you very much!
carsten
sorry, yes I meant the linear iterations. I will try your solution.
Thank you very much!
carsten