pde Identify cell number
Show older comments
Hi,
I think it has been asked before but I didn't find the answer I need.
I was able to create a pde model with cell numbers corresponding to the right geometry by luck. See below

The model was imported from a stl file (attached) with the code below.
% Import the geometry
thermalmodel = createpde('thermal','steadystate');
importGeometry(thermalmodel,'PCBA_Dummy_PRT_2.stl');
pdegplot(thermalmodel, 'FaceAlpha',0.5)
% Mesh the Geometry and Determine the Part size
generateMesh(thermalmodel,'Hmax',.09);
thermalmodel.Mesh
% Show cell
pdegplot(thermalmodel,'FaceAlpha',0.25,'CellLabel','on')
title('Geometry with Cell Labels')
% Show face
pdegplot(thermalmodel,'FaceAlpha',0.25,'CellLabel','on')
title('Geometry with Cell Labels')
But is there a way I can identify the cell number without having it show in a plot. For example, I want to identify C1 as -0.4<Z<-0.2 and C2 as -0.2<Z<0.
Thanks,
Derek
Answers (0)
Categories
Find more on Electromagnetics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!