PDE toolbox and load on nodes

14 ビュー (過去 30 日間)
haoran liu
haoran liu 2019 年 12 月 10 日
コメント済み: haoran liu 2019 年 12 月 14 日
I use the PDE Toolbox to analysis a discrete geometry, and I want to put the force vector on a point. But I can't define a point through the syntax "loadedVertex". Is there any other option to define the point? thank you!

採用された回答

Ravi Kumar
Ravi Kumar 2019 年 12 月 10 日
The function addVertex was introduced in R2019b. You might be running an older version of the MATLAB to get this error.
Regards,
Ravi
  1 件のコメント
haoran liu
haoran liu 2019 年 12 月 12 日
Thankk you! But when I use the R2019b, I got another error. I can get the VertexID, But I can't put the force on the points.
2019-12-11 212920.jpg

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

その他の回答 (2 件)

Ravi Kumar
Ravi Kumar 2019 年 12 月 12 日
OK, in that case can you number the number of verteices in the model:
>> gm
Do you see the new VertexID in the plot you make?
Regards,
Ravi

haoran liu
haoran liu 2019 年 12 月 13 日
編集済み: haoran liu 2019 年 12 月 13 日
Thank you for your answer. Yes, I can see the new VertexID in my model. But I can't solve it with force.
Regards,
haoran
  6 件のコメント
Ravi Kumar
Ravi Kumar 2019 年 12 月 13 日
Thank. Now I see the issue. You generated mesh before adding vertex. Do all geometry operation before generating mesh. If you move the addVertex to right below importGeometry, you should not get this error.
Regards,
Ravi
haoran liu
haoran liu 2019 年 12 月 14 日
Thank you! It works
Regards,
haoran

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

カテゴリ

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