Hi,
I want to discuss two issues:
1) I want to tilt line source at an angle to produce plane wave, I have
tried axis but it seems that it is not supported with source.
2) Making a single line source and radiating it at an angle e.g, 45
degree. The line source also radiates at an angle -45 degree. How can I
avoid it? i.e. propagation in +ve direction and not in -ve direction
(set! eps-averaging? false)
(define-param sxy 20)
(set! geometry-lattice (make lattice (size sxy sxy no-size)))
(set! pml-layers (list (make pml (thickness 1.0))))
(define ((my-amp k x0) x)
(exp (* 0+1i (vector3-dot k (vector3+ x x0)))))
(define-param fcen .5)
(define-param df 0.02)
(define-param kdir (vector3 1 1))
(define k (vector3-scale (* 2 pi fcen)
(unit-vector3 kdir)))
(set! k-point (vector3 0 0 0))
(set! sources
(list
;left head
(make source
(src (make continuous-src (frequency fcen)(fwidth no-size)))
(component Ez)(center (* s -0.3) 0)
(size 8 0)
(amp-func (my-amp k (vector3 (* s -0.3) 0))))))
Thanks
--
Muhammad Amin
BICSE - 1
NUST INSTITUTE OF INFORMATION TECHNOLOGY
NATIONAL UNIVERSITY OF SCIENCE AND TECHNOLOGY
PAKISTAN
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss