I was trying to implement the getbouncebackVelocity dynamics function.
BounceBackVelocity<T,DESCRIPTOR>& getBounceBackVelocity(const double rho, const double u[DESCRIPTOR::d])
I was not able to understand what value should I put in the velocity (u). As my velocity is defined in the vector form using the analytical functor using
T maxVelocity = converter.getCharLatticeVelocity()/100;
AnalyticalConst3D<T,T> uTop(0, 0 ,-maxVelocity);
As the function of BounceBack Velocity is taking a double value, I am confused about the implementation for the velocity.
Could you help me?
Thanking you in anticipation,