Analytic benchmarks, trajectory comparisons and tutorials for checking electromagnetic field-map conversion.
I am seeking $6,000 to build an open validation kit for electromagnetic field maps used in particle-transport simulations. The minimum is $3,000 for a smaller, usable release. The grant would pay for my engineering and documentation time over eight weeks after funding is available.
A field map can load successfully while still using the wrong units, magnet polarity or coordinate frame. My existing MIT-licensed fieldmap-convert tool checks Cartesian grids, converts units and handles explicit transformations. It already has conversion tests and an optional G4beamline test of interpolated field values. This proposal adds a different check: how those choices affect particle trajectories, with reproducible reference calculations and tutorials.
Everything developed for the kit will be public: source code, synthetic field maps, expected results, test commands and a final report. It is intended for researchers and students who need to move numerical fields between modelling and particle-tracking tools.
At the $3,000 minimum, I will deliver three benchmark families: a uniform magnetic field, a uniform electric field and an ideal magnetic quadrupole. The package will compare converted-map field samples and trajectories with separately implemented reference equations. The magnetic-field case will also use the closed-form helical trajectory as a check on the numerical reference. I will document the coordinate, unit, charge, momentum and integration conventions so another person can reproduce the comparison.
At the $6,000 target, I will add a magnetic sextupole and a smooth electrostatic field derived from an analytic potential, plus studies of grid refinement, coordinate reflections and symmetry extensions. Deliberately mis-scaled or mis-signed maps will show which diagnostics catch each error. The release will report both successful comparisons and unresolved differences.
Weeks 1-2 will fix the benchmark definitions and reference checks; weeks 3-5 will implement the minimum package; weeks 6-8 will complete the funded extensions, tutorials and report. Partial funding between $3,000 and $6,000 will first complete the minimum package, then add extensions in the order above, within the funded hours. I will publish the resulting scope before starting.
A fresh checkout must reproduce the reference checks and comparison report using documented, pinned software versions. Expected field values will come from analytic formulas. Trajectory references will use an independent integration implementation, with tighter-tolerance runs to check numerical convergence. Tests will distinguish interpolation error from trajectory-integration error; refining a grid alone cannot establish that a conversion is correct.
The report will include absolute and relative field errors, position and momentum differences, run settings and failures. Tolerances will be chosen and documented from the reference checks before the final comparison runs. Known unit and sign faults must be detected by the designated checks. Comparisons that remain unresolved will be labelled, with a reproducible case rather than an adjusted pass threshold.
This is a limited validation kit for specified synthetic fields and operating ranges. It will not certify a real magnet, establish full code equivalence or cover collective effects and material interactions. The minimum release will include one worked tutorial; the full release will include two.
The budget is paid work at $75 per hour. The $3,000 minimum covers 40 hours: 12 for independent references, 16 for the comparison harness and three benchmark families, 8 for tests and a tutorial, and 4 for packaging and the report.
The additional $3,000 covers 40 more hours: 14 for the two additional field families, 14 for convergence and deliberate-error studies, 8 for the second tutorial and usability work, and 4 for final validation and reporting. The total request is $6,000 for 80 hours. I will record time by work item and cap work charged to the grant at the funded amount.
I will use existing computing resources. The budget contains no equipment purchases, cloud spending, travel or institutional overhead. It funds new work after the grant starts, not the existing converter. Any unused balance will be handled under the grant agreement. There is no promise of indefinite maintenance beyond this release.
I am Eremey Valetov, a scientist in Michigan State University's Center for Beam Theory and Dynamical Systems. My work includes accelerator modelling, electromagnetic fields and numerical methods. I am the sole proposed grantee; no other person or institution is committed to the project.
The existing converter and its tests are public at https://github.com/evvaletov/fieldmap-convert . The proposed work will build on that repository and preserve its MIT licence. My public research profile is https://www.bmtdynamics.org/index_valetov.htm . G4beamline and other dependencies retain their own licences; the package will provide installation instructions rather than redistribute their binaries.
G4beamline installation or version differences may delay the trajectory comparisons. I will pin a supported version and keep the analytic/reference checks runnable separately. If integration remains incomplete, the public report will identify that missing part and retain the independent reference package and reproduction cases; it will not claim the end-to-end goal was met.
Another risk is that results are useful only for the selected synthetic cases. The tutorials will explain that limitation and how to add a new case. The minimum package is deliberately small enough to finish without depending on additional funding. I will post a midpoint update and a final report, including incomplete items and actual use of the funded hours.
For this newly proposed validation kit: $0 raised. I have separate, pending applications for AI training, inference and compute credits. Those are not awards and are not included as funding for this kit. This request pays for the field-map reference package and documentation; it will not bill the same work to another award.
AI tools assisted preparation of this proposal. I will be responsible for the work and will review the reference formulas, tests and code before release.
There are no bids on this project.
Comments
No comments yet. Sign in to create one!