Re: Initialize at Equilibrium
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Initialize at Equilibrium › Re: Initialize at Equilibrium
June 6, 2018 at 10:25 am
#2831
albert.mink
Moderator
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);
u(uTmp,physR);
So just try it.
All the best
Albert