Question regarding xmesh option in pdepe solver

3 ビュー (過去 30 日間)
Deepa Maheshvare
Deepa Maheshvare 2019 年 1 月 1 日
コメント済み: Deepa Maheshvare 2019 年 1 月 2 日
The command xmesh is given as an input to the pdepe solver.
For example
xmesh = 1:1:10
Does this mean the solver internally sets the spacial discretization = xmesh (if no, how is the spacial direction dicretized?)/
Is it just the points at which solution is output?
  4 件のコメント
Torsten
Torsten 2019 年 1 月 2 日
"pdepe" uses the method of lines to solve PDEs. Thus the spatial derivatives are approximated on the "xmesh" defined by the user. The resulting set of ordinary differential equations in time is solved by ODE15S, a general ODE integrator. Thus the "tmesh" you prescribe is only used for outputting purposes. Time integration is done adaptively - the temporal mesh can only be influenced indirectly by the user via the choice of RelTol and AbsTol.
Deepa Maheshvare
Deepa Maheshvare 2019 年 1 月 2 日
Thanks a lot for the clarification

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by