GithubHelp home page GithubHelp logo

centralized HSE boundary about castro HOT 11 CLOSED

amrex-astro avatar amrex-astro commented on September 16, 2024
centralized HSE boundary

from castro.

Comments (11)

zingale avatar zingale commented on September 16, 2024

we want this to be handled automatically. All of the *fill routines in Castro first call filcc which handles the cases of EXT_DIR, FOEXTRAP, HOEXTRAP, REFLECT_EVEN, and REFLECT_ODD.

EXT_DIR falls through -- this has to be handled by the user. We can hook in the hydrostatic routine right after the filcc routine, so it is handled automatically.

from castro.

zingale avatar zingale commented on September 16, 2024

BoxLib/Src/C_BaseLib/BC_TYPES.H says that EXT_DIR is data specified on EDGE (FACE) of bndry

but this doesn't seem to be how we use it -- we fill it as cell-centered.

from castro.

zingale avatar zingale commented on September 16, 2024

There are a lot of implementations in the problem setups. Here's a summary:

  • full integration, general EOS
    • xrb_mixed : this seems to be the most thorough -- we should base off of this
    • flame_wave : this is almost the same as xrb_mixed, but interpolates T from a model, different sign on momentum for zero-gradient
    • toy_convect : basically the same as xrb_mixed
    • test_convect : synced up with xrb_mixed
    • convective_flame : seems to do something compatible with xrb_mixed, but has it isolated in a separate function from bc_fill already
  • analytic function or interpolation:
    • gamma_law_bubble : this just computes the analytic model
    • reacting_bubble : this just interpolates from the initial model using model_parser
    • double_bubble : does interpolation from some custom function

from castro.

zingale avatar zingale commented on September 16, 2024

so it seems like we want 2 different BC fill routines -- one based on xrb_mixed that does HSE integration directly, and one that uses model_parser and interpolates

from castro.

zingale avatar zingale commented on September 16, 2024

it looks like these all rely on constant gravity, but that's the only place I am aware of that we've needed HSE BCs. But we should probably put a test for this.

from castro.

zingale avatar zingale commented on September 16, 2024

we also need to automagically handle the gravity, reaction, and rotation fills for these pre-defined EXT BCs

from castro.

zingale avatar zingale commented on September 16, 2024

flame_wave was converted over to the centralized BC and the diffs look clean, but the test suite shows moderate errors

from castro.

zingale avatar zingale commented on September 16, 2024

convective_flame handles this properly

from castro.

zingale avatar zingale commented on September 16, 2024

see also #154

from castro.

zingale avatar zingale commented on September 16, 2024

all of the problems that cane be, aside from test_convect, are now centralized

from castro.

zingale avatar zingale commented on September 16, 2024

okay.... all normal HSE BCs use the centralized version now.

from castro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.