Re: avRho=nan
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › avRho=nan › Re: avRho=nan
August 10, 2017 at 10:59 pm
#2691
Mamin
Member
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