Example scripts using EasyVVUQ to quantify the uncertainty in the electrostatic potential as a function of the initial particle velocity and the particle charge and number density (NOTE: these are set to the same value).
- Run
pip install -r requirements.txt
- Modify the
run.sh
to match your environment - Modify
python/campaign.py
file as required - run
python python/campaign.py
This particular script campaign.py
uses Polynomial Chaos Expansion(PCE) to estimate the uncertainty of the electrostatic potential (
PCE estimates
The number of runs required to calculate the approximation is
- DENSITY is the particle charge density and particle number density (these are always equal in this analysis)
- VELOCITY is the initial particle velocity