-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Labels
component: magnetostaticmagneticstatic solvermagneticstatic solverquestionFurther information is requestedFurther information is requested
Description
I get zero magnetic field in the field output running with the magnetostatic solver on.
I'm running in electromagnetostatic mode via PICMI. I setup the solver like this:
solver = picmi.ElectrostaticSolver(
grid=grid,
method='Multigrid',
required_precision=1e-6,
warpx_self_fields_verbosity = 0,
warpx_magnetostatic=True,
)And I install the field diagnostic like this:
field_diag = picmi.FieldDiagnostic(write_dir = f'./diags/{diagdire}',
warpx_file_prefix = 'field',
grid = grid,
period=100,
warpx_openpmd_backend='h5',
warpx_format='openpmd',
data_list=['B', 'E', 'J', 'rho'])
sim.add_diagnostic(field_diag)This happens with both GPU and CPU runs.
Does anyone know what's going on? Let me know if other details are needed, such as the creation of grid or sim.
Metadata
Metadata
Assignees
Labels
component: magnetostaticmagneticstatic solvermagneticstatic solverquestionFurther information is requestedFurther information is requested