フィルターのクリア

Hmax in GenerateMesh to be Different for x, y and z Directions?

5 ビュー (過去 30 日間)
Paul Safier
Paul Safier 2020 年 3 月 18 日
コメント済み: ADSW121365 2020 年 6 月 15 日
I'm using the PDE Toolbox to solve a 3D elliptic problem in cartesian coordinates. The domain has an aspect ratio of about 40 and is a simple slab. The z-direction extends from 0 to 1 and the x and y directions extend from 0 to 40. I want Hmax to be roughly 0.1 in the z-direction and roughly 4.0 in the x and y directions. If I set Hmax to 0.1, obviously the mesh is too fine in the x/y directions and the code takes too long. I'm using Matlab 2019a. Can anyone suggest a solution?
  3 件のコメント
Paul Safier
Paul Safier 2020 年 6 月 10 日
No. Essentially their answer is that it's not possible.
ADSW121365
ADSW121365 2020 年 6 月 15 日
This is possible, just not by meshing using the tools inside of MATLAB. You can use functions like geometryfrommesh to import a mesh made outside of MATLAB. Using tools like GMSH or Tetgen will give you complete control over your meshing parameters and optimisaton. The final mesh can then be imported to the toolbox and used to solve the solution.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by