Creating Geometry for PDE model

32 ビュー (過去 30 日間)
Thomas Rodriguez
Thomas Rodriguez 2022 年 6 月 20 日
コメント済み: Sean de Wolski 2022 年 6 月 22 日
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!

採用された回答

Sean de Wolski
Sean de Wolski 2022 年 6 月 20 日
What about the doc example isn't sufficient for you? It literally creates a rectangle.
  4 件のコメント
Thomas Rodriguez
Thomas Rodriguez 2022 年 6 月 21 日
Thank you so much!
Could you explain to me how you created R? I'm not sure what the values represent.
Sean de Wolski
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 ExchangeGeometry and Mesh についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by