Reply To: Modifying Parameters
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 › Modifying Parameters › Reply To: Modifying Parameters
September 28, 2022 at 3:38 pm
#6844
jan
Participant
Dear Anas,
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.
Best regards,
Jan
