I found examples for anisotropy and heterogeneous.
However, It is hard to apply both simultaneous.

What I want is spatially varying anisotropic diffusion term.

Following is the part of my code.

anisoD = numerix.array(((1,0),(0,100)))
DProfile2.setValue(value = anisoD, where = x > Lx/2.)

That code cause following error.

*ValueError: operands could not be broadcast together with shapes (2500)
(2,2)*

How can I solve this problem.
Any comments would be highly appreciated.

thanks.
---
Sunghyun Kim
Ph.D. Candidate
Theoretical Condensed Matter Physics Group.
KAIST
291 Daehak-ro(373-1 Guseong-dong), Yuseong-gu, Daejeon 305-701, Republic of
Korea
+82 10-4144-5946
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to