<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="">Hi Malia,<div class=""><br class=""></div><div class="">The reference to these as “per volume” fields is a directive to the code more than anything else so it knows how to handle these fields when doing things on the mesh like restricting and prolonging to different refinement levels, filling guardcells, etc. It doesn’t mean that the variables themselves have units of gauss per grid volume, and they do not. </div><div class=""><br class=""></div><div class="">So if you set UnitSystem=“cgs” that means that the units of those fields should be gauss, and the units of the “magp” variable are erg/cm**3.</div><div class=""><div><br class=""></div><div>Best,</div><div><br class=""></div><div>John</div><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 18, 2018, at 3:45 PM, Jenks, Malia T. <<a href="mailto:mjenks@ou.edu" class="">mjenks@ou.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">I am using the MHD staggered mesh solver, and Flash 4.4. I saw in the documentation that the magx, magy, magz are per volume. In Simulation_initBlock.F90 I set the magnetic fields I want given in units of Gauss per grid volume. I have UnitSystem set to "CGS". The saved magp from my plot output files is small, it seems to still have the per volume in it. This is also causing the total magnetic energy of my simulation to be small.<span class="Apple-converted-space"> </span><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Should I be initializing magx, magy, and magz in terms of G/volume?</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Do I need to remove the (/volume)^2 from the magp to have a value in terms of energy density?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Malia Jenks</div></div></div></blockquote></div><br class=""></div></body></html>