Hi All,
I’m getting average density and energy nan. I have tried to change the parameters latticeL and LatticeU but didn’t help.
What could be the reason for this.
I realized that this happened whrn I replaced
bc.addVelocityBoundary( superGeometry, 3, omega );
with:
bc.addPressureBoundary( superGeometry, 3, omega );
sLattice.defineRhoU( superGeometry, 3, rho, u );
for the inflow boundary condition.
Do you know why this happens? I thought I can choose velocity or pressure as boundary conditions.
Thanks
Thank you. Would you please explain why it won’t work? I’m new to the method but since I could do that in Navier-Stokes I want to know how to make similar system in LB in order to benchmark.
(Since LB should converge to Navier-Stokes in the continuum regime)