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 CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by