Heat transfer, mesh sensitivity analysis?
이전 댓글 표시
Hi
I need to do a grid sensitivity analysis and to find the best node size which gives the most accurate heat loss. But the problem is that I found decreasing the node size changes the heat loss but it never converges. I changed the code to the simplest case with constant temperature on the boundaries but still, I see the same problem.
(the domain is two dimentionl with attached boundary conditions.)
It would be appreciated if help me.
I have attached my code.
댓글 수: 3
J. Alex Lee
2021년 1월 2일
from what I can tell, you want to monitor the value of g as a function of mesh resolution, but it cannot be plotted because I think it is not indexed correctly. can you show what your [non-]convergence looks like? It's possible since you appear to be using first order derivatives that you just aren't getting high enough resolution to get into the convergence regime.
how are you assessing convergence? are you trying to fit a power law in mesh size?
also your code is inefficient - pay attention to teh warnings about preallocation and sparse indexing.
Roya Rajabi
2021년 1월 3일
편집: Roya Rajabi
2021년 1월 3일
J. Alex Lee
2021년 1월 3일
that looks pretty convergent to me...the power law needs to be in 1/num_nodes
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!