awslabs / palace

3D finite element solver for computational electromagnetics
https://awslabs.github.io/palace/dev
Apache License 2.0
224 stars 50 forks source link

Upgrades for boundary postprocessing #240

Closed sebastiangrimberg closed 1 month ago

sebastiangrimberg commented 2 months ago

Adds config["Boundaries"]["Postprocessing"]["SurfaceFlux"] for computing integrals of electric, magnetic, or power flux density through a boundary surface. Allows for infinitely thin surfaces ("TwoSided") or single-sided evaluation of the flux for internal boundaries (closes #163). Also resolves some configuration file naming complications and issues for interface dielectric postprocessing and some other fields. See the changelog for more information.

Below is an example of Poynting vector output for ParaView visualization. The upper right (lower right) figures are the real and imaginary components of the electric field (magnetic flux density) for the TE_111 mode of a cylindrical cavity resonator, using the cavity example. The left figure is the (time-averaged) Poynting vector.

te111

Note: Based on https://github.com/awslabs/palace/pull/233