questions about the 'pdeeig'

3 ビュー (過去 30 日間)
Haya M
Haya M 2020 年 1 月 24 日
編集済み: Ravi Kumar 2020 年 1 月 28 日
I'm using the syntax [?,?]=??????(?,?,?,?.1.0,?,1.0,[−1,1]); to solve a PDE on a given domain with a given ? ,
I have two questions about this syntax
How can I extract the matrices of the finite elements system for the PDE i.e ?
and
how I can assure that the computed eigenvalue say ?(2) corresponds to the correct eigenfunction ?(:,2)? I mean are they eigenpairs? is there any way to check that?
Thanks

採用された回答

Ravi Kumar
Ravi Kumar 2020 年 1 月 24 日
編集済み: Ravi Kumar 2020 年 1 月 27 日
Please use one the newer workflow like general equation based one, Structural or Thermal one. Once you setup your model in one of the newwer workflow you can get matrices using assembleFEMatrices function.
For your second question you can back substitute eigenpair into the equation and make sure the residual is near zero.
Regards,
Ravi
  4 件のコメント
Haya M
Haya M 2020 年 1 月 28 日
Thank you Ravi for the answer,
Do you mean that res = norm((K-l1)*v) ?
best regards,
Haya
Ravi Kumar
Ravi Kumar 2020 年 1 月 28 日
Yep, that's right. Fixed my comment again.
Ragards,
Ravi

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEigenvalue Problems についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by