regioncalc5 = ToElementMesh[regioncalc4, MeshRefinementFunction -> ff]

TetGenTetrahedralize: Tetrahedralize returned an error, 2.

  • 5
    $\begingroup$ Please provide the rest of your code, so that readers can reproduce the error and corresponding message. $\endgroup$
    – bbgodfrey
    Aug 2 at 17:30

The TetGen manual at http://wias-berlin.de/software/tetgen/1.5/doc/manual/manual.pdf states for error code 2 (see appendix):

message: Please report this bug to Hang.Si@wias-berlin.de. Include the message above, your input data set, and the exact command line you used to run this program, thank you.
description: This failure was caused by a known bug of TetGen.

So I am tempted to think that nobody but the TetGen developers can help you.

  • 1
    $\begingroup$ oh,,,I see. Thank you for letting me know that link. $\endgroup$
    – akasada
    Aug 4 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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