PDE Thermal Model with heat produced as a function

8 vues (au cours des 30 derniers jours)
Ben Sheard
Ben Sheard le 4 Sep 2017
Commenté : Ben Sheard le 6 Sep 2017
I am doing a thermal Problem similar to the Mathworks rod example. But rather than having constant heat production throughout the geometry I have heat production varying with Location, time, temperature and another variable (current). How specify my heat source as a function of Location (x and y) ? Thank you in advance Ben

Réponse acceptée

Alan Weiss
Alan Weiss le 5 Sep 2017
To write the surce as a function of time and temperature, follow this example. In short, give the heat source as a function that takes two arguments, region and state. Toolbox function pass these arguments, whose values you can see described, for example, here. Your heat source function should return a row vector of values of the same number of elements as in, for example, the region.x field.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 commentaire
Ben Sheard
Ben Sheard le 6 Sep 2017
Thank you for your reply. That is the exampel I have been following, but the heat source is ocnstant throughotu the Region and time q = 20000; % heat source, W/m^3 i do not think it is dependant on time or temperature I'm struggling to find a godo exampel that explains that article you linked. Thank you again for your help

Connectez-vous pour commenter.

Plus de réponses (1)

Precise Simulation
Precise Simulation le 5 Sep 2017
If you are using the FEATool Multiphysics Toolbox it is possible enter PDE coefficients as regular string expressions, for example the expression '42/x+y*Tx^2-sqrt(pi*V)', would be a perfectly valid equation, boundary, or postprocessing coefficient (where x and y are space coordinates, Tx the x-derivative of T, and V another dependent variable). The linked heat transfer model example illustrates this with time and a switch expression.
  1 commentaire
Ben Sheard
Ben Sheard le 5 Sep 2017
Thank you for your reply! Unfortunately I do not have this toolbox. Do you know another way just with the PDE toolbox? Thank you

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by