<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 8 Apr 2019, at 18:03, Erik Schnetter &lt;<a href="mailto:eschnetter@perimeterinstitute.ca" class="">eschnetter@perimeterinstitute.ca</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">I am trying to set up a binary black hole simulation that uses 8th<br class="">
order accurate finite differencing. (I need the black holes to be<br class="">
highly resolved, and I don't need the wave zone, thus I am not use<br class="">
AMR.) On the other hand, I am using Cartoon2D, and I extended it to<br class="">
support 8th order interpolation.<br class="">
<br class="">
My problem is that I cannot get the simulation started well. After a<br class="">
few (about 70) time steps, the code aborts due to nans. Of course,<br class="">
having modified thorn Cartoon2D, I cannot exclude that I made an error<br class="">
there. On the other hand, I did find some pre-existing errors that I<br class="">
corrected.<br class="">
<br class="">
I wonder: What are good settings for numerical dissipation in this<br class="">
case (ML_BSSN with fdOrder=8)? I see a sample parameter file that uses<br class="">
epsDiss = 0.1; should I expect this to work? Would puncture initial<br class="">
conditions need any kind of special treatment? (I'm using<br class="">
TwoPunctures.)<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Hi Erik,</div>
<div><br class="">
</div>
<div>I did experiments with this a while ago with a production BBH simulation (multipatch), and the limit seemed to be about 0.08 in my tests, and I use 0.05 for safety. &nbsp;I don't have access to the data right now (though can dig it out if you want), but I think
 it was for a Courant factor of 0.45, though it might have been 0.5. &nbsp;It is strongly dependent on the Courant factor. &nbsp;You can probably get away with larger dissipation strengths for a short time or for low resolution, or if you don't have very sharp features
 (e.g. junk radiation from high spin or high q configurations), but you probably don't want to rely on this.</div>
<div><br class="">
</div>
<div>For reference, the parameters I use are below.</div>
<div><br class="">
</div>
<div>With Cartoon, I think you will have an effective very small grid spacing for small r, which means that to maintain the Courant condition, you would need a smaller timestep. Is that right? &nbsp;I've never used Cartoon, but it seems like this is something that
 should be taken into account.</div>
<div><br class="">
</div>
<div>Puncture initial conditions shouldn't need any special treatment. &nbsp;Without Cartoon, a resolution of something like 20 grid cells across the radius of the settled AH (which could be a factor of 2 larger than the initial radius) is probably a good minimum
 to use.</div>
<div><br class="">
</div>
<div>
<div style="background-color: rgb(255, 255, 254); font-family: SFMono-Medium, &quot;SF Mono&quot;, &quot;Segoe UI Mono&quot;, &quot;Roboto Mono&quot;, &quot;Ubuntu Mono&quot;, Menlo, monospace; line-height: 20px; white-space: pre;" class="">
<pre style="word-wrap: break-word; white-space: pre-wrap;" class="">################################################################################
# Spatial finite differencing
################################################################################

SummationByParts::order                              = 8

# Drop order instead of using upwinded stencils, only for advection derivatives
SummationByParts::sbp_upwind_deriv = no

SummationByParts::sbp_1st_deriv                      = yes
SummationByParts::sbp_2nd_deriv                      = no
SummationByParts::onesided_interpatch_boundaries     = no
SummationByParts::onesided_outer_boundaries          = yes
SummationByParts::use_dissipation                    = no
GlobalDerivative::use_dissipation                    = yes
SummationByParts::scale_with_h                       = yes
SummationByParts::dissipation_type                   = &quot;Kreiss-Oliger&quot;

# Stability limit seems to be about 0.08
SummationByParts::epsdis                             = 0.05

# Variables for dissipation
SummationByParts::vars                               = &quot;
  ML_BSSN::ML_log_confac
  ML_BSSN::ML_metric
  ML_BSSN::ML_trace_curv
  ML_BSSN::ML_curv
  ML_BSSN::ML_Gamma
  ML_BSSN::ML_lapse
  ML_BSSN::ML_shift
  ML_BSSN::ML_dtlapse
  ML_BSSN::ML_dtshift
&quot;</pre>
</div>
</div>
<div><br class="">
</div>
</div>
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">
--&nbsp;</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">
Ian Hinder</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">
Research Software Engineer</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">
University of Manchester, UK</div>
</div>
</div>
</div>
</div>
<br class="">
</body>
</html>