PDE for mesh element matrix not valid

1 回表示 (過去 30 日間)
Anosh Mevawalla
Anosh Mevawalla 2022 年 10 月 8 日
編集済み: Prateek 2022 年 11 月 16 日
I am trying to import a mesh into the pdecreate command in matlab but i keep getting error that the elements are not connected correctly. The code is attached.
How do i get the element matrix to be correctly input into matlab?

回答 (1 件)

Prateek
Prateek 2022 年 10 月 17 日
編集済み: Prateek 2022 年 11 月 16 日
Hi Anosh,
The nodes matrix in “untitled.m” has all Z's at 0, while elements are tets (4 nodes).
In a solid geometry, all nodes sit in the same plane, and thus the definition in “untitled.m” is invalid. Please make sure the input data for geometryFromMesh” is consistent for either 2-D or 3-D case.
Hope this resolves your issue.
Regards,
Prateek.

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by