Setting the initial temperature in MATLAB PDE toolbox Nonlinear Heat Transfer in thin plate example
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Raghav Gnanasambandam
el 17 de Ag. de 2022
Respondida: Rohit
el 25 de Ag. de 2022
I am directly executing the code for transient solution in Nonlinear Heat Transder in Thin Plate. The documentation says 'Set the initial temperature of all nodes to ambient, 300 K.' and the code uses variable 'u_0' to define the initial condition. I am not sure whether it is added to the PDE model. The subsequent plot (Temperature along the top edge of the Plate as a function of time) too shows temperature starting from Zero-Kelvin and going up to around 400K. So, what is the actual inital condition?
0 comentarios
Respuesta aceptada
Rohit
el 25 de Ag. de 2022
Hi,
I understand that the temperature of all nodes should start from 300K because of the initialization, but instead it is showing 0. To initialize the node values to 300K, you can replace the following command
u0(1: numNodes) = 300;
with the
setInitialConditions(model,300);
command. This will initialize all the node values to 300K and the same will reflect in the graph as well. The above suggested changes will also be reflected in the documentation soon.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!