I’m new on Palabos, and I have questions about the grid refinement. I would like to put grid refinement on the cylinder2d code but I have errors.
In the main section I replaced the MultiBlockLattice2D function by the MultiGridManagement2D ;
I created box2D refinementLevel ;
I did management.refine ;
I created a MultiGridLattice2D lattice.
But when I execute the code I have errors “double free or corruption (out) ; 0x00000000009b7090”, so I put some print tests and I think it’s the lattice.initialize() command in the cylinderSetup.
Do you know why and do you know this type of error ?