Hi, Could you share the solution ? I would like to implement timestepping using petsc in step-26 and it doesnt seem trivial to me. I didn't find any example.
Thank you Le dimanche 21 avril 2024 à 14:25:57 UTC+3, Praveen C a écrit : > > With the embedded RK in dealii, I could still control this by resetting > max_delta whenever I want to use a fixed delta_t. > > Thanks, I will check out Petsc TS which I have some experience with. I > have to still use same method as above, reset max_delta. > > Arkode seems to give a output_period variable which can be used to control > when solution output is done. > > best > praveen > > > On 20 Apr 2024, at 9:28 PM, Wolfgang Bangerth <bang...@colostate.edu> > wrote: > > > > On 4/20/24 06:05, Praveen C wrote: > >> I am using embedded RK scheme > >> > https://www.dealii.org/current/doxygen/deal.II/classTimeStepping_1_1EmbeddedExplicitRungeKutta.html > >> which chooses the time step in some adaptive manner. > >> I also want to save solution to file at some intervals, e.g., at t = > >> 1.0, 2.0, etc for which sometimes I have to use a definite delta_t so I > >> exactly reach the next time I need to save the solution. > >> I could not figure out how to force evolve_one_time_step to sometimes > >> use the given delta_t. > >> Do you have any suggestion for this ? > > > > I'm not sure these classes were designed for this kind of thing. My > suggestion would be to use the very much more sophisticated interfaces to > SUNDIALS and PETSc's TS sub-system. See also > > https://github.com/dealii/dealii/pull/15540 > > > > Best > > W. > > > > -- > > ------------------------------------------------------------------------ > > Wolfgang Bangerth email: bang...@colostate.edu > > www: http://www.math.colostate.edu/~bangerth/ > > > > > > -- > > The deal.II project is located at http://www.dealii.org/ > > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > > --- You received this message because you are subscribed to the Google > Groups "deal.II User Group" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to dealii+un...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/e8d26112-81ef-47a7-a628-cfc4a706b700%40colostate.edu > . > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/71e70cba-86fc-465d-94a4-588f83f5cf75n%40googlegroups.com.