I am writing a solver for a system of 12 coupled PDEs. Since some of my equations are advection-dominated, I am implementing an FCT-stabilization algorihm, which needs the solutions at time steps n and n-1 in order to calculate the flux corrections and solve the system at time step n+1.

I checked some source files and found out that the solution at time step n is stored in

- Code: Select all
`Solver%Variable%PrevValues(:,1)`

Is there a way to get the solution at time step n-1?

Thank you very much.

Kind regards,

Andrés