Comments (2)
Dear @Sculpdure, the parameter Nm
refers to the total number of azimuthal modes that are simulated. For Nm = 1
, only the mode m=0
is simulated.
from fbpic.
Dear Manuel,
Thanks a lot for this explanation. So mode = Nm -1.
FBPIC is a wonderful and super fast LWFA 2D code!
OpenPMD gives a super efficient way to analyse/visualize data once we get used to it.
The thing is I have difficulties in finding detailed information on the diagnostics.
The tutorials did not work for me over the last weeks but I could reach it lately. I learned a lot. I figured out that 'rho' isn’t macroparticles density but is actually charge density in C/m-3 (openPMD don’t give units).
I still have questions:
-
What provides ParticleChargeDensityDiagnostic() in addition to ParticleDiagnostic()?
I ask because I could have access to electrons data (position and momentum per mc) -
What is “w” called weight?
Is it number of particles per cell (electrons) What unit?
I found that some guys calculate electron charge from it:
x,z,w = ts.get_particle(['x', 'z', 'w'], iteration=ts.iterations[-1])
Does it get the particles in the (x,z) plane only?
np.sum(w) * 1.602e-19 # calculate the charge, in C
print('weight dim', w.shape) gives :(339265,)
I’m very confused.
get_particle(t=ts.t[iter_nb], var_list=['w'],plot=True, vmax=1e7), gives this graph:
(What is vmax?)
-
What does “ ts.get_charge” calculate from LpaDiagnostics?
I got exact same values (in C) from get.charge and from np.sum(w). -
How do we get the list of diagnostics from LpaDiagnostics (similarly as laser diagnostics)?
I know: get_charge, get_current, get_spectrum.
Thank you for your time.
Sincerely, Fred
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
- 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
- Discrepancy between RZ/3D (FBPIC/HiPACE++) for beam-driven wakefield HOT 7
- 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.