Source term in Advection Diffusion Solver


Does Palabos got any functionalities to add source term (heat generation) to specific cells in a lattice for advection-diffusion (2D and 3D) problem? If not available, is there any hack to implement it.

Yes this is possible with the AdvectionDiffusionWithSourceBGKDynamic… Both in 2D or in 3D. The source-sink term can be applied to the single cell of the lattice acceding to the scalar field associated with that lattice. In order to do that, the right way to do it is writing a data processor.

I tested it and validated against an analytical solution… it works perfectely!!!

Good luck…