Temperature and time dependent pde coefficient, parabolic solver

1 次查看(过去 30 天)
Dear all,
I'm trying to implement a coefficient for a parabolic pde which is both time and temperature (solution) dependent.
For instance. d^2u/dx^2 + d^2u/dy^2 + coeff(t,u) = du/dt
Where u is the solution, t is time, d is the partial operator. The coeff(t,u) is a coefficient dependent on both time and solution. The problem is, coeff(t,u) is dependent on the previous time step of the solution. In the matlab solver parabolic, I can't figure out how to access the solution u for the previous time step in the solver (matlab makes it own time discretization while solving the pde).
I want to calculate something like:
coeff(t,u) = u(t-1) + u(t)
while the solver is running. Ideas?
  1 个评论
Torsten
Torsten 2014-11-5
I can't imagine that coeff depends on the solution of the last time step. Otherwise, it were dependent on the size of the time step which must be nonsense.
Best wishes
Torsten.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by