필터 지우기
필터 지우기

Finite elements size control in PDE Tollbox

조회 수: 2 (최근 30일)
Mariusz Ostrowski
Mariusz Ostrowski 2019년 2월 16일
댓글: ADSW121365 2020년 6월 12일
Hi
How can I set size of finite elements of the mesh having 2D geometry from edges? I know that I can set maximum size of elements in the mesh but I want to set very small size of elements matched to chosen edge from the geometry and much bigger size for further ones.
My first idea is to generate geometry consisted of high number of very short sections for chosen edges - elements of generated mesh should not be bigger than this sections.
Second idea is to divide domain of solution into areas and for each one generate mesh with different element size limits.
Does exist better way to generate mesh with high density of points in chosen areas (near to chosen edges) and with small density in other places? If not, which method of above ones needs less computational effort (in runned simulation).
Best regards
Mariusz
  댓글 수: 2
Ekaterina Startseva
Ekaterina Startseva 2020년 6월 4일
편집: Ekaterina Startseva 2020년 6월 4일
Hi,
Did you solve this problem? I'm searching the way to control size of finite elements along the given axis of symmetry.
Ekaterina
ADSW121365
ADSW121365 2020년 6월 12일
If you're using the generatemesh function or the 2D PDE Tool, I believe the mesh generation is limited to a graduation of 2 across the mesh, but you can vary it between 1 and 2 to have some control.
Your best approach - thought it will involve a learning curve - would probably be an external mesh generator. There are a bunch of free open-source meshers, my preference is gmsh. Depending on your geometry, there are numerous ways to controll mesh size in different regions from specifying specific element sizes at points, to fine boundary layers near domain-transitions etc.
GMSH comes with the added bonus of built in mesh-optimisation libraries which refine and optimise your FEM mesh vs MATLABs generate mesh which essentially just fills the region with elements.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by