You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 FENIX 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 FENIX for now.
Impact
This will enable the simulation of electrostatic PIC cases.
The text was updated successfully, but these errors were encountered:
gsgall
added a commit
to gsgall/fenix
that referenced
this issue
Aug 2, 2024
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 FENIX 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 FENIX for now.
Impact
This will enable the simulation of electrostatic PIC cases.
The text was updated successfully, but these errors were encountered: