Skip to content

3d Thermal conduction problem #3522

Answered by mlstowell
hbadi asked this question in Q&A
Mar 5, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hello, @hbadi,

I believe the problem is that boundary_dofs should be empty when applying Robin BCs. Any dofs listed in boundary_dofs are assumed to be Dirichlet BCs and so the values in u are taken to be the Dirichlet values and these will override any corresponding values in the right hand side vector. Since the only non-zero values in b were overridden with the zeros in u your solution was zero everywhere.

I think that should help although I was not able to test this (my SuiteSparse installation may be corrupted).

Matrix assembly is often one of the most expensive steps, if not the most expensive step, in a finite element simulation. There may be ways to speed this up for your problem b…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by hbadi
Comment options

You must be logged in to vote
3 replies
@v-dobrev
Comment options

@hbadi
Comment options

@v-dobrev
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