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

Add 2D tests for proton boron fusion #2540

Merged
merged 4 commits into from
Jul 12, 2022

Conversation

NeilZaim
Copy link
Member

@NeilZaim NeilZaim commented Nov 10, 2021

This PR is based on #2450, which is based on #2330, so it should probably be reviewed once these PRs have been merged.

It adds the same automated tests as in #2450, but in 2D instead of 3D. The same analysis script is used to analyze both tests, with only minor modifications.

Putting the [WIP] tag until I have tested this on GPU.
Edit: tested on GPU so I'm removing the WIP tag.

@NeilZaim NeilZaim changed the title [WIP] Add 2D tests for proton boron fusion Add 2D tests for proton boron fusion Nov 16, 2021
@ax3l ax3l requested review from RemiLehe and ax3l November 23, 2021 00:36
proton4.density = 1.e35
proton4.momentum_distribution_type = "constant"
proton4.uz = sqrt(2*m_p*proton4_energy)/(m_p*clight)
proton4.do_not_push = 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as in 3D: also let us add do_not_deposit

#################################
############ NUMERICS ###########
#################################
warpx.serialize_ics = 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's move out to .ini

[Proton_Boron_Fusion_2D]
buildDir = .
inputFile = Examples/Modules/nuclear_fusion/inputs_2d
runtime_params =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
runtime_params =
runtime_params = warpx.do_dynamic_scheduling=0 warpx.serialize_initial_conditions=1

@NeilZaim NeilZaim added component: tests Tests and CI component: collisions Anything related to particle collisions labels Jun 27, 2022
@NeilZaim
Copy link
Member Author

I think this PR is ready for review @RemiLehe @ax3l, thanks!

@RemiLehe RemiLehe merged commit 32a5989 into ECP-WarpX:development Jul 12, 2022
dpgrote pushed a commit to RemiLehe/WarpX that referenced this pull request Jul 30, 2022
* Add 2D tests for proton boron fusion

* Apply suggestions from review

* Fix WarpX-tests.ini

* Update benchmarks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: collisions Anything related to particle collisions component: tests Tests and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants