Skip to content

Re: avRho=nan

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics avRho=nan 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