Skip to content

Re: Initialize at Equilibrium

Due to recent bot attacks we have chanced the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums on OpenLB General Topics Initialize at Equilibrium Re: Initialize at Equilibrium

#2831
albert.mink
Participant

Hi Eric,

did you tried to call
sLattice.iniEquilibrium( superGeometry, 1, rhoF, uF )
with uF different to zero?

First the array is initialized by zeros.
Then it gets the value from the passed AnalyticalF2D object.

Code:
T uTmp[] = {T(),T()};
u(uTmp,physR);

So just try it.

All the best
Albert