Skip to content

Space charge grid sizing #969

Answered by cemitch99
austin-hoover asked this question in Q&A
Discussion options

You must be logged in to vote

@austin-hoover Thanks for your question. A high-level description of parameters related to the grid size (and other space charge inputs) appears in the Usage > Parameters > Collective Effects section of the documentation. Several of these parameters are related to the multi-level multi-grid (MLMG) solver and the support for adaptive mesh refinement.

As a start, to avoid confusion, I recommend using the FFT solver, as you do above, and disabling adaptive mesh refinement by setting sim.max_level = 0 (or commenting this input line entirely, since this setting is the internal default). The number of grid cells in each dimension is then set by sim.n_cell = [N_x,N_y,N_z]. The physical dimension…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ax3l
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested component: space charge Space charge & potential solver
2 participants