defining geometry in pdetool

5 ビュー (過去 30 日間)
dileesh pv
dileesh pv 2013 年 1 月 20 日
Can anyone suggest me how to generate a complex geometries other than those defined already in pdetool. I tried using pdepoly with the coordinates of the geometry as arguments. But it gives "Geometry error"
The coordinates I used are [0.0001 0 0 0 0 1.00E-06 2.51E-06 9.76E-07 8.07E-06 9.26E-07 1.59E-05 8.66E-07 2.50E-05 8.13E-07 3.41E-05 7.75E-07 4.19E-05 7.57E-07 4.75E-05 7.51E-07 5.00E-05 7.50E-07 5.25E-05 7.51E-07 5.81E-05 7.57E-07 6.59E-05 7.75E-07 7.50E-05 8.13E-07 8.41E-05 8.66E-07 9.19E-05 9.26E-07 9.75E-05 9.76E-07 0.0001 1.00E-06 ]
Can some one tell me what the problem is?
Thanks Dileesh
  3 件のコメント
dileesh pv
dileesh pv 2013 年 1 月 21 日
That data was in csv format.. The real data is
x_coordinate= [0.0001 0 0 2.51E-06 8.07E-06 1.59E-05 2.50E-05 3.41E-05 4.19E-05 4.75E-05 5.00E-05 5.25E-05 5.81E-05 6.59E-05 7.50E-05 8.41E-05 9.19E-05 9.75E-05 0.0001 ]
Corresponding y_coordinate=[0 0 1.00E-06 9.76E-07 9.26E-07 8.66E-07 8.13E-07 7.75E-07 7.57E-07 7.51E-07 7.50E-07 7.51E-07 7.57E-07 7.75E-07 8.13E-07 8.66E-07 9.26E-07 9.76E-07 1.00E-06 ]
dileesh pv
dileesh pv 2013 年 1 月 21 日
And this data is supposed to generate a domain with three straight edges and fourth edge is a parabola.

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

回答 (1 件)

Shashank Prasanna
Shashank Prasanna 2013 年 1 月 21 日
Do you have more than one geometry? I am able to execute pdepoly with your data and it works fine.
Could you paste the 'exact' error message you see on the command line?
Also check if this is relevant to you:

カテゴリ

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