Reply To: Modifying Parameters
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Modifying Parameters › Reply To: Modifying Parameters
September 28, 2022 at 3:38 pm #6844
in the main function of the example a
cuboidGeometry is created:
/// Instantiation of an empty cuboidGeometry CuboidGeometry2D<T> cuboidGeometry(cuboid, converter.getPhysDeltaX(), singleton::mpi().getSize());
Here, you can see that the number of processes is provided as an argument (
singleton::mpi().getSize()). Apparently, if this equals 1 or 4, the geometry is falsified. This means for you, that the case would probably work as expected if you run it with a different number of processes, e.g.,
mpirun -np 3 ./squareCavity2d.
In the meantime, we’re working on a fix.
Hope that answers your question, if not, let me know.