To test it, I want to calculate the temperature dependent conductivity with a function.

I just cannot make it work Therefore I guess, that I have a fundamental error in my code.

I followed (at least I tried to) the instructions that can be found in the "ElmerSolverAndIputFile and in the ParamProgrammers tutorial

Code: Select all

```
!------------------------------------------------------------------
! MATC Funktion für temp abh. Heat Conductivity --- Verwendung in Material 1
!------------------------------------------------------------------
$ lambdadep(X) {\_lambdadep = (1.3e-11*(x(0)-900)^3)}
! decalare
!$ function stemp(X) {\_stemp = 49.13 + 273.16 - 0.7576*X(0) - 7.992E-03*X(1)}
! call
! Temp = Variable Latitude, Coordinate 3 Real MATC “stemp(tx)”
Material 1
Name = a-SiH dependent
! Heat Conductivity = 1.56
! Heat Conductivity = 57
!Heat Conductivity = Variable Temperature; MATC(1.3e-11*(tx(0)-900)^3+1.3e-9*(tx(0)-900)^2+1e-6*(tx(0)-900)+1e-2)*100
Heat Conductivity = Variable Temperature, Coordinate 2; Real MATC “lambdadep(tx)”
Heat Capacity = 1000
Density = 2.15E3
End
```

Thanx a lot

mauc