Skip to content

Reply To: Periodic Outlet Boundary Conditions ( nonequilibrium extrapolation method)

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Periodic Outlet Boundary Conditions ( nonequilibrium extrapolation method) Reply To: Periodic Outlet Boundary Conditions ( nonequilibrium extrapolation method)

#8003
jan
Participant

Dear Rookie,

I meant this part:


_minPhys(sg.getStatistics().getMinPhysR(2)),
_maxPhys(sg.getStatistics().getMaxPhysR(2)),

I haven’t checked the actual implementation, but usually this is used to evaluate where the fluid starts and ends, so that a particle leaving the fluid can be placed on the other side. However, usually 2 is for a wall, so this wouldn’t return the start and end of the fluid, but of the wall. This could (but doesn’t have to) cause your particles to behave wrong or “strangely” when they cross the periodic boundary.

Best regards,
Jan