# Static2D¶

<thermal solver="Static2D">

Corresponding Python class: thermal.static.Static2D.

Two-dimensional static thermal solver in Cartesian geometry, based on finite-element method.

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

Geometry for use by this solver.

Attributes: ref (required) – Name of a Cartesian2D geometry defined in the  section.
<mesh>

Rectangular2D mesh used by this solver.

Attributes: ref (required) – Name of a Rectangular2D mesh defined in the  section. (mesh) include-empty – Should empty regions (e.g. air) be included into computation domain? (bool, default is ‘no’)
<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.

<loop>

Configuration of the self-consistent loop.

Attributes: inittemp – Initial temperature used for the first computation. (float [K], default 300 K) maxerr – Maximum allowed error in a self-consistent loop. (float [K], default 0.05 K)
<matrix>

Configuration of the matrix 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)