# ThermoElectric3D¶

<meta solver="ThermoElectric3D">

Corresponding Python class: meta.shockley.ThermoElectric3D.

Solver performing thermo-electric calculations without the optical part in 3D geometry.

This solver performs under-threshold thermo-electrical computations. It computes electric current flow and tempereture distribution in a self-consistent loop until desired convergence is reached.

Attributes: name (required) – Solver name.
Contents:
<geometry>

Geometry settings for all solvers.

Attributes: thermal (required) – Geometry used by the thermal solver. (Cartesian3D geometry) electrical (required) – Geometry used by the electrical solver. (Cartesian3D geometry)
<mesh>

Mesh settings for all solvers.

Attributes: thermal (required) – Mesh used by the thermal solver. (mesh) electrical (required) – Mesh used by the electrical solver. (mesh) include-empty – Should empty regions (e.g. air) be included into electrical computations? (bool, default is ‘no’)
<voltage>

Voltage boundary conditions. See subsection Boundary conditions.

<temperature>

Temperature boundary conditions. See subsection Boundary conditions.

<heatflux>

Heat Flux boundary conditions. See subsection Boundary conditions.

<convection>

Convective boundary conditions. See subsection Boundary conditions.

This boundary condition does not have value attribute. Use coeff for convection coefficient and ambient for ambient temperature instead.

<radiation>

Radiative boundary conditions. See subsection Boundary conditions.

This boundary condition does not have value attribute. Use emissivity for surface emissivity and ambient for ambient temperature instead.

<junction>

Configuration of the effective model of p-n junction.

Attributes: beta# – Junction coefficients. This is an inverse of the junction thermal voltage. (float [1/V]) js# – Reverse bias current densities. (float [A/m2]) pnjcond – Initial vertical conductivity of the junctions. (float [S/m], default 5.0 S/m)
<contacts>

Properties of the contact layers.

Attributes: pcond – p-contact conductivity. (float [S/m], default 5.0 S/m) ncond – n-contact conductivity. (float [S/m], default 50.0 S/m)
<loop>

Configuration of the self-consistent loop.

Attributes: tfreq – Number of electrical iterations per single thermal step. As temperature tends to converge faster, it is reasonable to repeat thermal solution less frequently. (int, default 6) inittemp – Initial temperature used for the first computation. (float [K], default 300 K) maxterr – Maximum allowed temperature error. (float [K], default 0.05 K) maxcerr – Maximum allowed current density error. (float [%], default 0.05 %)
<tmatrix>

Matrix configuration for the thermal solver.

Attributes: algorithm – Algorithm used for solving set of linear positive-definite equations. (‘cholesky’, ‘gauss’, or ‘iterative’, default is ‘cholesky’) itererr – Maximum allowed residual error for the iterative algorithm. (float, default 1e-08) iterlim – Maximum number of iterations for the iterative algorithm. (int, default 10000) logfreq – Number of iterations after which the progress is logged. (int, default 500)
<ematrix>

Matrix configuration for the electrical solver.

Attributes: algorithm – Algorithm used for solving set of linear positive-definite equations. (‘cholesky’, ‘gauss’, or ‘iterative’, default is ‘cholesky’) itererr – Maximum allowed residual error for the iterative algorithm. (float, default 1e-08) iterlim – Maximum number of iterations for the iterative algorithm. (int, default 10000) logfreq – Number of iterations after which the progress is logged. (int, default 500)