Skip to content

Use LinearImplicitSystem/LinearSolver with Nedelec_One variable type #3243

Answered by jwpeterson
qianhanhua asked this question in Q&A
Discussion options

You must be logged in to vote

It would probably be most helpful if you could post or link to your code, but one comment is I think that NEDELEC_ONE has DOFs at mid-edge nodes but not vertices (?), so you have to use one of the second-order element types for your problem. For example, when I run vector_fe_ex4 I get these numbers:

TET10
n_nodes()=2585
n_elem()=1536
n_dofs()=2156

HEX20
n_nodes()=425
n_elem()=64
n_dofs()=300

HEX27
n_nodes()=729
n_elem()=64
n_dofs()=300

Note that the HEX20 and HEX27 have the same number of DOFs. Is there any chance that you are calling all_second_order() to convert your Mesh, and the number of nodes is not what you were expecting?

Replies: 3 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@qianhanhua
Comment options

Comment options

You must be logged in to vote
5 replies
@qianhanhua
Comment options

@jwpeterson
Comment options

@qianhanhua
Comment options

@jwpeterson
Comment options

@qianhanhua
Comment options

Answer selected by qianhanhua
Comment options

You must be logged in to vote
9 replies
@pbauman
Comment options

@qianhanhua
Comment options

@qianhanhua
Comment options

@pbauman
Comment options

@qianhanhua
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants