Greetings,

Does anyone have an example of a libctl file for a meep calcualtion on 
a 3d ( preferably laminar ) structure ?

Thanks,

Chris

On May 15, 2007, at 9:35 AM, Chris wrote:

> Greetings,
>
> I am trying to extend the "holey waveguide" example to 3D ( as part of 
> an incremental effort to model more complex structures. )
>
> When I try to run meep on the new 3D structure, I get the message 
> "meep: Could not determine normal direction for given volume."
>
> The code for defining the structure is as follows :
>
> (define sx (+ (* 2 (+ pad dpml N)) d -1)) ; size of cell in x direction
> (define lx (+ (* 2 (+ pad dpml N)) d -1)) ; size of cell in x direction
> (set! geometry-lattice (make lattice (size sx sy sz)))
>
> (set! geometry
>       (append ; combine lists of objects:
>        (list (make block (center 0 0) (size lx w 0.3)
>                  (material (make dielectric (epsilon eps)))))
>        (geometric-object-duplicates (vector3 1 0) 0 (- N 1)
>       (make cylinder (center (/ d 2) 0) (radius r) (height 0.3)
>             (material air)))
>        (geometric-object-duplicates (vector3 -1 0) 0 (- N 1)
>       (make cylinder (center (/ d -2) 0) (radius r) (height 0.3)
>             (material air)))))
>
> (set! pml-layers (list (make pml (thickness dpml))))
>
> I am quite new to meep ( and to libctl and guile for that matter ) and 
> would appreciate any help with resolving this.
>
> Regards,
>
> Chris
>


_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to