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

negative Hydrogen ion simulation #5467

Open
mojgan-zare opened this issue Nov 16, 2024 · 1 comment
Open

negative Hydrogen ion simulation #5467

mojgan-zare opened this issue Nov 16, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mojgan-zare
Copy link

Can I simulate a negative H plasma ion source by warpx ?
excatly it needs to initialize the H. minus ,H plus ,H , H2 , electron as nessessery particles for simulation. are these species defined or need to be defined?

@mojgan-zare mojgan-zare added the enhancement New feature or request label Nov 16, 2024
@RemiLehe RemiLehe self-assigned this Nov 19, 2024
@RemiLehe
Copy link
Member

Thanks for the question.

These species are not explicitly defined in WarpX, but you can still use them in simulations by specifying their charge and mass by hand. (In WarpX, either species_type or both mass and charge have to be specified.)
In other words, your warpx input script could have:

particles.species_names = H_minus H_plus H H2
...
H_minus.charge = -q_e
H_minus.mass = m_p + 2*m_e
...
H_plus.charge = q_e
H_plus.mass = m_p
...
H.charge = 0
H.mass = m_p + m_e
...
H2.charge = 0
H2.mass = 2*m_p + 2*m_e

Does this answer your question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants