Skip to content

Latest commit

 

History

History
executable file
·
11 lines (6 loc) · 1.29 KB

PALABOS.md

File metadata and controls

executable file
·
11 lines (6 loc) · 1.29 KB

These are notes of interest on palabos code

  1. lattice.periodicity().toggle(2,true); This command turns the boundaries in the z direction to periodic. For the coupling of LAMMPS and PALABOS to work, the periodic settings for both codes must be consistent.

  2. IncomprFlowParam<T> parameters( This class is found in palabos/src/core/units.h. There are several classes for different kinds of flow (ex. compressible flow). Additionally, these classes are overloaded to allow variance in the input parameters. There are a list of functions in these classes, like finding the dimension length in nodes (getNX, getNy, getNz)

  3. MultiBlockLattice3D<T, DESCRIPTOR> This is found in palabos/src/multiBlock/multiBlockLattice3d.h. A complex Data structure useful for implementing sparse domains. While what goes on behind the scenes is more complicated, the use of MultiBlock works the same as the other data structures found in Palabos, so it is almost exclusively used in end user code.

  4. #define DYNAMICS GuoExternalForceBGKdynamics<T, DESCRIPTOR>(parameters.getOmega()) DYNAMICS is used by MultiBlockLattice3D. GuoExternalForceBGKdynamics is required in order to allow exernal forces to be applied from anything other than the fluid lattice. Thus, force from the red blood cells can be applied to the fluid.