- Thank you received: 0
Setting order for node-types ( Using SetOrder() )
5 years 7 months ago #1516
by Elsakori
Setting order for node-types ( Using SetOrder() ) was created by Elsakori
Hello,
I recently started to work with NGSolve.
I am using NGSolve to solve Maxwell’s equations in time-harmonic form. I created a finite element space as: fes = HCurl(mesh, order=1), and I tried setting order for node-types:
fes.SetOrder(TRIG,2)
fes.SetOrder(TET,3)
fes.Update()
, but I noticed that fes.SetOrder(TRIG,2) doesn't work and 3 face DOFs is what I would expect based on Nedelec’s definition of the second kind elements.
I am grateful for any explanation
Here are my python script and output file.
I recently started to work with NGSolve.
I am using NGSolve to solve Maxwell’s equations in time-harmonic form. I created a finite element space as: fes = HCurl(mesh, order=1), and I tried setting order for node-types:
fes.SetOrder(TRIG,2)
fes.SetOrder(TET,3)
fes.Update()
, but I noticed that fes.SetOrder(TRIG,2) doesn't work and 3 face DOFs is what I would expect based on Nedelec’s definition of the second kind elements.
I am grateful for any explanation
Here are my python script and output file.
Attachments:
- mneunteufel
- Offline
- Premium Member
Less
More
- Thank you received: 59
5 years 7 months ago #1530
by mneunteufel
Replied by mneunteufel on topic Setting order for node-types ( Using SetOrder() )
Hi Elsakori,
in the latest version of NGSolve this feature has been added.
Your code should now work.
Best,
Michael
in the latest version of NGSolve this feature has been added.
Your code should now work.
Best,
Michael
The following user(s) said Thank You: Elsakori
5 years 7 months ago - 5 years 7 months ago #1531
by Elsakori
Replied by Elsakori on topic Setting order for node-types ( Using SetOrder() )
Hi Michael,
Thank you for your response.
I downloaded the last version of NGSolve (6.2.1902) and tried the code, actually it is still not working.
Is the last version of NGSolve for both Window and Mac?. I am using Mac.
Thanks
Elsakori
Thank you for your response.
I downloaded the last version of NGSolve (6.2.1902) and tried the code, actually it is still not working.
Is the last version of NGSolve for both Window and Mac?. I am using Mac.
Thanks
Elsakori
Last edit: 5 years 7 months ago by Elsakori.
- mneunteufel
- Offline
- Premium Member
Less
More
- Thank you received: 59
5 years 7 months ago #1532
by mneunteufel
Replied by mneunteufel on topic Setting order for node-types ( Using SetOrder() )
Hi Elsakori ,
I was talking from the latest nightly-build not the release-version, sry.
Best,
Michael
I was talking from the latest nightly-build not the release-version, sry.
Best,
Michael
Time to create page: 0.101 seconds