Thermal Analysis of a simple CAD file (.stl)
6 次查看(过去 30 天)
显示 更早的评论
Dear,
I try to make a simple thermal analysis in Partial Differential Equation Toolbox. I have combine two cubes with different length in a CAD software and have export it to the format .stl . Here is the picture of the two combine cubes:
After that I mesh the model and set the temperature at Face 5 (F5) to 90°C and Face 12 (F12) to 20°C. Here is the temperature distribution. It looks like that the two cubes are not combined. What can I do that the two cubes are connected and we have a heat flow between them? In the attachment you will find the necessary files.
Thank you very much for your help. Best regards Erdal
thermalmodel = createpde('thermal','steadystate');
importGeometry(thermalmodel,'CombineCubes.stl');
pdegplot(thermalmodel, 'FaceAlpha',0.5,'FaceLabels','on','CellLabels','on')
mesh=generateMesh(thermalmodel)
pdemesh(thermalmodel);
T1 =90;
T2 = 20;
thermalProperties(thermalmodel,'cell',1,'ThermalConductivity',0.15);
thermalProperties(thermalmodel,'cell',2,'ThermalConductivity',0.3);
thermalBC(thermalmodel,'Face',5,'Temperature',T1); %Temperature upside
thermalBC(thermalmodel,'Face',12,'Temperature',T2); %Temperature downside
results = solve(thermalmodel);
pdeplot3D(thermalmodel,'ColorMapData',results.Temperature)
caxis([0 100])
1 个评论
Ravi Kumar
2018-5-21
Hi Erdal,
Is it correct to say you want to define different thermal conductivity for each block?
What version of MATLAB are you using?
I can suggest a workflow depending on your MATLAB version.
Regards, Ravi
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!