You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When add Dirichlet boundary to nodes connected to interface cell, an error occurred shown that no function geometirc_interpolation and reference_coordinates
Applying dirichlet constraints directly to nodes are always a bit iffy in Ferrite. First of all, your nodeset "loadpoint" has two nodes in it, one from each side of the interface.
julia> getnodeset(grid, "loadPoint")
OrderedCollections.OrderedSet{Int64} with 2 elements:
66
132
Which one do you want to apply the constraint to?
A work around is to apply the constraint to a vertex instead. A vertex is similar to a node, but the vertex is also associated with an element VertexIndex(Cellid, LocalVertexID) (which makes it a bit easier for the constraint handler to find the correct dof):
@lijas Thank you very much for your help. My original intention was to apply dirichlet constraints to both nodes, so according to your prompt, the correct code should be:
When add Dirichlet boundary to nodes connected to interface cell, an error occurred shown that no function
geometirc_interpolation
andreference_coordinates
The text was updated successfully, but these errors were encountered: