1
$\begingroup$

We are using FEM package to generate mesh in a circular sector. Somehow mesh becomes dense in upper right corner. Is there any way to circumvent this uneven distribution?

<< NDSolve`FEM`
circularSector = 
  ToElementMesh[Disk[{0, 0}, 1, {Pi/4, 3 Pi/4}], 
   MaxCellMeasure -> 0.002];
p1 = circularSector["Wireframe"]

Thank you very much in advance.

Sincerely,

Takashi Miura.

enter image description here

$\endgroup$
2
  • 2
    $\begingroup$ This seems to be version dependent; I cannot reproduce this with version 11.3 for macOS. $\endgroup$ Commented Mar 29, 2019 at 7:25
  • $\begingroup$ What version are you using? $\endgroup$
    – user21
    Commented Mar 29, 2019 at 7:54

1 Answer 1

2
$\begingroup$

That probably was a bug / shortcoming that is fixed in Version 11.3

$Version
"11.3.0 for Linux x86 (64-bit) (March 7, 2018)"

<< NDSolve`FEM`
circularSector = 
  ToElementMesh[Disk[{0, 0}, 1, {Pi/4, 3 Pi/4}], 
   MaxCellMeasure -> 0.002];
p1 = circularSector["Wireframe"]

enter image description here

$\endgroup$
2
  • $\begingroup$ It turned out that my student is using older version. Thank you very much! $\endgroup$ Commented Mar 29, 2019 at 9:17
  • $\begingroup$ @TakashiMiura, you are most welcome. If you or your students have interesting application examples, I am always looking for those to add them to the FEMAddOns. See in the FEMAddOns Application folder. $\endgroup$
    – user21
    Commented Mar 29, 2019 at 10: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.