Reg. PDEPE 's internal discretization of time

조회 수: 1 (최근 30일)
Harry
Harry 2014년 5월 4일
댓글: assionvi hove kouevi 2017년 5월 12일
Hello, I am solving a reaction diffusion equation where there is a radiation term. Now the radiation is given once per day let's say instantaneously. But instead of modelling this instantaneous radiation I took time step to be one day. And modelling the radiation only as a function of space(or x). So I would expect this radiation term to be counted only once and would be equivalent to instantaneous radiation. But I came to know from someone that while solving the problem pdepe might be discretizing time in it's own way during the simulation. Is this so? If this is so then I am in trouble since the radiation term would no longer be counted only once and I would end up giving an overdose. Can someone please shed some light on how pdepe discretizes time internally over and above the discretization I specify? Thanks

채택된 답변

Bill Greene
Bill Greene 2014년 5월 4일
pdepe uses the variable time step ODE solver, ode15s, internally.
The time step size is automatically chosen by ode15s to obtain a prescribed accuracy.
The time discretization that you specify to the pdepe function is only to tell ode15s the points in time where you would like output.
Bill
  댓글 수: 1
assionvi  hove kouevi
assionvi hove kouevi 2017년 5월 12일
Hi Bill,
Is there a way to extract the PDEPE 's internal discretization of time for a given maximum time step?
thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Partial Differential Equation Toolbox에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by