idaholab / fenix

FENIX is an application for performing system-level, engineering scale (i.e., at the scale of centimeters and meters), and microstructure-scale (i.e., at the scale of microns) multiphysics calculations related to fusion energy systems.
https://mooseframework.inl.gov/fenix
GNU Lesser General Public License v2.1
10 stars 7 forks source link

Charge Density Inner product evaluation #25

Closed gsgall closed 7 months ago

gsgall commented 7 months ago

Reason

In order to solve for the electrostatic potential the inner product of the charge density source term in Poisson's equation and the finite element basis functions must be evaluated. Because we consider each computational particle to be a point source of charge density this can be done by accumulating directly into the residual of the electrostatic potential variable.

Design

A charge accumulation object will be created that gets data from the particles which have completed tracing and accumulate those values into the residual of a variable

Impact

This will enable the system to solve for the electrostatic potential based on the positions of computational particles.