<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 11 Apr 2016, at 20:49, Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Roland<br><br>This is currently no implemented. There are currently two choices for<br>calculating "upwind" derivatives (i.e. the shift-related spatial part<br>of the Lie derivatives):<br><br>If[splitUpwindDerivsKranc,<br> Upwind[dir_, var_, idx_] := dir PDua[var,idx] + Abs[dir] PDus[var,idx],<br> Upwind[dir_, var_, idx_] := dir PDu[var,idx]];<br><br>By setting<br><br>Upwind[var_,dir_,idx_] = PD[var,idx];<br><br>you can change these "upwind" derivatives to be identical to regular<br>derivatives. This happens at the level of Mathematica, before the<br>equations are passed to Kranc, so that you will need one less ghost<br>zone.<br><br>I would be happy to add a respective parameter to the Kranc script.<br>For performance reasons this can't be a run-time parameter, though.<br><br>Note that this is always possible with the BSSN equations -- this is<br>not a question of stability. We are using upwind derivatives since<br>Peter Diener (?) found out that these lead to more accurate binary<br>black hole evolutions, compared to centred differences.<br></blockquote><div><br></div><div>If you do use centred differences, then make sure you also use some artificial dissipation. The dissipativity of the upwind difference operators seems to be enough to stabilise the scheme, but with centred operators, I found that the scheme appeared unstable until I added some dissipation..</div></div><br><div apple-content-edited="true">
<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;"><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;"><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;"><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;"><div>-- </div><div>Ian Hinder</div><div><a href="http://members.aei.mpg.de/ianhin">http://members.aei.mpg.de/ianhin</a></div></div></div></div></div>
</div>
<br></body></html>