I want to apply the porous media model to a 300300300 cuboid model. But errors came out. When I change the model to smaller one, say 200200200 cuboid model, the program went quite well.
The error info is following:
Creation of the lattice.
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted (core dumped)