# Tagged Questions

The tag has no usage guidance.

0answers
20 views

### PML setting goes wrong in COMSOL multiphysics [on hold]

I am working on a nano-optics case using COMSOL multiphysics 4.2a, My model includes a (450nm)(450nm)(450nm) computation domain Unit amplitude EM Plane wave: $e^{-2\pi i n y/\lambda}$ is sent into ...
1answer
23 views

### Suitable method for simulation of in-fiber interferometer

I am trying to simulate an optic-fiber sensor (in-fiber interferometer) to study its respond to temperature. The method I am using is finite-difference time-domain (FDTD), and I come out with a large ...
0answers
33 views

### Representing a 3D system in 2D (Electromagnetic modelling)

Ok so I'm a complete beginner in computational modelling (I use analytical methods of physics typically) but I would like to model an anisotropic, aperiodic (but not random) finite array of metallic ...
0answers
30 views

### Data analysis of a magnetic hysteresis loop

I am a physics undergrad and I have MOKE data for a magnetic material (thin permalloy film on a silicon substrate). Here is one of the hysteresis loops I obtained, plotted using Python: The form of ...
2answers
103 views

1answer
106 views

### I need to scale variables to solve a 2D PDE. What are the physical considerations of scaling?

I am solving a boundary value problem in 2D via an implicit finite difference scheme. Unfortunately, although the problem is well-posed and should have a unique solution, the condition number of the ...
1answer
181 views

### Finite Difference Beam Propagation Method problem

I am trying to implement the finite difference beam propagation method to study the propagation of a TE light signal through a waveguide. However, my solutions are exponentially growing, and display ...
1answer
147 views

### H(curl) conforming Nédélec-Elements to satisfy div(B)=0

Most authors are very clear that it's very dangerous to just use $\mathrm{H}(curl)$ conforming edge elements, which are divergence free, to satisfy $\mathrm{div}(\mathbf{B})=0$ and implement this ...
2answers
282 views

### How to solve a Poisson equation using the finite difference method when there is an object inside a domain?

I'm interested in solving an electrostatics problem in 2d case in some domain with a conductor placed inside the domain. From a mathematical point of view, I have to solve a Poisson equation with ...
0answers
23 views

### Looking for name of mapping procedure

I have been searching for a technique that I used 20 years ago, but for the life of me, I cannot remember the name. It is used in visualizations of pressure, temperature, electromagnetic fields etc. ...
2answers
141 views

### Which type of meshing is more suited for simulation of electromagnetic metamaterial unit cells?

Electromagnetic metamaterials are resonant, periodic structures (repetition of a unit cell) involving both dielectric and conducting elements, and are used and simulated in frequency ranges from ...
2answers
411 views

### Tool for computing electric field on a 3d surface

I'm looking for software recommendations for an electrostatic simulation: I have a 3d object of uniform, high conductivity, separated from its environment by a high-resistance skin. Inside that ...
0answers
565 views

### Free HFSS alternative to create geometry using python

I am using a python script to create wirebond interfaces in Ansys HFSS. Variables define the board, wirebond, and package geometry. To simulate a new wirebond, I just edit the geometry variables and ...
0answers
111 views

### How can simulation be fast when Electric Field is being measured with probe in CST Microwave Studio? [closed]

I am measuring the electric field in the closure box with aperture and using probe to achieve that. But I have a problem. When I use the probe for measurement, results are not accurate in transient ...
1answer
61 views

### How can I apply a rib symmetry in a waveguide mode solver in Fortran? [closed]

How do I apply symmetry rib in a waveguide mode solver using the finite element method in Fortran?
2answers
2k views

### simple MHD simulation code for (self) education and play with

I would like some super simple computational code for solving magnetohydrodynamics problems. High accuracy nor performance is not my concern. I wan't it just to visually explore qualitative behavior ...
2answers
809 views

### How can I calculate numerically an electrical potential distribution from an electric field distribution?

I want to calculate the unknown electrical potential distribution $\phi(x)$ (notice this is a function of $x$) from a known electric field distribution $\boldsymbol{E}(x)$ using the Poisson equation, ...
1answer
4k views

### How to generate sloped streamslice plot of magnetic field in Matlab

I am currently working on my bachelor thesis, where I am calculating trajectory of electrons and ions in Hall Effect Ion Thruster. However, to be sure what I am calculating, I need to know how does ...
2answers
283 views

### Numerical simulation of particle in magnetic field

I'm interesting in numerically simulating (with my own code, not an off-the-shelf package) the motion of a single electrically charged particle in a magnetic field. The field will vary in time and ...
2answers
979 views

### Magnetic field visualization on Mac OS X?

Does somebody know about any tool for simulation and visualization of magnetic fields either of permanent magnets or solenoids, that can be used on Mac OS X? Maybe there is some software for Linux, ...
3answers
1k views

### Scalar vs. vector potential for magnetostatics

When trying to solve a magneto-static boundary-value problem (BVP) ($\nabla \times \mathbf{H} = \mathbf{J}$ and $\nabla \cdot \mathbf{B} = 0$), one can use either the magnetic vector potential ...
0answers
2k views

### COMSOL - Implementing Perfectly Matched Layers (3D)

If there are any COMSOL gurus here, I want to simulate a 3D RF system infinite in 1 direction. I realize I need to use PML's, but am unsure how to configure them. it seems that simply scaling them by ...
2answers
302 views

### Tools for computing an electric field based on location of charges?

I have the positions of a large number of charges (the strengths are known, but are also variables). Are there any tools that will allow me to visualize the electric field induced by these charges (or ...