Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-14 Thread Zhang, Hong via petsc-users
tConvergedReason() in your TSPostStep() when certain criteria is met. Hong > Best Regards, > Moritz > > > -Ursprüngliche Nachricht- > Von: Zhang, Hong > Gesendet: Freitag, 14. Dezember 2018 17:13 > An: Huck, Moritz > Cc: petsc-users > Betreff: Re: [petsc-u

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-14 Thread Moritz.Huck--- via petsc-users
oints. Can I get these without setting explicit end times? Best Regards, Moritz -Ursprüngliche Nachricht- Von: Zhang, Hong Gesendet: Freitag, 14. Dezember 2018 17:13 An: Huck, Moritz Cc: petsc-users Betreff: Re: [petsc-users] Solution "jumps" after setting timestep > O

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-14 Thread Zhang, Hong via petsc-users
I suspect that the jump was caused by these restart steps. Hong > -Ursprüngliche Nachricht- > Von: petsc-users Im Auftrag von > Moritz.Huck--- via petsc-users > Gesendet: Freitag, 14. Dezember 2018 12:06 > An: Emil Constantinescu ; Zhang, Hong > > Cc: petsc-users &g

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-14 Thread Moritz.Huck--- via petsc-users
lution "jumps" after setting timestep In this example yes. -Ursprüngliche Nachricht- Von: Emil Constantinescu Gesendet: Donnerstag, 13. Dezember 2018 20:21 An: Zhang, Hong ; Huck, Moritz Cc: petsc-users Betreff: Re: [petsc-users] Solution "jumps" after setting ti

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-14 Thread Moritz.Huck--- via petsc-users
In this example yes. -Ursprüngliche Nachricht- Von: Emil Constantinescu Gesendet: Donnerstag, 13. Dezember 2018 20:21 An: Zhang, Hong ; Huck, Moritz Cc: petsc-users Betreff: Re: [petsc-users] Solution "jumps" after setting timestep Okay, so you start your integr

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-13 Thread Emil Constantinescu via petsc-users
ck on track" >>   TSAdapt basic arkimex 0:4 step  19 accepted t=4.90058    + >> 4.540e+00 dt=4.649e+00  wlte=0.596  wltea=   -1 wlter=   -1 >> *Von:*Zhang, Hong mailto:hongzh...@anl.gov>> >> *Gesendet:*Donnerstag, 13. Dezember 2018 17:39 >> *An:*Huck, Moritz

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-13 Thread Zhang, Hong via petsc-users
17:39 An: Huck, Moritz mailto:moritz.h...@isea.rwth-aachen.de>> Cc: petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> Betreff: Re: [petsc-users] Solution "jumps" after setting timestep Can you show the outputs of -ts_monitor for both cases (one with oscillations and one w

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-13 Thread Constantinescu, Emil M. via petsc-users
On 12/13/18 9:48 AM, Moritz.Huck--- via petsc-users wrote: > If I set the next target time (in tssolve) to be tlast+1e-3 it looks > like this: How do you set the "next target time"? Are you using TSSetTimestep at some discrete time points? If not then the adaptor will adjust it or even ignore i

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-13 Thread Emil Constantinescu via petsc-users
On 12/13/18 9:48 AM, Moritz.Huck--- via petsc-users wrote: > If I set the next target time (in tssolve) to be tlast+1e-3 it looks > like this: How do you set the "next target time"? Are you using TSSetTimestep at some discrete time points? If not then the adaptor will adjust it or even ignore i

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-13 Thread Zhang, Hong via petsc-users
tsc-users@mcs.anl.gov> Betreff: Re: [petsc-users] Solution "jumps" after setting timestep Can you please add command line options -ts_monitor -snes_monitor and show us the outputs? Thanks, Hong (Mr.) On Nov 4, 2018, at 6:19 AM, Moritz.Huck--- via petsc-users mailto:petsc-users@

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-13 Thread Moritz.Huck--- via petsc-users
: Re: [petsc-users] Solution "jumps" after setting timestep Can you please add command line options -ts_monitor -snes_monitor and show us the outputs? Thanks, Hong (Mr.) On Nov 4, 2018, at 6:19 AM, Moritz.Huck--- via petsc-users mailto:petsc-users@mcs.anl.gov> > wr

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-13 Thread Zhang, Hong via petsc-users
r 2018 15:43 An: Huck, Moritz mailto:moritz.h...@isea.rwth-aachen.de>>; petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> Betreff: Re: [petsc-users] Solution "jumps" after setting timestep On 11/3/18 4:56 AM, Moritz.Huck--- via petsc-users wrote: Hi, I am using the IME

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-12 Thread Smith, Barry F. via petsc-users
> On Dec 12, 2018, at 4:09 AM, Moritz.Huck--- via petsc-users > wrote: > > Hi, > sorry I missed the last response. > > The system should be index 1 (being not a 100% certain I calculated > everything correct, it can be at most of index 2). > I cannot show the code easily, the code is quite

Re: [petsc-users] Solution "jumps" after setting timestep

2018-12-12 Thread Moritz.Huck--- via petsc-users
Hi, sorry I missed the last response. The system should be index 1 (being not a 100% certain I calculated everything correct, it can be at most of index 2). I cannot show the code easily, the code is quite complex (the system arises from a FEM discretization). As additional information the s

Re: [petsc-users] Solution "jumps" after setting timestep

2018-11-04 Thread Moritz.Huck--- via petsc-users
: Constantinescu, Emil M. Gesendet: Samstag, 3. November 2018 15:43 An: Huck, Moritz ; petsc-users@mcs.anl.gov Betreff: Re: [petsc-users] Solution "jumps" after setting timestep On 11/3/18 4:56 AM, Moritz.Huck--- via petsc-users wrote: > Hi, > > I am using the IMEX Runge Kutta t

Re: [petsc-users] Solution "jumps" after setting timestep

2018-11-03 Thread Jed Brown via petsc-users
What is the index of your DAE? Can you show us code that exhibits this behavior? "Moritz.Huck--- via petsc-users" writes: > Hi, > > I am using the IMEX Runge Kutta to solve an implicit DAE (G=0). > > When I manually set the time step (TSSetTimestep) my solution jumps. > > If I go from a stead

Re: [petsc-users] Solution "jumps" after setting timestep

2018-11-03 Thread Constantinescu, Emil M. via petsc-users
On 11/3/18 4:56 AM, Moritz.Huck--- via petsc-users wrote: > Hi, > > I am using the IMEX Runge Kutta to solve an implicit DAE (G=0). > > When I manually set the time step (TSSetTimestep) my solution jumps. When you don't set the time step, does it still oscillates? If not, can you check if it os

[petsc-users] Solution "jumps" after setting timestep

2018-11-03 Thread Moritz.Huck--- via petsc-users
Hi, I am using the IMEX Runge Kutta to solve an implicit DAE (G=0). When I manually set the time step (TSSetTimestep) my solution jumps. If I go from a steady state to the same state, it oscilates a few time and comes back to the steady solution. Can this be prevented? Thank you, Mori