Importing data file to mesh in pdetool?

조회 수: 2 (최근 30일)
Jesse
Jesse 2012년 2월 9일
편집: Image Analyst 2013년 10월 13일
Greetings all,
I have been familiarizing myself with pdeTool for Finite Element applications. I was wondering, can you import data from a data file into the pdetool GUI and mesh it that way? My data actually corresponds to a certain geological feature, so it does have shape, but not the rectangle or circle in pdetool, i.e., it's not uniform geometry, and it would be easier to read it in.
Please let me know your thoughts - I'd like to try it.
Thanks!
-J

답변 (1개)

Bill Greene
Bill Greene 2012년 2월 9일
Hi Jesse,
I don't know of any way to import geometry into the pdetool GUI.
However, an alternative is to use the PDE Toolbox command-line API. If you can represent your geometry as a collection of n-sided polygons, you can pass this to function decsg. decsg returns a representation of the geometry that can be plotted using the pdegplot function and meshed using the initmesh function.
Bill
  댓글 수: 1
Jesse
Jesse 2012년 2월 15일
Bill,
Sorry for the delay in getting back to you - my semester just started up, so you probably know how that goes!
About pdetool, well, is there to simulate other shapes other than rectangles and circles? How about something like a saw-tooth?
Thanks!
-J

댓글을 달려면 로그인하십시오.

카테고리

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