Trouble with 3D simulation of simple slab #2154
-
Hi all, I am trying to simulate a 3D structure following code similar to that shown in this example which I am able to run without problems. I want to do similar and first simulate a slab of oxide (eps = 2.25) and 8900 x 8900x525 um size, and a custom light source, However, I am getting a bad_alloc error. My code is below and Im getting the following error. Any suggestion on how to set it up correctly? I want to visualise the slab and cell in paraview. This worked for the previous example but not for this case...:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Could it be your model is too large? With |
Beta Was this translation helpful? Give feedback.
-
@dalarev Seems like you are right. I got it working by reducing the resolution and size of the computational cell
|
Beta Was this translation helpful? Give feedback.
Could it be your model is too large?
With
resolution=50
, you're looking at50 * (8925 + 8925 + 550)
number of pixels.