Skip to content

Reply To: Setting both Density and Velocity at Boundary

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Setting both Density and Velocity at Boundary Reply To: Setting both Density and Velocity at Boundary

#4903
Julius
Participant

Hello Mathias,

Thank you! It didn’t occur to me that I can just set the velocity and density at the inlet with iniEquilibrium and simply not use a boundary manager.

For all other users who want to do the same, do not forget to exclude the inlet material from the shan-chen coupling, since there are now no ghost nodes to grab density from. (or make your own ghost nodes)

Regards,
Julius