필터 지우기
필터 지우기

defining geometry in pdetool

조회 수: 3 (최근 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에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by