Heat Distribution in a Circular Cylindrical Rod cfunction doesnt include density?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ben Sheard
am 6 Sep. 2017
Kommentiert: Ben Sheard
am 7 Sep. 2017

but then when inserting into the PDE they use
cFunc = @(region,state) cp*region.y;
ignoring density (rho) therefore, why is it not
cFunc = @(region,state) cp*rho*region.y;
?
Thank you
Ben
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 6 Sep. 2017
In this section of the example you can see that rho is included in the 'MassDensity' argument, which automatically applies it to the correct part of the equation. If you were using the generic solver instead of the thermal solver, then indeed you would include rho in the d argument.
Alan Weiss
MATLAB mathematical toolbox documentation
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!