Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Computing Electric Field from Electrostatic potential #62

Open
gsgall opened this issue Aug 2, 2024 · 0 comments
Open

Computing Electric Field from Electrostatic potential #62

gsgall opened this issue Aug 2, 2024 · 0 comments

Comments

@gsgall
Copy link
Collaborator

gsgall commented 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.

gsgall added a commit to gsgall/fenix that referenced this issue Aug 2, 2024
…y be used by end users since they do not care about particle meta data

Closes idaholab#63, idaholab#62, and constributes to idaholab#23, idaholab#27, idaholab#61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant