known, but variable, coefficients #813
gatling-nrl
started this conversation in
General
Replies: 2 comments 6 replies
-
It comes down to what your assumptions on sigma are and how much error you are willing to stomach. I think it doesn't make sense to approximate a discontinuous function using ElementTriP1 because it is continuous. |
Beta Was this translation helpful? Give feedback.
6 replies
-
This problem is solved in ex17 'insulated wire'. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When working with variable coefficients, such as
σ
init is confusing how to specify the coefficient in the skfem syntax. Suppose I have a unit square mesh with a circular subdomain at the center
(0.5,0.5)
with radius of0.1
.I could
Or I could
(Or at least I thought I could. Above code doesn't work or report errors for me.)
But can I combine these? The subdomain label and
skfem.utils.projection
so as to be more generic and applicable to other thanP1
?Beta Was this translation helpful? Give feedback.
All reactions