Ok thanks everyone for your replies, Matt thanks for suggesting TStep, it
solved my problem for reusing the TS objects.
The TS routine are working as intended, and i was able to implement the TS
for the velocities as well, i dropped the use of the natural vector and i
am using just the DM global
On Tue, Jul 9, 2019 at 11:27 AM Smith, Barry F. wrote:
>
>
> > On Jul 8, 2019, at 6:53 PM, Manuel Valera via petsc-users <
> petsc-users@mcs.anl.gov> wrote:
> >
> > Hi Zhang,
> >
> > Thanks to your help i have implemented the TS routine for my temperature
> DMDA array, and it works correctly
> On Jul 8, 2019, at 6:53 PM, Manuel Valera via petsc-users
> wrote:
>
> Hi Zhang,
>
> Thanks to your help i have implemented the TS routine for my temperature DMDA
> array, and it works correctly including in MPI.
>
> The breakthrough for me was realizing that TS steps and max time steps
> On Jul 8, 2019, at 6:53 PM, Manuel Valera via petsc-users
> wrote:
>
> Hi Zhang,
>
> Thanks to your help i have implemented the TS routine for my temperature DMDA
> array, and it works correctly including in MPI.
>
> The breakthrough for me was realizing that TS steps and max time steps
Hi Zhang,
Thanks to your help i have implemented the TS routine for my temperature
DMDA array, and it works correctly including in MPI.
The breakthrough for me was realizing that TS steps and max time steps are
all set up once, and used/advanced all at once when invoked with
TSSolution. So what
On Jul 3, 2019, at 3:10 PM, Manuel Valera
mailto:mvaler...@sdsu.edu>> wrote:
Thanks Zhang for your answer,
I ended up getting a compiling and running TS routine... that does not give me
the answers, and i am not sure what i am doing wrong,
My TS code so far looks like this:
On Jun 26, 2019, at 4:17 PM, Manuel Valera via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
Hi PETSc,
I am trying to implement the Time stepping routines in my model, i have a
working runge-kutta time scheme that goes to the following steps:
* Interpolate u,v,w to the time
Hi PETSc,
I am trying to implement the Time stepping routines in my model, i have a
working runge-kutta time scheme that goes to the following steps:
- Interpolate u,v,w to the time advancing variable position.
- Calculate nonlinear coefficients and advect velocities with a