How should I choose maximum mesh size for thin elements?
显示 更早的评论
I am currently using PDE toolbox to simulate heat transfer of a body consisting many thin layers (magnitude of 1-e6 m). Whenever the amount of thin layers is high, the ODEsolver (ode15s) runs into singularity. By mesh generation I use
generateMesh(thermalmodel, 'Hmax', '0.001')
and when I reduced the Hmax to 0.01 I can simulate more layers. My question is, what is the criteria to best choose my Hmax value?
Also when I change the thickness of my thin layers, say, thicker, the ode solver runs into singularity faster. What factors determine the solution of my ode solver?
Thank you.
回答(1 个)
Ravi Kumar
2018-4-24
0 个投票
Your setup seems to be resulting in an ill-conditioned system of equations. Hard to tell without seeing the actual setup. Contact support with reproduction code to see if there are any workaround.
类别
在 帮助中心 和 File Exchange 中查找有关 Boundary Conditions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!