<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 31, 2017 at 10:09 AM, Buesing, Henrik <span dir="ltr"><<a href="mailto:HBuesing@eonerc.rwth-aachen.de" target="_blank">HBuesing@eonerc.rwth-aachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="#0563C1" vlink="#954F72">
<div class="m_8850068384778979628WordSection1">
<p class="MsoNormal"><span style="font-family:"Courier New"">Dear all, <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">I was wondering if it is possible to integrate adaptive mesh refinement into my code (transient, cell centered on a regular grid). I was looking at DMForest, but I’m unsure how much effort
 is needed to include this. <br></span></p></div></div></blockquote><div><br></div><div>The honest answer is, a lot of effort right now. Just using a grid you know you want is not that hard. However,</div><div>incorporating a real refinement loop is not worked out yet. You can see how much code we had to use in</div><div>TS ex11.</div><div><br></div><div>Toby and I hope to have a much more user-friendly interface soon (meaning by the end of summer). You can</div><div>either wait for that, or help us get it up and going :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="#0563C1" vlink="#954F72"><div class="m_8850068384778979628WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">
What would I need to do? Write some indicator functions to mark cells for refinement/coarsening. Prolongation and restriction operators should be just a matter of averaging.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">But what about the hanging nodes? The two-point flux approximation I’m using would give wrong results here…</span></p></div></div></blockquote><div><br></div><div>1) If you have an idea what the indicator function should be, great! We can do things just like TS ex11.</div><div><br></div><div>2) Toby has already coded up a consistent interpolation for FV on non-conforming grids. Yes 2-point flux is</div><div>    a problem. In TS ex11 we use a pointwise Riemann solver (I think that is the right term). Jed and Toby understand</div><div>   these things better than I do.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="#0563C1" vlink="#954F72"><div class="m_8850068384778979628WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Thank you!<br>
Henrik<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">--
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Dipl.-Math. Henrik Büsing<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">Institute for Applied Geophysics and Geothermal Energy<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">E.ON Energy Research Center<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">RWTH Aachen University<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">------------------------------<wbr>------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Mathieustr. 10            |    Tel <a href="tel:+49%20241%208049907" value="+492418049907" target="_blank">+49 (0)241 80 49907</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">52074 Aachen, Germany     |    Fax <a href="tel:+49%20241%208049889" value="+492418049889" target="_blank">+49 (0)241 80 49889</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">------------------------------<wbr>------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><a href="http://www.eonerc.rwth-aachen.de/GGE" target="_blank">http://www.eonerc.rwth-aachen.<wbr>de/GGE</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><a href="mailto:hbuesing@eonerc.rwth-aachen.de" target="_blank">hbuesing@eonerc.rwth-aachen.de</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">------------------------------<wbr>------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>