# Defining a geometry to apply Heat flux - PDEPE Toolbox

6 Ansichten (letzte 30 Tage)
Hung Nguyen am 4 Mär. 2020
Kommentiert: Hung Nguyen am 4 Mär. 2020
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.
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 Kommentare-2 ältere Kommentare anzeigen-2 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Akzeptierte Antwort

Ravi Kumar am 4 Mär. 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 Kommentare1 älteren Kommentar anzeigen1 älteren Kommentar ausblenden
Ravi Kumar am 4 Mär. 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
Hung Nguyen am 4 Mär. 2020
Thank you very much! I have looked into the analytical solution and understand it.

Melden Sie sich an, um zu kommentieren.

### Kategorien

Mehr zu Heat Transfer finden Sie in Help Center und File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by