ModelingToolkitStandardLibrary.jl icon indicating copy to clipboard operation
ModelingToolkitStandardLibrary.jl copied to clipboard

Why are Thermal[Conductor|Resistor] so different from their Convective* counterparts

Open kakila opened this issue 2 years ago • 1 comments

From a purely mathematical perspective both modes conduction and Convection are indistinguishable, both have the form h * dT. Why is this not reflected in their implementations. For example:

  • Why does not the Thermal* element impose same flow on its ports/connectors?
  • Why is Conductive* not based on its Thermal* counterpart?
  • Why is the code of these elements so different?

In my view, Convective* (except for the heat flow conditions imposed) are just syntax sugar. Giving a semantic interface that allows the user to express the condition in which the exchange is between a solid and a fluid, but otherwise should not differ form the Conductive* (Thermal*) counterparts. Am I missing something?

kakila avatar May 12 '23 07:05 kakila