Replies: 1 comment 1 reply
-
In Ferrite, the DoFs are not ordered according to the node numbers. We are working on making this clearer in the docs, see #875 The distribution algorithm is described in the devdocs here (note, this refers to the current master branch of Ferrite, so some vocabulary is slightly different). There is a method to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in this example https://ferrite-fem.github.io/Ferrite.jl/stable/examples/incompressible_elasticity/,
if my mesh is generated as
grid = generate_grid(Triangle, (nx, ny), Vec((0.0, 0.0)), Vec((2.0, 1.0)))
the elements is (1, 2, 4), (2, 5, 4), ( 2, 3, 5) and ( 3, 6, 5)
then, the global DOFs should be {1, 2, 3, 4, 5, 6,10,11,12}, {4, 5, 6,13,14,15, 10,11,12}, { 4, 5, 6,7,8,9,13,14,15} and {7,8,9,16,17,18,13,14,15}
but in the example https://ferrite-fem.github.io/Ferrite.jl/stable/examples/incompressible_elasticity/, the global DOFs are [1, 2, 3, 4, 5, 6, 7, 8, 9], [3, 4, 10, 11, 5, 6, 8, 12, 9], [3, 4, 13, 14, 10, 11, 8, 15, 12] and [13, 14, 16, 17, 10, 11, 15, 18, 12].
What's the rule for the global DOFs?
and How can I get the global DOFs as this order {1, 2, 3, 4, 5, 6,10,11,12}, {4, 5, 6,13,14,15, 10,11,12}, { 4, 5, 6,7,8,9,13,14,15} and {7,8,9,16,17,18,13,14,15}?
Beta Was this translation helpful? Give feedback.
All reactions