I would like to realize simulations using a grid-refinement (like it is defined on the example of dipole.cpp) applied on two-phase flows (described by: “TwoPhaseFields3D<T,DESCRIPTOR> fields(blockStructure, dynamics->clone(), dynamics2->clone(), rhoEmpty, densityRatio, surfaceTensionLB, contactAngle, externalForce, externalForce2, model);”).
However the block structure, which is an attribute of “TwoPhaseFields3D”, must be a sparse block (“SparseBlockStructure3D”) whereas the block created by the grid-refinement is a multi gird (“MultiGridLattice3D”).
Do you have any idea how to convert the multi-grid into a sparse block, keeping all the interesting properties of the multi-grid ? Or do you have any suggestion how to combine the grid-refinement with the two-phase flow model ?
Thank you very much !