Reply To: Velocity boundary conditions
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Velocity boundary conditions › Reply To: Velocity boundary conditions
Thank you for answering my question in your busy schedule. In the parameter initialization of velocity and pressure boundary in bstep2d, set the density to 1.
setLocalVelocityBoundary<T,DESCRIPTOR>(sLattice, converter.getLatticeRelaxationFrequency(), superGeometry, 3);
setLocalPressureBoundary<T,DESCRIPTOR>(sLattice, converter.getLatticeRelaxationFrequency(), superGeometry, 4);
AnalyticalConst2D<T,T> rho( 1. );
sLattice.defineRhoU( bulkIndicator, rho, u );
sLattice.iniEquilibrium( bulkIndicator, rho, u );
How to assign the density in the initial condition of velocity and pressure boundary in multicomponent flow?