Defining a geometry to apply Heat flux - PDEPE Toolbox
4 views (last 30 days)
Show older comments
Hi everyone,
I am making a heat transfer model that shows the impact of laser beam on a small, spherical particle using PDEPE in Matlab. Diameter of the particle is around 60 um, while the laser spot radius is 250 um.
I have created a model after reading the Matlab's example (https://www.mathworks.com/help/pde/ug/heat-conduction-in-multidomain-geometry-with-nonuniform-heat-flux.html).
thermalBC(thermalmodel,'Face',1,'HeatFlux',11713803.81)
If I define the heat flux as above, PDEPE model will assume that the heat flux is apply to all spots around the sphere. However, in my case, the heat flux only apply to half of the sphere - as the laser beam only shine through one side of the particle. How can I define the laser impact area, in order to define the area that the heat flux apply to?
Thank you everyone.
0 Comments
Accepted Answer
Ravi Kumar
on 4 Mar 2020
Exactly as in the example you pointed to, in which you will find:
thermalBC(thermalmodel,'Face',4,'HeatFlux',@externalHeatFlux,'Vectorized','on');
if you look at the externalHeatFlux, it applies heat flux only to certain region based on the value of phi. Modify this function to suite your needs.
3 Comments
Ravi Kumar
on 4 Mar 2020
Qflux(ids) = theta(ids).^2.*(pi - theta(ids)).^2.*phi(ids).^2.*(pi - phi(ids)).^2;
The above line defines value of heat flux as RHS expression. In you case, once you know the ids and defined a zero vector of Qflux, as in the example you can assign the values to the ids as:
Qflux(ids) = 11713803.81
Regards,
Ravi
More Answers (0)
See Also
Categories
Find more on Heat and Mass Transfer 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!