/gallery/gallery/apps/fvmbook/chap7/advinflow/README.html
HTML | 138 lines | 127 code | 10 blank | 1 comment | 0 complexity | 012e08c4d41b1f9f7b4fd0ae3a4404a8 MD5 | raw file
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta charset="utf-8" />
- <title>Advection with inflow boundary conditions. — Clawpack 5.8.x documentation</title>
- <link rel="stylesheet" href="../../../../../_static/flasky.css" type="text/css" />
- <link rel="stylesheet" href="../../../../../_static/pygments.css" type="text/css" />
- <link rel="stylesheet" href="../../../../../_static/base.css" type="text/css" />
- <link rel="stylesheet" href="../../../../../_static/layout.css" type="text/css" />
- <link rel="stylesheet" type="text/css" href="../../../../../_static/graphviz.css" />
- <script id="documentation_options" data-url_root="../../../../../" src="../../../../../_static/documentation_options.js"></script>
- <script src="../../../../../_static/jquery.js"></script>
- <script src="../../../../../_static/underscore.js"></script>
- <script src="../../../../../_static/doctools.js"></script>
- <script src="../../../../../_static/language_data.js"></script>
- <script async="async" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
- <link rel="shortcut icon" href="../../../../../_static/clawicon.ico"/>
- <link rel="index" title="Index" href="../../../../../genindex.html" />
- <link rel="search" title="Search" href="../../../../../search.html" />
- </head><body>
- <div id="main-wrapper" class="sphinx">
- <div id="header-wrapper">
- <section id="header">
- <!-- <h1><a href="http://clawpack.org/">Clawpack</a></h1> -->
- <h1><a href="http://clawpack.org/">Clawpack-5</a></h1>
- <nav>
- <ul>
- <li>
- <a href="http://clawpack.org/contents.html">Docs</a>
- </li>
- <li>
- <a href="http://clawpack.org/installing.html">Install</a>
- </li>
- <li>
- <a class="" href="../../../../../index.html">Gallery</a>
- </li>
- <li>
- <a href="http://clawpack.org/about.html">Citation</a>
- </li>
- <li>
- <a class="active" href="http://github.com/clawpack">Github</a>
- </li>
- <li>
- <a href="http://clawpack.org/community.html">Community</a>
- </li>
- <li>
- <a href="http://clawpack.org/developers.html">Contribute</a>
- </li>
- </ul>
- </nav>
- </section>
- <div class="decoration"></div>
- </div>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../../../../../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../../../../../py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="nav-item nav-item-0"><a href="../../../../../index.html">Clawpack 5.8.x documentation</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="advection-with-inflow-boundary-conditions">
- <span id="fvmbook-chap7-advinflow"></span><h1>Advection with inflow boundary conditions.<a class="headerlink" href="#advection-with-inflow-boundary-conditions" title="Permalink to this headline">ΒΆ</a></h1>
- <p>Inflow boundary condition <span class="math notranslate nohighlight">\(u(0,t) = g(t)\)</span> at <span class="math notranslate nohighlight">\(x=0\)</span>
- are specified by the user in the routines <cite>g.f</cite> and
- <cite>bc1.f</cite> by setting the ghost cells at the left edge to:</p>
- <p><span class="math notranslate nohighlight">\(Q_0^n = g(t + \Delta x/2u)\)</span></p>
- <p><span class="math notranslate nohighlight">\(Q_{-1}^n = g(t + 3\Delta x/2u)\)</span></p>
- <p>Example [book/chap7/advinflow] to accompany the book
- <a class="reference external" href="http://www.clawpack.org/book.html">Finite Volume Methods for Hyperbolic Problems</a>
- by R. J. LeVeque.</p>
- <p>Converted to Clawpack 5.0 form in 2013.</p>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <p><a href="http://clawpack.org/">
- <img class="logo" src= "../../../../../_static/clawlogo.jpg" alt="Logo"/>
- </a>
- <h2>Version 5.8.x</h2>
- </p><h3>Related Topics</h3>
- <ul>
- <li><a href="../../../../../index.html">Documentation overview</a><ul>
- </ul></li>
- </ul>
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../../../../../_sources/gallery/apps/fvmbook/chap7/advinflow/README.rst.txt"
- rel="nofollow">Show Source</a></li>
- </ul>
- <div id="searchbox" style="display: none" role="search">
- <h3 id="searchlabel">Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="../../../../../search.html" method="get">
- <input type="text" name="q" aria-labelledby="searchlabel" />
- <input type="submit" value="Go" />
- </form>
- </div>
- </div>
- <script>$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="footer">
- © Copyright CC-BY 2020, The Clawpack Development Team.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
- </div>
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-44811544-1', 'auto');
- ga('send', 'pageview');
- </script>
-
- </body>
- </html>