-
Notifications
You must be signed in to change notification settings - Fork 16
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
Using experimental values of heat capacity with complicated temperature dependence #108
Comments
Hi Max, when you set the private attributes starting with the
|
Thank you for the answer and the advice for the correct syntax. Unfortunately, I get an error message again. But this time a different one:
|
okay, this seems to be a more fundamental numerical issue. Could you simply try using finite pulse durations? This should avoid calling this method. |
For finite pulse lengths, the code in your previous message works perfectly. Surprisingly, when I checked the results quantitatively, I found that giving the integral is not needed. In fact, the integral has no influence on the result. If I give an integral significantly higher than expected from the given heat capacity, the transient temperature does not change. Is this expected from your point of view? |
Indeed this behavior is more than expected. If you call the I am still wondering about your last error message:
To my understanding, this happens when the I was also thinking if it is easier to replace the analytical integration with a numerical integration. |
Thank you for clarifying this difference, it was not on my radar. Regarding the problem with the failing integration of the heat capacity in the case of 0 pulse duration: In summary,
works perfectly for both finite pulse durations and 0 pulse duration. Also for the heat capacity and its integral below. Thank you for the support. |
cool that this is working now. I will close this issue but will think about removing the analytical integral at all, see #109 |
I would like to use for the electronic heat capacity the sum of the magnetic and electronic contribution, which can be extracted from the experimentally determined total heat capacity. For modelling the transient temperatures for small (below the Curie temperature) and large fluences (electron temperature exceeds the Curie temperature) it is necessary to describe the heat capacity on both sides of the critical temperature. Instead of finding a function for the complete temperature range that reasonably describes the experimental heat capacity, I would like to directly use the experimental values for the heat capacity in the toolbox.
My Idea is using
np.interp(T, temperature_list, hat_capacity_list)
which returns the heat capacity for the temperatureT
. Following Issue #105 I try to define the heat caapcity and the integral by:Unfortunately this does not work and I receive an error message:
The text was updated successfully, but these errors were encountered: