Questions tagged [meep]

Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems, along with the MPB eigenmode package.

Meep (or MEEP) is a free finite-difference time-domain (FDTD) simulation software package developed at MIT to model electromagnetic systems, along with the MPB eigenmode package. Meep officially stands for MIT Electromagnetic Equation Propagation

41 questions
2
votes
0 answers

How to properly set LDOS source function in MEEP?

So I'm pretty new to FDTD modelling, and I'm having trouble interpreting the LDOS output that I am recieving from MEEP. To simplify the problem I started with a simple silver grating in a Bloch wave surface plasmon polariton (BW-SPP)…
2
votes
1 answer

Pyramids and Oblique Cones in MEEP

Apologies if this is not the right place for this question. I've recently started using MIT's MEEP software (Python3, on Linux). I am quite new to it and would like to mostly use it for photovoltaics projects. Somewhat common shapes that show up…
tmph
  • 181
  • 8
2
votes
1 answer

R5RS Scheme input-output: How to write/append text to an output file?

What is a simple way to output text to file in a R5RS compliant version of Scheme? I use MIT's MEEP (which uses Scheme for scripting) and I want to output text to file. I have found the following other answers on Stackoverflow: File I/O operations -…
ansebbian0
  • 201
  • 2
  • 9
2
votes
1 answer

running meep c++ basics

I'm trying to run MIT MEEP on ubuntu through its C++ lib but I've been widely unsuccessful. I have meep and g++ installed properly. I can run Scheme ctrl file but not the c++ libs. I am trying the simple code from MEEP c++ tutorial. The meep.hpp is…
hyperbull
  • 45
  • 4
2
votes
1 answer

What does this scheme error tell me?

There exists an elecomagnetic simulator called meep which provides as a front end in the form of a guile interpreter. The simulator consists of a bunch of scheme macros. I am trying to figure out what the following error means. The code is taken…
Mikhail
  • 7,749
  • 11
  • 62
  • 136
1
vote
1 answer

MEEP FDTD libEGL warning: DRI2: failed to authenticate

I have a fresh install of MEEP (the FDTD package) in a Conda environment, on a fresh install of elementaryOS. I'm attempting to run the "Visualizing 3D Structures" example code found here. I've installed both both pymeep and pymeep-extras, as well…
1
vote
1 answer

Run-Install python-meep Error

I am new in python meep. I try to use python-meep on Ubuntu 10.04 64 bit (virtual machine). I install all the necessary things like PCRE swig and python meep, but when I try to run the samples it gives me the same error as in the beginning: …
Mike
  • 11
  • 1
1
vote
1 answer

how to use Python-meep?

I am new with Python. I am using XP, I downloaded Python 2.7.2 and Python_meep 1.4.2 and I am trying to use it. (I put both of them in the same direction) If I try to use some samples of Python-meep for example use_averaging i got an error:…
Mike
  • 11
  • 2
1
vote
1 answer

MEEP install in Google Colab

I am trying to use Google Colab to install MEEP. !wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh !chmod +x Miniconda3-latest-Linux-x86_64.sh !bash ./Miniconda3-latest-Linux-x86_64.sh -b -p ./anaconda import…
Sam
  • 11
  • 1
1
vote
1 answer

dpkg-query: package 'python-meep' is not installed

It seems my instance of python3 (on a Kubuntu virtual box) asked to install meep as part of some other package installation process. That installation failed, and now every time I try to install a packages I get a meep-related installation error.…
1
vote
1 answer

How to fix "HDF5-DIAG: Error unable to open file"?

When trying to run a MEEP simulation the following error appears: HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0: #000: H5F.c line 509 in H5Fopen(): unable to open file major: File accessibilty minor: Unable to open file #001:…
ConfusedCat
  • 19
  • 1
  • 3
1
vote
1 answer

AttributeError: module 'meep' has no attribute 'Vector3'

I've installed pymeep using the anaconda environment. Unfortunately, when I use Spyder to try to run use a Vector3 class from meep i get the error: AttributeError: module 'meep' has no attribute 'Vector3' Does anyone have any idea how to fix it? I…
1
vote
2 answers

Vector3 in Meep in Python

I'm getting 'module' object has no attribute 'Vector3' error in my simple python code. This is rightAngle.py file import meep as mp import math cell = mp.Vector3(16, 8, 0) geometry = [mp.Bloack(mp.Vector3(1e20, 1, 1e20), …
Rahul
  • 262
  • 1
  • 5
  • 22
1
vote
2 answers

Embarrasingly parallel execution, no speedup (MEEP, openMPI)

I've been trying to exploit parallelization to run some simulations with the MEEP simulation software a bit faster. By default the software only uses one CPU, and FDTD simulations are easily sped up by parallelization. In the end I found there was…
1
vote
0 answers

Meep installation and run on Cygwin

I needed to use Meep for one of my simulations and am trying to figure out how to do it. I installed Meep on Cygwin platform as detailed in this website: http://nikodem.blogspot.com/2015/12/installing-meep-under-windows.html After installation, I…
mjp
  • 11
  • 3
1
2 3