Skip to content

Reply To: Unit conversion

#5719
Adrian
Keymaster

1: Moments of boundaries are set analogously to bulk cells using e.g. defineRhoU (ignoring special cases such as interpolated bounce back where defineUBouzidi is needed). These calls transparently update the parameters stored in the cell-specific momenta objects.

2: Consistency of multiple lattices requires coupling post processors (see e.g. our set of multi component examples)

3: Yes, these boundary setters only assign the dynamics and post-processors required for modeling the boundary. Further calls to define methods are needed to set up the data.

For a outline of how to set up a multi-component flow you can check out e.g. the multiComponent/microFluidics2d example.