Skip to content

Dimensional depth and time in heat conduction equation #160

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

MasanoriKanamaru
Copy link
Member

ThermoParams contains thermal conductivity, density, and heat capacity to solve a heat conduction equation, instead of rotation period, thermal inertia, and thermal skin depth. With this PR, time t and depth z are treated as quantities with dimensions ([s] and [m], respectively).

Copy link

codecov bot commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.94%. Comparing base (5c68af0) to head (d8e4d63).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
- Coverage   93.97%   93.94%   -0.04%     
==========================================
  Files          11       11              
  Lines         681      677       -4     
==========================================
- Hits          640      636       -4     
  Misses         41       41              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Move `broadcast_thermo_params!` function into the `SingleTPM` constructor.
Introduce `thermal_conductivity`, `density`, and `heat_capacity` instead of `period`, `skindepth`, and `inertia`.
Make time `t` and depth `z` dimensional in units of [s] and [m] to solve the heat conduction equation.
Remove `E_cons` from `SingleTPMResult` because `period` was removed from `ThermoParams`.
Remove `E_cons` calculation
@MasanoriKanamaru MasanoriKanamaru force-pushed the feature/dimensional-depth-time branch from 99beec9 to d8e4d63 Compare April 30, 2025 09:43
Show energy output/input ratio at the current time step at the progress bar.

The average energy balance over a rotation period was displayed in previous versions. Because the rotation period has been removed from ThermoParams with this PR, I have decided to display the energy balance for each time step.
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

Successfully merging this pull request may close these issues.

1 participant