dschick / udkm1Dsim

A Python Simulation Toolkit for 1D Ultrafast Dynamics in Condensed Matter
http://udkm1dsim.readthedocs.io
MIT License
21 stars 16 forks source link

Question about sub_system_coupling #75

Closed theodoho closed 3 years ago

theodoho commented 3 years ago

I have a question about the _sub_systemcoupling parameter:

Is this parameter the same as Gj(t) in the equation solved by _calc_heatdiffusion (https://udkm1dsim.readthedocs.io/en/latest/heat.html#udkm1Dsim.simulations.heat.Heat.calc_heat_diffusion)?

This is not stated in the documentation, so I just want to get a confirmation on this.

dschick commented 3 years ago

thanks @theodoho for asking that question. Yes you are right, the sub_system_coupling term is the same as the G_j(T) in the heat diffusion equation. I will add this to the according docstrings.

Note that the argument T of the sub_system_coupling is treated as a vector so you can access the individual temperatures T_i of each of the other substystems.

This is currently not possible for all other thermoelastic parameters, such as the heat_capacity,thermal_conductivity, orlinear_thermal_expansion`. They have only access to the individual temperature of the current sub-system. This limitation will be also tackled in the future, see #70.

dschick commented 3 years ago

solved by https://github.com/dschick/udkm1Dsim/commit/b12a80e2db2eac5b4277839759c3655babf99b1e