I would like to calculate the electrical current flow through a material, whose electrical conductivity depends on temperature. I assume the current is very small and all the heating comes only from external bath.
The procedure is composed of these steps:
- the temperature field is calculated (it works)
- the electrical conductivity of a material should be now assigned using a get_pars function. It should take into account the temperature field. (but how?)
- the potential field is calculated (works)
- calculate the flux (works, you helped me before)
The temperature is calculated in nodes, but the material properties are assigned to cells. I will probably have to use make_l2_projection, but after many trials and errors I ask for help, again. I attach my testing script.
Thank you Jan