-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Reason
Since the electrostatic electric field is generally solved by solving Poisson's equation and in order to compute this the system must be capable of taking the negative gradient of the electrostatic potential. Currently there are a few objects in MOOSE which do the same thing but not quite what we need. There is ADFunctorElementalGradientAux and VariableGradientComponent but the ADFunctor object would require use to use a second auxvariable to be store the vector result and then a second aux variable for the component. This would be required since SALAMANDER velocity updaters does not currently support sampling vector fields.
Design
Make a copy of VariableGradientComponent which applies a negative one factor to the front. In the long run this should really be moved into MOOSE in a more general way but because of the UKAEA workshop being new week the object will be added to SALAMANDER for now.
Impact
This will enable the simulation of electrostatic PIC cases.