필터 지우기
필터 지우기

Temperature and time dependent pde coefficient, parabolic solver

조회 수: 1 (최근 30일)
Patric
Patric 2014년 11월 5일
댓글: Torsten 2014년 11월 5일
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개)

카테고리

Help CenterFile Exchange에서 Eigenvalue Problems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by