1
$\begingroup$

I have to work with a geometry described by:

slab = Cuboid[{0, 0, 0}, {7, 7, 0.3*10^-4}];

describing an electrode 7 cm wide and 0.3 micrometers thick. The problem is that Mathematica uses up all the memory while defining the geometry and the kernel crashes: is there a work around?

If needed I use version 11.3 for windows.

$\endgroup$
9
  • $\begingroup$ What do you mean by "The problem is that Mathematica uses up all the memory while defining the geometry and the kernel crashes"? Maybe you describe what happens when you evaluate DiscretizeRegion[slab]? $\endgroup$ Sep 25, 2018 at 7:23
  • $\begingroup$ It means what I wrote: when evaluating the cell with the definition of slab, the use of the RAM spikes and the kernel crashes. $\endgroup$
    – mattiav27
    Sep 25, 2018 at 7:26
  • 2
    $\begingroup$ Is there any reason why you can't change units (i.e. rescale)? $\endgroup$ Sep 25, 2018 at 7:26
  • 1
    $\begingroup$ I cannot reproduce this behavior in version 11.3 for macOS. $\endgroup$ Sep 25, 2018 at 7:27
  • 1
    $\begingroup$ I can not reproduce this on Linux either, what OS do you have and what version do you use? Have you tried exact values: slab = Cuboid[{0, 0, 0}, {7, 7, 3/10*10^-4}];? $\endgroup$
    – user21
    Sep 25, 2018 at 7:54

1 Answer 1

4
$\begingroup$

Try exact coordinates:

slab = Cuboid[{0, 0, 0}, {7, 7, 3/10*10^-4}]
$\endgroup$
1
  • $\begingroup$ @mattiav27This may serve as temporary work-around, but in the end you should report the issue to Wolfram Support so that it can be fixed in future version. $\endgroup$ Sep 25, 2018 at 9:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.