Hi all, I am a newbie to FiPy and am finding it to be very interesting.
I basically want to use FiPy for solving Maxwell's equations for a variety of configurations. I tried out the solution of Poisson's equation and it worked like a charm. I extended it to a 2 dimensional case with a constant permittivity (which was defined as a scalar) and it worked. I now want to change the permittivity profile in a certain part of the simulation domain and would like to see the solution. I tried by giving the permittivity as a matrix (tensor) quantity to the equation (This is for the case when the variation is permittivity is not complicated; say along straight lines). However, it did not work and I got the error: "*diffusion coefficent tensor is not an appropriate shape for this mesh*". Can somebody suggest a way to do this? I did take a look at the second FAQ here <http://www.ctcms.nist.gov/fipy/documentation/FAQ.html>. However, I don't think that changing the permittivity is making a change to the equation. I hope that I have given enough information needed. Please let me know if you need more. Thanks & Regards Guru Venkat M.S. Scholar, Department of Electrical Engineering, Indian Institute of Technology, Madras. http://www.ee.iitm.ac.in/optics/node/47
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
