diff --git a/pysph/sph/bc/inlet_outlet_manager.py b/pysph/sph/bc/inlet_outlet_manager.py index c8059e8f3..2b336b1a3 100644 --- a/pysph/sph/bc/inlet_outlet_manager.py +++ b/pysph/sph/bc/inlet_outlet_manager.py @@ -166,7 +166,7 @@ def create_ghost(self, pa_arr, inlet=True): name = self.outlet_pairs[pa_arr.name] ghost_pa = get_particle_array( - name=name, m=m, x=x, y=y, h=h, u=u, p=0.0, rho=rho + name=name, m=m, x=x, y=y, z=z, h=h, u=u, p=0.0, rho=rho ) return ghost_pa