Comments (7)
@AlexanderSinn thanks! Such a simple fix, sorry! I also re-ran with the wider box and got much better agreement between the codes. Thanks all for your help! @RemiLehe @AngelFP
from fbpic.
I used HiPACE++ to run the provided input script unchanged (blue) and with
amr.n_cell = 2047 2047 1024
geometry.prob_lo = -100.e-6 -100.e-6 -155.e-6
geometry.prob_hi = 100.e-6 100.e-6 0.e-6
to extend the domain transversely by 2x (orange). This now looks closer to the RZ codes.
from fbpic.
Thanks a lot for reporting this!
This discrepancy is indeed not expected. The fact that Wake-T and HiPACE++ do not have agreement is maybe the most surprising, since they both use the quasistatic approximation (unlike FBPIC).
@MaxThevenet @AngelFP @AlexanderSinn Have you seen a similar effect in the past? Are you able to reproduce the issue? And should we post the same issue on the Wake-T/HiPACE++ repository?
from fbpic.
Thanks for bringing up this issue. It looks very interesting. One suspicion I have is that the x,y boundary in HiPACE++ is too close to the wake, causing it to be shorter. HiPACE++ uses Dirichlet boundary conditions, while the RZ codes allow a 1/r field to go to infinity (is this correct, Remi?). Thanks to the inclusion of the input scripts in the issue, I will be able to do further HiPACE++ simulations to verify/falsify my suspicion about the boundary shortly.
from fbpic.
Hi all,
It's good to see that FBPIC and Wake-T agree so well, but in principle there is no reason why Hipace should be giving different results here.
I've done similar convergence tests with Wake-T and hipace (beam driven case) and they both agree extremely well.
How many particles do you have in the driver? That's something where hipace might need more due to the 3d grid.
from fbpic.
Thanks all for the suggestions!
How many particles do you have in the driver? That's something where hipace might need more due to the 3d grid.
@AngelFP I only used 1e5
particles in the driver for these tests, so can try increasing this.
from fbpic.
Looks great!
from fbpic.
Related Issues (20)
- how to make wakefield smoother HOT 2
- large laser centroid position "removes" particles HOT 3
- Some questions on input script HOT 2
- how to backpropagated simulation in fbpic HOT 1
- Wrong laser waist value when using LASY HOT 3
- Issue with Custom Laser Profile and propagation HOT 3
- different gaussian laser profile shape in direct and antenna method HOT 2
- Issue in summing two custom lasers HOT 3
- Issue with Plasma Channel formation HOT 2
- Electron spectrum
- Guard Cell box edge Ionization-PWFA driver HOT 1
- No data obtained from FBPIC HOT 5
- problem in code generation for radially polarized laser pulse HOT 2
- FBPIC does not start with mode m=0 HOT 2
- Wake_T, plot for a and a_mode
- simulation study on second harmonic generation
- Nonaxisymmetric optic field in FBPIC
- Can this be possible to formulate using FBPIC, Any help will be appreciated HOT 1
- Error running ionization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbpic.