Creating Geometry for PDE model
조회 수: 14 (최근 30일)
이전 댓글 표시
I'm trying to create a 2-D domain for my PDE model. I've been using MATLAB's examples for Partial Differential Equation Toolbox as references, but none of them construct their own geometry.
What I'm trying to create is a rectangular domain which has the following specifications. X-domain: [-117.25, -117.0] and Y-domain: [32.55,33.03]
How could I do this to input into the geometryFromEdges() function?
Thank you!
댓글 수: 0
채택된 답변
Sean de Wolski
2022년 6월 20일
What about the doc example isn't sufficient for you? It literally creates a rectangle.
댓글 수: 4
Sean de Wolski
2022년 6월 22일
I used the doc example opened with below and modified it to suit (i.e. didn't use the circle), but the definition of R in decsg is here: https://www.mathworks.com/help/releases/R2022a/pde/ug/decsg.html#bu_fft3-gd
openExample('pde/GeometryFromDecomposedSolidGeometryExample')
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!