Hello
first let me share a big whaou and a big thank for the job done on GetDP !
I'm new with GetDP and looking how to run thermo-electrical simulation of a semiconductor device given the mesh of the structure, e.g the active part + metal access path. I found the example of ElectroThermal_Sim in https://gitlab.onelab.info/getdp/getdp/-/wikis/Nonlinear-solvers (bottom of the page) very interesting but can't figure out the way to code non linear electrical equations in the Formulation object of .pro input file.
A simple example of non-linear electrical equation would be the diode current equation:
given Vbreak, I0 and the temperature dependent voltage V0(Temperature),the diode current Id is function its potential difference Vj
if Vj < Vbreak then Id = -I0 * (Vj/Vbreak)^N // this equation to materialize the need to code a "if/then/else"
else Id = I0*(exp(Vj/V0(T)) - 1)
I believe that a way would be to define a volume in the structure where this equation apply, replace the equation of current by an equation of its electrical conductivity in only one direction (for example in Z) retrieving the potential difference of elementary mesh cell in the same Z direction.
Any hint would be appreciated
Phil