- Thank you received: 0
How to change the Element Order
6 years 11 months ago #288
by Zebri
How to change the Element Order was created by Zebri
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
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
Attachments:
6 years 11 months ago #289
by cwinters
Replied by cwinters on topic How to change the Element Order
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
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
6 years 11 months ago #290
by Zebri
Replied by Zebri on topic How to change the Element Order
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
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
6 years 11 months ago #292
by cwinters
Replied by cwinters on topic How to change the Element Order
Hi,
if you have a NGSolve mesh, you can call the "Curve" function.
The argument defines the order of the splines, which are used to approximate the curved geometry.
Best regards,
Christoph
if you have a NGSolve mesh, you can call the "Curve" function.
Code:
myGeo = MyGeometry(0.02,90,0.02,8,8,0.2,0.5,1.1,0.04)
myGeo.createEquidistantGeometry()
myGeo.mesh.Curve(5)
Best regards,
Christoph
Time to create page: 0.100 seconds