Is it possible to use evaluateHeatRate function using results obtained with pdetool?

1 visualización (últimos 30 días)
Dear all:
I am trying to compute heat rate through an edge in a transient 2D heat equation problem I've solved with pdetool. I'd like to use evaluateHeatRate function, but I don't know how. I can export the solution and boundary conditions fromn pdetool, but I don't know how to convert them into valid evaluateHeatRate inputs.
Thanks in advance.

Respuestas (1)

Dhruv
Dhruv el 27 de Mzo. de 2023
Yes, it is possible to use the 'evaluateHeatRate' function in MATLAB to compute heat rate through an edge in a transient 2D heat equation problem that has been solved with pdetool.
To use 'evaluateHeatRate', one must convert the solution and boundary conditions from pdetool into the correct input format for the function. Specifically, try defining a boundary element and an edge element that correspond to the edge where the heat rate is to be computed.
Then use these elements along with the solution and boundary conditions to create the inputs for the 'evaluateHeatRate' function. The function will compute the heat rate at the specified edge based on the provided inputs.
It is also important to ensure that the units used in the pdetool solution and boundary conditions are consistent with the units expected by the 'evaluateHeatRate' function.

Community Treasure Hunt

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

Start Hunting!

Translated by