Hello everyone!rnI have a simple 3D Poiseuille flow with pressure inflow and outflow boundary conditions. I need to impose an additional force term to a set of the cells inside the domain. The term is simply added to the post-collision distributions: f* = f* + a, where a is a force term. What would be the best way to implement this with OpenLB? Thank you!
Hi Wolf,rnrnThere is already a model to include external forces inplemeted. Please look at the “”forcedPoiseuille”” example. You can also add any term to f*. Just like rn lattice.get(iX,iY)[iPop] += a;rnrnBut mind that in OpenLB f = f(standard)-f^eq(1,0)!rnrnBest regardsrnMathias
Hi Mathias,rnThanks a lot! That was really helpful!rnrnBest Regards,rnWolf
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok