MatMechLab / AsFem

Advanced Simulation kit based on Finite Element Method (AsFem)
https://matmechlab.github.io/AsFem
GNU General Public License v3.0
180 stars 53 forks source link

Alternative to TS from PETSc #41

Closed yangbai90 closed 2 years ago

yangbai90 commented 3 years ago

The R abs tol and R rel tol are not well taken into consideration by PETSc's TS (time-stepping). It will always utilize the PETSc-determined default parameters.

Therefore, it's necessary to have a new time-stepping from AsFem itself.

We could create a new TS by combining the TS from PETSc and the one implemented in AsFem.

yangbai90 commented 3 years ago

It seems the history value may be ignored by the TS during the solution update, we should jump back to the previous implementation. A new time-stepping design should therefore be applied for

yangbai90 commented 2 years ago

This issue has been resolved in 8ffea9aa587c0b19ee3e7648907ba788ee770a94, now we use the built-in time-stepping, no TS anymore.