Zebri
December 5, 2017, 2:31pm
1
Hi
How can I change the element order? I tried: “mesh.SetElementOrder(5)” but SetElementOrder needs the ElementIds. How can I specify them?
Is it possible to increase just the order of the elements which are used for the holes?
The jupyter sheet is attached.
Kind regards
Michael
Attachment: ElementOrder.ipynb
Hi,
would you like to have a high order approximation of the circles or a higher polynomial degree in your finite element space?
“SetElementOrder” sets the polynomial order of your finite element.
I just saw a problem with your geometry. If the holes touch the box, the meshing does not work properly.
Best regards,
Christoph
Zebri
December 7, 2017, 4:34pm
3
Hi,
Thank you for the fast response. I will reduce the hole diameter so that the holes don’t touch the outer geometry.
I would like to get a better representation of the form of the holes without needing more elements. How can this be achieved?
kind regards,
Michael
Hi,
if you have a NGSolve mesh, you can call the “Curve” function.
myGeo = MyGeometry(0.02,90,0.02,8,8,0.2,0.5,1.1,0.04)
myGeo.createEquidistantGeometry()
myGeo.mesh.Curve(5)
The argument defines the order of the splines, which are used to approximate the curved geometry.
Best regards,
Christoph