diff --git a/lbmpy/boundaries/boundaryconditions.py b/lbmpy/boundaries/boundaryconditions.py index 626ef72b271f28e2d267d445af42b2be97baf941..e05230635390652f263f609405e3b8c159d15034 100644 --- a/lbmpy/boundaries/boundaryconditions.py +++ b/lbmpy/boundaries/boundaryconditions.py @@ -626,7 +626,7 @@ class DiffusionDirichlet(LbBoundary): return [LbmWeightInfo(lb_method, self._data_type)] def __call__(self, f_out, f_in, dir_symbol, inv_dir, lb_method, index_field): - assert lb_method.conserved_quantity_computation.zero_centered_pdfs is False, \ + assert lb_method.conserved_quantity_computation.zero_centered_pdfs is True, \ "DiffusionDirichlet only works for methods with normal pdfs storage -> set zero_centered=False" weight_info = LbmWeightInfo(lb_method, self._data_type) w_dir = weight_info.weight_of_direction(dir_symbol, lb_method)