Replies: 1 comment 2 replies
-
This is certainly possible! In fact, there is an example, which solves a very similar problem. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thank you so much for sharing py-pde and congratulations for such a beautiful code.
It is a shame though that this code doesn't seem capable of dealing with domain's heterogeneity ?
Problem statement:
Say we apply the diffusion equation div.(k.grad(T)=0 to a square domain of dimension 1 by 1
Boundary conditions are:
left hand side - Dirichlet / value= 1
right hand side - Dirichlet / value = 0
top and bottom sides - Neuman / derivative = 0
the domain is split in two:
0<= x <=0.5, k = 10
0.5< x <= 1, k = 1
Would py-pde allow the modeling of this simple example?
Beta Was this translation helpful? Give feedback.
All reactions