Skip to content

Re: avRho=nan

#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