[Meep-discuss] Black images from h5topng

2014-11-15 Thread steve
o matter how small delta becomes, h5topng produces nice graphics, that is, until delta reaches zero. Then it produces an all black frame. Why is that, and is that realistic or is it a bug somewhere? I suspect a bug. Steve  ___ meep-discuss mai

[Meep-discuss] Scaled distances in the Meep lattice.

2014-11-15 Thread steve
when I try to place a  dielectric resonator disc inside the cavity. So my question is,  "How do I specify a relationship between lattice cell size and Meep characteristic length, meples?" Thanks in advance for your kind assistance. Steve

[Meep-discuss] Wrong!

2014-11-15 Thread steve
How do I edit or remove an erroneous post from the mailing list. h5topng works quite well this morning. My problem last night must have had something to do with scaling parts of my geometry outside the lattice.Steve ___ meep-discuss mailing list meep-d

[Meep-discuss] Why is it that I am allowed to post but not allowed to reply to my post?

2014-11-20 Thread steve
??Mystery to me???Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Scaling - dielectric-epsilon, metal-copper, lattice/resolution and Symmetry

2014-11-23 Thread Steve
Dear Steven and Meep users, It has been several days since I have been able to post. Issues have accumulated. 1 - In my Meep model I am using a dielectric resonator made of Polyethylene, PE. High density PE has a dielectric constant = 2.3. across a broad range of frequencies. Do I use this value

[Meep-discuss] Making Symetry work -

2014-11-25 Thread Steve
Dear Steven and Meep users, The geometry for my case is a tapered cone (axis (1 0 0)). It is easy to see from the PNG file whether or not the geometry resulting from (set! symmetries (list (make ... is symmetric or not. I have found that the geometry resulting from (make mirror-sym (direction

[Meep-discuss] Lattice size/resolution limit

2014-11-26 Thread Steve
I am trying to model a macro structure having overall dimensions ~ 0.3 meters which is also the RF wavelength (directly implying a lattice size of 30x30) but including two planar structures of 50 microns thickness. It seems that a high fidelity model of such structure is not possible in Meep. Meep

[Meep-discuss] Dielectric model parameters for Copper at low frequency

2014-12-01 Thread Steve
methodology to convert the parameters documented for copper at 2 GHz into dielectric model for use with meep? Thanks in advance for your consideration. Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin

[Meep-discuss] Needed addition to Meep Optical Forces tutorial example.

2015-02-10 Thread Steve
ery helpful addition to the tutorial. Steve Russell ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Regarding Forces in CGS or SI units.

2015-02-10 Thread Steve
Force/Flux, but just how does one convert Flux and Force to SI units? Isn't there an upper limit on force to be obtained from flux? Thanks for your help. Steve Russell ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initi

[Meep-discuss] Resonant frequency different from analytical solution

2015-02-10 Thread Steve
systematically calculated analytical solutions for cavity resonance up to TE 5,5 and TM 5,5, 60 frequency calculations. There are no analytical solutions for resonance of this cavity below 2.45 GHz either TE or TM mode. Where should I look next for resonance at 2.45 GHz from meep? Steve

[Meep-discuss] Black images - HDFView, and possible output phase error in Meep.

2015-02-10 Thread Steve
. If necessary, I can provide a test control file to reproduce this condition. Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Error while using perfect-metal

2015-02-11 Thread Steve
epsilon value in the .h5 file equals infinity for any significant thickness of the metal. That confuses h5topng, so give it a max and min scale value. Good luck, Steve On Wed, 2015-02-11 at 11:52 +, jim kurian wrote: > Hello, > > > > I am new to Meep and I am facing problems

[Meep-discuss] Why does flux/force change with resolution?

2015-02-18 Thread Steve
you, Steve Russell ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Detecting flux/force from a leaky resonant cavity

2015-02-18 Thread Steve
powerful to use a very large lattice the force/flux might go to zero. Is that expected? Can someone explain why that happens? Thank you, Steve Russell ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin

Re: [Meep-discuss] Error Using Absorbers in Meep 1.2.1

2015-03-02 Thread Steve
On Mon, 2015-03-02 at 14:30 +, Mark Scullion wrote: Mark, You wrote, > (set! pml-layers (list (make absorber (thickness 2 ; define PML > layers Don't you mean (* thickness 2) ? That is scheme syntax. Steve ___ meep-discuss mailin

[Meep-discuss] shift-geometric-object not working again

2015-03-07 Thread Steve
Dear Steven and Meep users, I need to discover how to shift a large number of objects in my lattice but can't make it work so I have made a simple test file. Everything runs just fine but the images from the eps.h5 file do not show any shifting. Where is my error? (set! geometry-lattice ( make l

[Meep-discuss] complex permittivity from loss tangent

2015-03-12 Thread Steve
m the measurement data? I have found that dissipation factor = loss tangent = power factor = 1/Q but not how it relates to the complex coefficient in the above equation. I'd be very grateful for a solution to this problem. Steve ___ meep-discuss ma

[Meep-discuss] Sign of force, flux and force/flux

2015-03-18 Thread Steve
ve or negative? This question arises because I want to report force/flux, but I also want to attach the correct sign. It seems that I should report the sign of the force, using only the magnitude of the flux as the divisor, is that right? Thank you for your reply,

[Meep-discuss] Is Flux a function of resolution?

2015-03-21 Thread Steve
you for your kind assistance. Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Casimir force model in 3 dimensions

2015-03-24 Thread Steve
equire my input?) Thank you for any direction you might provide. Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] How? Calculate Force/Flux of plane wave on reflecting surface.

2015-04-01 Thread Steve
to detect flux and force. You can also include the debug code by changing the comments for the (set! geometry (list ... Thank everyone for all the help I hope for. Steve ; ; measure force/flux of a plane wave in free space. ; ; mpirun -np 4 meep-mpi-default ./plane-wave2.ctl (reset-meep

[Meep-discuss] Dramatic (impossible?) differences in detected force and power.

2015-04-26 Thread Steve
for Q because all of the lower frequencies give tiny values of force. I am hoping it has something to do with the electric sources in the gaps. I don't think they resonate because they are open to vacuum on one side with no reflector. Thanks for any ideas. Steve __

[Meep-discuss] time prameter name

2015-07-13 Thread Steve
someone has a custom source like that, would you mind sharing it with me? Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] h5topng possible error.

2015-07-30 Thread Steve
Dear Steven and meep users, I am creating a sequence of time-slice images and would like to use the -R switch to set minimum and maximum color over all the data. I want to see the evolution of the fields. This command, h5topng -t 06 -0 -x -84 -S3 -R -o ./Yang-Shell-side-ant-out/moviefiles-png/Ax

[Meep-discuss] Can source amplitude be changed?

2015-09-12 Thread Steve
I need to see the decay of the fields in a resonant cavity excited with a Gaussian source. (Bandwidth = 0.025 * center frequency) My thought was: (at-time 1 (set! amplitude 0)) which does not work. I tried (define amp 1) with (amplitude amp) in the sources list, then (at-time 1 (set! amp 0)) whi

[Meep-discuss] multi-interval step outputs

2015-10-13 Thread Steve
y)) (to-appended "ez" (at-every (* .1 T_meep) output-efield-z)) (to-appended "hx" (at-every (* .1 T_meep) output-hfield-x)) (to-appended "hy" (at-every (* .1 T_meep) output-hfield-y)) (to-appended "hz&q

Re: [Meep-discuss] multi-interval step outputs

2015-10-13 Thread Steve
P.S. It would be much cleaner for my application if I could use a different output directory for each output interval, but that capability is not even hinted in the reference manual. Is it possible? On Tue, 2015-10-13 at 10:40 -0700, Steve wrote: > Dear Steven and Meep users, > I am making

[Meep-discuss] Concentric cones look strange

2015-11-29 Thread Steve
Dear Steven and Meep users, I am making truncated cone resonance cavities. I have been living with a strange appearance of the cones which has now became a presentation problem. It doesn't seem to affect the cavity resonance but it looks bad when the image from Meep is projected on a slide. I con

[Meep-discuss] Conductivity and Complex e

2015-12-02 Thread Steve
your kind assistance. Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] LC circuit

2015-12-09 Thread Steve
Dear Steven and Meep users, I want to simulate the fields from an LC circuit. Is it enough simply to place two sources side by side, one excited by hz, the other by ez being 180 degrees out of phase? Thanks, Steve ___ meep-discuss mailing list meep

Re: [Meep-discuss] Is nested geometric-object-duplicates operation possible?

2015-12-31 Thread Steve
You could make the first rod, then wrap a Scheme loop around it moving the rod center at each cycle of the loop. Steve On Fri, 2016-01-01 at 02:39 +0530, Susovan Mandal wrote: > Dear all, > Can I use nested geometric-object-duplicates operation . How can I > populate a 2 dimensiona

Re: [Meep-discuss] MEEP error

2016-04-12 Thread Steve
Hi, I get that warning, too. My fix is: export GUILE_WARN_DEPRECATED="no" Issue at the terminal on start-up. ---which suppresses/removes that annoying warning. (on Ubuntu) Steve On Tue, 2016-04-12 at 16:01 +, Pratik wrote: > Hello Everyone, > I am getting this error wh

[Meep-discuss] MPI or Meep

2016-04-17 Thread Steve
. mpirun has exited due to process rank 2 with PID 9773 on node steve- exiting improperly. There are two reasons this could occur: 1. this process did not call "init" before exiting, but others in the job did. This can cause a job to hang indefinitely while it wai

[Meep-discuss] Forces

2016-05-07 Thread Steve
is the value of I_o defined to equal 1 in meep? Any advice or answers will be appreciated. Regards, Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] meep-all_wait to allow completion of output - Scheme meep-mpi

2016-09-05 Thread Steve
(exit), I suppose it would work if you use (quit) or perhaps even if you just use the end of file for your exit. In any case, I still get the stupid "mpirun has exited due to ... " message, but no other trash and all of my data is outp

Re: [Meep-discuss] meep-all_wait to allow completion of output - Scheme meep-mpi

2016-09-08 Thread Steve
Yes, that seems to work. Where did I get the idea that it was  meep-all_wait instead of  meep-all-wait? Whatever works, I hope this post clears up some confusion and serious nuisance for others as discovering these commands has for me. Steve On Mon, 2016-09-05 at 20:43 -0700, Ardavan Oskooi

[Meep-discuss] Use of force detectors

2016-09-21 Thread Steve
valid to use detectors inside the geometry? Thanks for guidance, Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Why ERROR: Unbound variable set

2016-10-08 Thread Steve
Hi, Meep can be confusing sometimes. In this case, remember that meep is case sensitive. The two commands, Set! and set! are not the same, Set! doesn't work. See line two of your control file. Steve On Sat, 2016-10-08 at 13:04 +, Muhammad Hanif Ahmed Khan Khushik wrote: > Hi, > I a

Re: [Meep-discuss] Why ERROR: Unbound variable set

2016-10-08 Thread Steve
so, if you haven't already done so, I found that enabling my editor's native ability to highlight matching parenthesis is almost an essential need. Good luck, Steve On Sat, 2016-10-08 at 13:04 +, Muhammad Hanif Ahmed Khan Khushik wrote: > Hi, > I am trying to learn MEEP. I have jus

[Meep-discuss] Harminv Quality factor a function of scale factor

2016-10-28 Thread Steve
which enters conductivity as Meep frequency? Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Stop and restart a Harminv run

2016-11-15 Thread Steve
e the next day? Thanks for any advice, Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Stop and restart a Harminv run

2016-11-15 Thread Steve
that will allow me to complete the Harminv run at the end? Steve On Tue, 2016-11-15 at 11:00 -0800, Steve wrote: > Dear Steven and Meep users, > > My problem is that I must shut-down my computer before my Harminv run > completes. Is there any way to save the state of Meep/Harminv in

[Meep-discuss] Just exactly how does the "change sources" statement work?

2016-12-08 Thread Steve
change the source at the time of my choosing via "at-time time change-source." Thank you for your consideration. Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Just exactly how does the "change sources" statement work?

2016-12-08 Thread Steve
Thanks, I used: (at-time (* (* cc T_meep) 0.4)  (lambda () change-sources! SE-ant- drive)) and it worked just fine. Steve On Thu, 2016-12-08 at 16:05 -0800, Ardavan Oskooi wrote: > On 12/08/2016 03:36 PM, Steve wrote: > > > > I would like to change sources part way through a m

Re: [Meep-discuss] Floating point precision problem with at-time

2017-03-28 Thread Steve
the time steps fall on a spacial boundary. At least it seemed so to me. Steve On Fri, 2017-03-24 at 22:00 +0100, Thomas AUZINGER wrote: > Hi all, > > When using the (at-time T step-functions ...) functionality, I run > into  > problems when specifying a time T that is very clo

Re: [Meep-discuss] convert fields to SI units

2017-05-31 Thread Steve
I had the same problem, but in my case I was able to change my scale factor to a=1, which makes the meep calculations scaleable using the calculated factors in the units conversion wiki. Hope this helps, Steve On Sun, 2017-05-28 at 14:12 +, Sophia Fox wrote: > Hello, > > Could anyone

[Meep-discuss] Change sources, save fields in HDF5 files

2017-06-09 Thread Steve
ut-hfield-y))  (to-appended "hz" (at-every o-step output-hfield-z) ) All feedback will be appreciated. Thanks, Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Modeling signal propagation in a free space, but getting black images

2017-06-10 Thread Steve
Try this: h5topng -z 10 -S4 -t 0:121 -R -Zc dkbluered  ./research-out/ez.h5 That is, don't overlay the black eps data on top of the fields. The fields are there, just masked by the overlay. Steve On Sat, 2017-06-10 at 14:38 +0700, friedr...@fornever.me wrote: > Hello, dear Meep users

Re: [Meep-discuss] Change sources, save fields in HDF5 files

2017-06-14 Thread Steve
Thank you Sir:  I ran your example. It worked. I still have some ways to go in understanding the details of relating it to my problem but a having a working example is a big step toward understanding. Again, Thank you for your help, Steve On Tue, 2017-06-13 at 22:00 -0700, Ardavan Oskooi wrote

[Meep-discuss] Revisiting custom-src

2017-06-30 Thread Steve
estion is, "How do I modify gaus-src to convert it to a function?"  Obviously my Scheme and C++ skills are weak, and I apologize for asking what is basically a coding question of this forum, but any help anyone may provide would be greatly appreciated. Steve ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Revisiting custom-src

2017-07-07 Thread Steve
D="no" ;~$ time mpirun -np 3 -quiet meep-mpi ./Ardavan-post.ctl ;~$ h5topng -t 0:85 -0 -z 0 -S2 -R -c -dkbluered -o ./Ardavan- out/Ezy.png ./Ardavan-out/hz.h5 ;~$ convert ./Ardavan-out/hz.t*.png ./Ardavan-out/hz.gif Thank you for your simple code example, it was very helpful. Steve On W

Re: [Meep-discuss] Revisiting custom-src

2017-07-10 Thread Steve
Maybe I didn't make my point clearly. This is a problem with the 3D modeling, I don't make any claims one way or another regarding the behavior of the 2D model.  I did run the modified code in both 2D and 3D, on two different machines. The results were identical, machine to machine. They were very

Re: [Meep-discuss] Revisiting custom-src

2017-07-13 Thread Steve
the change-source time which will result in a low value of the scaler fields. Unfortunately, a static field existing in the cavity has an effect on the behavior of the fields created by the new antenna.  How does one submit a bug report? Steve On Mon, 2017-07-10 at 22:24 -0700, Steve

[Meep-discuss] Questions regarding Gaussian Pulse train.

2012-09-03 Thread chiu steve
Hi, I have a question about how to generate a Gaussian pulse train (with a specified period) via meep? Thanks a lot.___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Bug in h5topng

2015-05-07 Thread Steve Marschner
that Tom pointed to, which are needed to compile with libpng 1.6: http://www.cs.cornell.edu/~srm/files/h5topngfix.patch and can be applied by running patch -p1 < h5topngfix.patch in the h5utils-1.12.1 source directory. I hope this helps! Steve _

[Meep-discuss] numerical instability in vacuum - no materials, no pml

2016-03-04 Thread Steve Byrnes
ick to avoiding this instability, other than trial and error? Thanks in advance, Steve ~~ Steven Byrnes Physicist, Draper Laboratory, Cambridge, MA, USA http://sjbyrnes.com/ ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-

[Meep-discuss] meep won't run in 3D

2018-02-01 Thread Steve Byrnes
anks in advance!!! ~~Steve PS: If it helps, I'm using python-meep on linux RHEL v7, freshly installed via conda. ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] export fourier transform fields by (ab)using near2far?

2018-02-28 Thread Steve Byrnes
work, and/or better ways to do it? (I did find this thing <http://meep-discuss.ab-initio.mit.narkive.com/DyEW5tL2/meep-frequency-snapshots-and-near-to-far-field-transform> but would rather not be messing with the source code and switching from python to scheme.) Thanks a lot in advance