how to represent the large resolution of porous medium

hi, everyone.

now I am doing some investigation of fluid response mechanism in fractal porous media. Thus, the porous medium’ resolution will be very large and always exceeds 1024 lattices, there r always failed and I know that is the constraints from memory, can anybody tell me how to solve such contradiction?

plz