|
13 | 13 | apart. A block whose ratio is one throughout is assembled correctly; a block |
14 | 14 | whose ratio is some other number throughout carries that factor too many. |
15 | 15 | `RSolverFluid` documents what the check has found so far |
| 16 | + |
| 17 | +### Bug fixes |
| 18 | + |
| 19 | +- The electrostatic element results are densities. The recovered potential |
| 20 | + gradient was weighted by the Jacobian determinant of the element, and on a |
| 21 | + surface by its thickness as well, so the electric field, current density, |
| 22 | + electric energy and Joule heat all scaled with the size of the element they |
| 23 | + were computed in and drifted instead of converging as the mesh was refined. |
| 24 | + The electric potential and the electrical resistivity were never affected |
| 25 | +- The **Charge density** boundary condition enters the system with the sign the |
| 26 | + Poisson equation calls for, on every entity type. It was assembled negatively |
| 27 | + on line, surface and volume elements and positively on point elements, so a |
| 28 | + positive space charge lowered the potential around it |
| 29 | +- Joule heat is the dissipation density `sigma*|E|^2` in `W/m^3`, the source |
| 30 | + density a heat task integrates over the element, rather than that density |
| 31 | + multiplied by a characteristic element size |
| 32 | +- These corrections change the results of every model using the |
| 33 | + *Electro-statics* problem type, and the statistics printed for them. The units |
| 34 | + in the solver log follow: relative permittivity is `N/A` rather than `C^2`, |
| 35 | + charge density `C/m^3` rather than `C`, electric energy `J/m^3` and Joule heat |
| 36 | + `W/m^3` |
| 37 | +- The magnetostatic source term uses the vacuum permeability instead of the |
| 38 | + vacuum permittivity and is assembled in its Galerkin form, and the current |
| 39 | + density it reads from the electrostatics result is averaged onto the nodes |
| 40 | + rather than taken from one neighbouring element. Every magnetostatic result |
| 41 | + changes. The problem type is still incomplete - no boundary condition exists |
| 42 | + for it, so the level of the computed field is arbitrary |
0 commit comments