Skip to content

Re: Additional force term

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics Additional force term Re: Additional force term

#2150
mathias
Keymaster

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