evaluating the displacement at the point #3323
Unanswered
beksar
asked this question in
Firedrake support
Replies: 2 comments 2 replies
-
With Hermite and Argyris you can find a CG space that contains them (cubic Hermite is contained in CG3 and Argyris in CG5), and interpolate to that first – this just represents the same function in a different basis so there is no error (except for roundoff). Then you can use .at for the interpolated CG function.
From: beksar ***@***.***>
Date: Friday, 12 January 2024 at 17:03
To: firedrakeproject/firedrake ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [firedrakeproject/firedrake] evaluating the displacement at the point (Discussion #3323)
evaluating point displacement while using CG finite element is possible by
u.at(xlength/2,ylength/2) in 2D.
When trying to evaluate displacement on a precise point while using higher-order elements such as Hermite and Argyris, It gives error:
got an error: in point_evaluation
raise NotImplementedError("TODO: not yet thought about it")
NotImplementedError: TODO: not yet thought about it.
It is most likely because of their complex shape functions.
How to solve it?
—
Reply to this email directly, view it on GitHub<#3323>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABOSV4WBKKJN7NJB5HRDJMTYOFUEFAVCNFSM6AAAAABBYNZZYWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGA3DOMBZHE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Pasted a small part of the code to clarify projected = File("u_2D.pvd", project_output=True) How to interpolate the way you say? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
evaluating point displacement while using CG finite element is possible by
u.at(xlength/2,ylength/2) in 2D.
When trying to evaluate displacement on a precise point while using higher-order elements such as Hermite and Argyris, It gives error:
got an error: in point_evaluation
raise NotImplementedError("TODO: not yet thought about it")
NotImplementedError: TODO: not yet thought about it.
It is most likely because of their complex shape functions.
How to solve it?
Beta Was this translation helpful? Give feedback.
All reactions