modelling Two-Temperature model

218 views
Skip to first unread message

Salah Al-Smairat

unread,
Apr 17, 2021, 5:09:15 PM4/17/21
to fipy
Hello
I am python beginner, I need to model Two temperature model using python, but have no idea where to start, the model assumes electrons and lattice are two different subsystems, at two different temperatures, and the heat diffuses from the electrons to lattice through electron-phonon coupling, the equations are 

the equations are  
C_e   (∂T_e)/∂t=∇ ∙[k_e  ∇T_e ]-G(T_e-T_ph )+A(r,t)
C_ph  (∂T_ph)/∂t=∇ ∙[k_ph  ∇T_ph ]+G(T_e-T_ph)

thanks

Daniel Wheeler

unread,
Apr 21, 2021, 9:14:42 AM4/21/21
to Salah Al-Smairat, fipy
Have you tried some of the FiPy examples. For example, the
examples/diffusion/coupled.py [*] has examples of coupled diffusion
equations. I would start with that and slowly add in source terms.
Start off with a single equation and make sure that works and then add
in the source terms and then add in a second equation uncoupled at
first. Let us know where you get stuck in that process. I hope that
helps.

[*]: https://www.ctcms.nist.gov/fipy/examples/diffusion/generated/examples.diffusion.coupled.html
> --
> To unsubscribe from this group, send email to fipy+uns...@list.nist.gov
>
> View this message at https://list.nist.gov/fipy
> ---
> To unsubscribe from this group and stop receiving emails from it, send an email to fipy+uns...@list.nist.gov.



--
Daniel Wheeler
Reply all
Reply to author
Forward
0 new messages