Skip to content

Domain Partition Scheme

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 Domain Partition Scheme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10456
    yueyq
    Participant

    Hello,

    In OpenLB, the line
    CuboidGeometry2D<T> cuboidGeometry(cuboid, converter.getConversionFactorLength(), singleton::mpi().getSize());
    automatically partitions the domain into cuboids by the number.
    Is it possible for users to customize the partitioning scheme?
    And is non-uniform partitioning supported?

    Thanks very much.
    Yueyq

    #10461
    Adrian
    Keymaster

    Yes, there are also different schemes already implemented (e.g. by-value and by-weight). It is also possible to load decompositions from XML files (see e.g. turbulence/nozzle3d) and of course to implement your own scheme.

    The implemented schemes will already give you a non uniform partition if you e.g. adjust the weights. You can find more details in the user guide and our preprint.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.