SciML / SciML/ModelingToolkitStandardLibrary.jl

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

Open
#172 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
171
Forks
49
Avg merge
15h 50m
Merged PRs (30d)
10

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Compare the Thermal*, Conductive*, and Convective* element entry points and their port or connector equations, then clarify whether a shared implementation and matching flow constraints are intended. Done should include an agreed design and tests for the desired behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.