Comments (8)
I think this is a problem I introduced when I added information about the rigid injected species into WarpXHeader
, to fix the restart when those were used.
I am leaving for vacation today, and I'll fix this for real when I get back. In the meantime, you can delete the lines at the end of WarpXHeader that have to do with the rigid injected species, leaving only the species charges and masses, and it should work.
from warpx.
from warpx.
Hi Andrew,
You are right, the attached input file without the beam-rigid-injection lines:
particles.rigid_injected_species = beam
beam.zinject_plane = 20.e-6
beam.rigid_advance = true
Works well and I can get all the data:
When I introduce the injection lines, it leads to the error above.
So I will work on my fork and branch without the part you mentioned in WarpXHeader.
Thanks,
Diana
from warpx.
FYI I have made a pull request to yt that fixes this issue: yt-project/yt#2289
from warpx.
Thanks!!
from warpx.
Just in case anyone else wants to model beams with the rigid option, until yt merges Andrew's PR, I decided to do the attached small bash script to remove the additional header lines automatically (to avoid making mistakes). So far it works for my runs.
To run it, first change it to ".sh", adapt the directory paths and confirm the WarpXHeader line numbers to be removed. Then use the command "bash rm_rigid_header.sh".
The original header files are stored in the new files WarpXHeader-stored, so you can double-check the changes.
from warpx.
Note that if you are running an input with multiple beams with the rigid option, you will have to remove multiple "sets" of lines in the WarpXHeader files.
from warpx.
pip install git+https://github.com/yt-project/yt.git
installs yt
including @atmyers's fix to this problem, so we can close the issue.
from warpx.
Related Issues (20)
- Managed Memory Leftovers: MR Init, QED, Ionization HOT 4
- Inhomogeneous Neumann on EB? HOT 1
- PEC boundaries: Copy values in guard cells HOT 2
- Please delete the issue HOT 1
- Classical in-situ radiation computation HOT 5
- Laser envelope model HOT 1
- Make `add initial fields on grid` work for RZ HOT 2
- Legacy TXYE files no longer supported HOT 3
- Remove Harris laser?
- WarpX on new HPC cluster at UCI HOT 34
- Alternative method of particle initialisation from a file HOT 1
- hdf5 files HOT 22
- Spectral solver with PML Boundaries and moving window HOT 3
- running on multiGPU machine HOT 44
- Problem of checkpoint and restart HOT 3
- 1D laser behavior not understood HOT 3
- Singularity Images HOT 3
- Creating a `WarpX` Profile for the Karolina HPC System HOT 3
- Laser does not move when using "parse_field_function" HOT 1
- AnalyticDistribution HOT 6
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 warpx.