[petsc-users] Help and clarification on TS
Stefano Zampini
stefano.zampini at gmail.com
Sun Nov 8 15:47:28 CST 2020
Please always use "reply-all" so that your messages go to the list.
This is standard mailing list etiquette. It is important to preserve
threading for people who find this discussion later and so that we do
not waste our time re-answering the same questions that have already
been answered in private side-conversations. You'll likely get an
answer faster that way too.
>
> Thanks for this link! So if i am understanding correctly, i can provide both rhs jacobian (which is A) and tje G function (Au+b), this way i can ru either fully implicit, either explicit. Am i right?
>
Correct
> Thanks
>
> On Sun, 8 Nov 2020, 20:15 Stefano Zampini, <stefano.zampini at gmail.com <mailto:stefano.zampini at gmail.com>> wrote:
> https://docs.petsc.org/en/latest/manual/ts/ <https://docs.petsc.org/en/latest/manual/ts/>
>
> > On Nov 8, 2020, at 9:51 PM, Edoardo alinovi <edoardo.alinovi at gmail.com <mailto: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
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201109/a8b160d4/attachment.html>
More information about the petsc-users
mailing list