<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I’m mapping a few particle properties to grid variables, say, mapping from particle MASS_PART_PROP to grid PDEN with CIC method. I initialized uniformly distributed particles with sufficient large number, and set all the boundary conditions to be periodic. I tested three setups with UG and AMR:</div><div class=""><br class=""></div><div class="">Test 1: nxb=nyb=32, iProcs=2, jProcs=1</div><div class="">Test 2: nxb=nyb=16, iProcs=4, jProcs=2</div><div class="">Test 3: nxb=nyb=32, nblockx=2, nblocky=1, lrefine_max=1</div><div class=""><br class=""></div><div class="">All the tests have the same effective resolution, and should generate the same mapping to PDEN. However, both Test 2 and Test 3 produce single value PDEN as expected, while Test 1 produces artifacts at y-low and y-high boundaries (see attached figure).</div><div class=""><br class=""></div><div class="">I think this issue is related with the boundaries along which there’s only one block/processor with UG. Say, if I change set iProcs=1 in Test 1, the same artifacts also begin to appear at x-low and x-high boundaries. In addition, I did some additional tests with randomly distributed particles, and can still see the artifacts (but less obvious).</div><div class=""><br class=""></div><div class="">Although I can avoid this issue by setting Procs > 1 when using UG, or switching to AMR, I’m not very sure whether this issue is related to FLASH code itself or my own code.</div><div class=""><br class=""></div><div class="">Thanks in advance for any input!</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Best wishes,</div><div class="">—</div><div class="">Suoqing JI</div><div class="">Ph.D Candidate</div><div class="">Department of Physics</div><div class="">University of California, Santa Barbara</div><div class=""><a href="http://physics.ucsb.edu/~suoqing" class="">http://physics.ucsb.edu/~suoqing</a></div></div></div>
</div>
<br class=""></div><div class=""><img apple-inline="yes" id="0969DF8D-37B9-46E4-87F4-F858049366B9" src="cid:F9C2CD4E-2EFE-4BF3-B9EE-1A93BF9CACA4@physics.ucsb.edu" class=""></div></body></html>