<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear FLASH users, <div class=""><br class=""></div><div class="">I’m trying to setup a laser slab simulation where there is a constant magnetic field in the y-direction. <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">I already added:</span></div><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">D sim_magy and PARAMETER sim_magy REAL 5.0e05 to the Config file</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">real, save :: sim_magy and logical, save :: sim_killdivb= .true. to Simulation_data.F90</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">call RuntimeParameters_get(’sim_magy’, sim_magy) to Simulation_initBlock.F90</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">sim_magy = 5.0e05 to flash.par</span><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><font color="#000000" class="">The problem I’m having is that the magnetic field only lasts for one time step and doesn’t remain in the simulation after that. Is there some way I make the magnetic field last for the duration of the simulation? </font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">Thank you</font></div><div class=""><font color="#000000" class="">Patrick Cappello</font></div></body></html>