Nedelec elements with nodal values?

47 views
Skip to first unread message

Gadi Lahav

unread,
Aug 3, 2023, 3:46:04 AM8/3/23
to sparselizardforum
Hello

I am building a simple eigenvalue solver for EM waveguides. 
When I read the gmsh documentation, it states that in .pos files, the values are given in the nodes. 
Aren't Nedelec elements coefficients referenced to it's edges? At least that is how I learned it from the FEM book by Jin. Can you please help me settle the misunderstanding?

Cheers

alexandr...@gmail.com

unread,
Aug 3, 2023, 8:06:54 AM8/3/23
to sparselizardforum
You are correct, lowest order (order 0) shape functions are associated to edges, higher orders can also be associated to faces and volumes. In any case there is no hcurl shape function associated to nodes. But when you need to render it in gmsh or in paraview the rendering software does not understand what edge shape functions are and all it wants is a triangulation between nodal values. So this is done by evaluating at each node the hcurl field and writing for each element the value at each of its node. To allow for the hcurl shape function normal discontinuities sparselizard saves each node of each element duplicated, so that the nodes are not share between elements in the .pos/.vtu, otherwise there could be no exact jump rendered as the nodal values would otherwise enforce continuity.

Gadi Lahav

unread,
Aug 3, 2023, 11:06:22 AM8/3/23
to alexandr...@gmail.com, sparselizardforum
Very interesting, indeed.

Lucky me, because I indeed needed the nodal values.

Thank you for the prompt response!


--
You received this message because you are subscribed to a topic in the Google Groups "sparselizardforum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sparselizardforum/ZGjjRjTEYnY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sparselizardfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sparselizardforum/0ecdf2f0-a4fa-425a-a9aa-5aeea8d5deb6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages