Reply To: Unit conversion
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Unit conversion › Reply To: Unit conversion
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.