Configuration files¶
Every run reads, in this order:
data/config/main-config.msp— the default simulation graph, installed with hippoLBM;- the files listed under its
includes:key:config_initialize.msp,config_compute_loop.msp,config_io.msp,config_analysis.mspandconfig_verification.msp; - your deck, given on the command line.
A later file overrides earlier definitions key by key. The default simulation block runs a fixed sequence:
A deck never edits simulation: it fills the hooks called by initialize and compute_loop. A typical deck
defines:
The complete default configuration is shown in Default YAML.
Overriding and appending¶
key: valuereplaces the whole blockkey;- inside a map, only the keys you give are replaced (e.g.
global: { simulation_end_iteration: 1000 }keeps the other globals); +key: [ ... ]appends operators to the batchkeyinstead of replacing it.
pre_stream_bcs and post_stream_bcs
These two batches already contain the automatic bounce-back steps. To add a boundary condition to them, append
it with +:
Writing pre_stream_bcs: without + replaces the default batch and removes the bounce-back on the domain
walls and on the obstacles.