Skip to content

ModelingToolkitStandardLibrary: Thermal Components - creating physically representative components #357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
matthew-kapp opened this issue Feb 14, 2025 · 0 comments

Comments

@matthew-kapp
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I am not used to expressing my model using abstract constants (such as C, G, R, etc.) and am used to expressing my problem using physical constants (Nu, k, Cp, m, etc.). I believe many engineers can relate. Defining external functions to calculate these 'constants' is not practical as sometimes these 'constants' are a function of the material's temperature. I therefore need to modify most of the components, and these modifications might be relevant to other engineers.

Describe the solution you’d like

The change suggested would be to extend ThermalConductor and HeatCapacitor. Convection and radiation could be discussed next.

I believe that most engineering problems could be represented by the following geometries (combinations can be created by connecting together):

  1. Flat plate
  2. Cylinder
  3. Sphere
  4. Dome (probably special case of Sphere)

As an example, I would create ThermalCylinder which does the following:

  1. Extends ThermalConductor and HeatCapacitor
  2. Computes C and G based on density (rho), thermal conductivity (k), and dimensions (Di, Do, L)
  3. Optional: Takes in a custom function for k = f(T)

I would then also do ThermalFlatPlate, ThermalSphere, and ThermalDome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant