[petsc-users] Help and clarification on TS

Stefano Zampini stefano.zampini at gmail.com
Sun Nov 8 13:15:27 CST 2020


https://docs.petsc.org/en/latest/manual/ts/

> On Nov 8, 2020, at 9:51 PM, Edoardo alinovi <edoardo.alinovi at gmail.com> wrote:
> 
> Hello PETSc friend,
> 
> I hope you are all good and safe! 
> 
> During these few days I have been exploring the possibility to use TS for the time integration of the momentum equation in my finite volume solver. Actually I am doing this job with my own routines, however they are quite limited with respect to all the implicit and explicit methods that TS kindly provides. 
> 
> after the space discretization, my equation takes the form:
> 
> dudt = Au + b,
> 
> where A and b are both known.
> 
> I have several question being a beginner on TS,  however at this stage I would like to ask the following questions:
> 
> - Is TSSetRHSJacobian setting the matix A, while TSSetRHSFunction setting the vector?
> 
> - if the first question is yes, do I need to do additional operation to solve the equation implicitly? 
> 
> Many thanks for the suggestions! 
> 
> Edoardo
> 
> 
> 



More information about the petsc-users mailing list