Skip to content

Reply To: Periodic Outlet Boundary Conditions ( nonequilibrium extrapolation method)

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Periodic Outlet Boundary Conditions ( nonequilibrium extrapolation method) Reply To: Periodic Outlet Boundary Conditions ( nonequilibrium extrapolation method)

#8000
Rookie
Participant

Dear jan,

Are you talking about the selection of materials in compilable code? The periodic boundary does not select materials, because I see in the source code he is judged according to geometry, and the material has nothing to do with it. I set up the particles to bounce with the wall, where I set up material 2.

T dT = converter.getConversionFactorTime();
std::set<int> reflBMat = {2};
auto materialreflectBoundary = std::make_shared<SimpleReflectBoundary3D<T, PARTICLE>>(dT, superGeometry, reflBMat);
supParticleSystem.addBoundary(materialreflectBoundary);

auto materialperiodicBoundary = std::make_shared
< PeriodicBoundary3D<T, PARTICLE>
> (superGeometry, true, true, false);
supParticleSystem.addBoundary(materialperiodicBoundary);

My fluid is periodic in both the x and y directions, are you worried that my fluid is not periodic? Because the results haven’t come yet, and I’ll be the first to let you know if I succeed.

Best regards,
Rookie