The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
34 views

Single slit diffraction simulation (mathematica) [on hold]

I'm trying to simulate the Fraunhoffer diffraction at slits(single,double,triple) with Mathematica. In the picture, the red one is analytical result and the green one is numerical result. The ...
6
votes
1answer
180 views

Potential function - numerical simulation

Using MATLAB, I fixed the potential in a region inside a rectangular plate (100 V) and in the border (50 V). I got the following result of the potential along the plate: I can't find an intuitive ...
8
votes
6answers
29k views

Free Optics Simulation Programs

I'm having an extremely difficult time finding an optics program that is easy to use and offers accurate physics simulations. I'm not asking for much, I just want to be able to simulate a laser going ...
-2
votes
0answers
11 views

Newton's law - satellite position (in 2D) for specific moment of time [closed]

I’m trying designate function that calculate satellite position (2 dimensional) for specific moment of time for better understanding Newton's law of gravity. To verify my calculations I created second ...
-3
votes
0answers
27 views
0
votes
0answers
20 views

Young's modulus graphene nanoribbons [closed]

How to calculate volume and young's modulus in graphene nanoribbons? How to calculate second derivative Total energy on the strain? Band structure of graphene nano-ribbons is the code below: ...
1
vote
1answer
87 views

Gravitational field of thin 2D ring - numerical simulation

I'm aware of Newton's Shell Theorem, which states that inside of a thin ring of uniform density, the gravitational force exerted on a point mass should be zero. I wrote a quick field simulation to ...
0
votes
1answer
66 views

Cavity resonator modelling and simulation of em fields inside the cavity

I want to model a cylindrical cavity resonator and study the different modes of em fields inside it using MATLAB/COMSOL. Please refer me books/articles or other resources so that I can achieve my goal....
0
votes
2answers
205 views

Kinematics equations of motion find x position in 2D from height

I have a question and I thought of 2 possible ways to answer it however the resulting answers are different which means I must be doing something wrong in my calculations. All the below happens 2 ...
1
vote
1answer
357 views

Solving the Three-body problem numerically

I want to create a program in $Mathematica$ that solves numerically the Three-body problem by Euler-Lagrange's equations. I was searching some methods to sucessfully do it. So I found a way to solve ...
4
votes
1answer
2k views

Effective refractive index calculation of fiber core

Can someone pls explain what is effective refractive index of fiber core and how to calculate it theoretically? Suppose the fiber core refractive index=1.4446 and cladding refractive index is= 1.4271, ...
0
votes
1answer
120 views

Using the Fourier transform to find the natural frequencies of coupled oscillators

How can I find the natural frequencies of a system consisting of a pair of coupled oscillators using Fourier transforms? The System consists of two masses and three springs. One of the springs ...
1
vote
1answer
318 views

Determing Velocity of Moons

I have a question that I believe is relatively easy to answer, I am working on an $N$-body simulation of a fictional star system and am having trouble finding the velocity of moons so that they will ...
1
vote
0answers
72 views

How to plot numerically the wave functions according to the Hamiltonian?

It is often difficult to analytically solve the Schrodinger equation, and so we need to obtain a solution numerically. An example plot is shown below. Here, the wave functions for a three junction ...
0
votes
0answers
36 views

Mathematica code for self-consistent field loop in Hartree-Fock method

I want to write a Mathematica code for Hartree-Fock treatment of helium (or hydrogen molecule-> namely two electrons systems) , but I don't know how to write a loop for self consistent field procedure....
0
votes
1answer
30 views

Sloan Digital Sky Survey (SDSS) spec file headers

I downloaded spectra from Sloan Digital Sky Survey (SDSS), which has the following column headers flux, loglam, ivar, and_mask, or_mask, wdisp, sky and model (...
5
votes
2answers
51 views

Gravitational waves: simulations of signal

I am self-learning GR. I was wondering if there is any open source software to help learn more about the signal processing of gravitational waves. E.g. a software that injects a signal into random ...
0
votes
0answers
39 views

C libraries for Solid State Physics

During last year I've attended courses of solid state physics, and I studied methods for bands structure calculations in the Hartree Fock framework. However, I know only theoretical aspects of these ...
0
votes
0answers
57 views

Physical pendulum dynamics confusion

I'm validating a Matlab Simulink SimMechanics model analytically. The model consists of a physical pendulum (uniform rod with length $l$ and width $w$) which is torque driven. I'm somewhat confused ...
14
votes
4answers
18k views

Where can I find simulation software for electricity and magnets?

Is there easily-available* software to simulate coils, solenoids, and other magnetic and electromagnetic devices? I'd like to play around with some design ideas, such as Halbach arrays, but physics ...
1
vote
2answers
51 views

Calculate gravity between two points

I am trying to build a simulation of gravity in LibGDX using Bullet physics. To simplify it, I just want to apply a force on some body towered a (0,0,0) point. I got my body mass and it's location ...
3
votes
0answers
134 views

How are these modern, sexy physics figures made? [closed]

I am curious to know how the figures in these popular introductory physics textbooks are made. As examples of what I mean, see the posted figures and my comments, all from various editions of Serway ...
0
votes
1answer
43 views

Laser resonator modes

For a resonator, plot the intensity as a function of time for (i) when the modes have identical phases, and (ii) when the modes have random phases. Attempt Here is the equation for intensity (p. ...
6
votes
4answers
10k views

Software for geometrical optics

Is there any good software for construction optical path's in geometrical optics. More specifically I want features like: draw $k \in \mathbb{N}$ objects $K_1,\dots,K_n$ with indices of refraction $...
-1
votes
1answer
42 views

Is there a software to convert units for quantities and equations? [closed]

For example, Often I end up with a complicated equation that uses non-standard units. In these equations, Temperature is in eV and Magnetic field is in Gauss. I need to convert my equation to another ...
4
votes
1answer
70 views

How to conserve momentum when numerically-integrating the path of a charged particle through a magnetic field

I have the python script attached below, which is intended to track the trajectory of a charged particle in a static, uniform magnetic field. It is very simple to calculate the instantaneous force ...
0
votes
0answers
61 views

use FEMM to simulate electric field for a magnet inside a coil

I'm trying to simulate a magnet inside of a coil of wire, with and without current running through the wire. I'm using the free FEMM software to try to simulate this, but I don't think i'm setting ...
1
vote
1answer
43 views

How to find angular velocity of rotated objects in 3D

I am trying to obtain equation for angular velocity of rotated object in 3d. I started with defining yaw, pitch and roll angles. Then I wrote rotation matrices from these angles. As I understand it ...
2
votes
1answer
60 views

How to produce an illustration: “Error Ellipsoid” in 3D [closed]

I need an illustration of a translucent ellipsoid so that I can also see a vector form the origin to an offset center and a vector from that point to somewhere on the surface of the ellipsoid. ...
0
votes
1answer
82 views

Newtonian Gravity Simulator?

Could anyone suggest me a good (and possibly free) Newtonian Gravity Simulator software available on the web, where it might be possible to simulate the Solar System dynamics and playing with it, by ...
92
votes
20answers
100k views

What software programs are used to draw physics diagrams, and what are their relative merits?

Undoubtedly, people use a variety of programs to draw diagrams for physics, but I am not familiar with many of them. I usually hand-draw things in GIMP which is powerful in some regards, but it is ...
1
vote
1answer
134 views

Scalable tool (engine) for simulating the universe

Does there exist a large scale scalable tool (engine) for simulating the universe that incorporates both quantum mechanics and cosmology, i.e. micro & macro scales? (It would be best if this tool ...
4
votes
2answers
3k views

Software to simulate and visualize atoms?

Not sure if this is a physics or chemistry question. But if the motion of atoms and it's particles can be described by quantum mechanics, then is there a software that simulate full atoms and it's ...
0
votes
0answers
41 views

Any freeware or shareware (demo/evaluation version) software to peak match XRD precalculated pattern?

I have an XRD data with an already calculated pattern from another analysis software and I need to peak match this pattern to XRD database. Is there freeware or shareware to do it. I tried crystal ...
1
vote
0answers
26 views

Where can I find data for the masses/component velocities of galaxies in the Local Group?

I am trying to run an N body simulation to see how galaxies in the Local Group gravitationally interact for my thesis, but I can't find any data for the masses of the galaxies in the Local Group, or ...
4
votes
1answer
37 views

Ion beam optics software

I'm starting a new project that requires the simulation of a ion source test facility. I don't have much knowledge of beam optics so I want to find a beam optics software that is easy to learn/use. ...
2
votes
1answer
230 views

How to calculate quantum cost of a reversible logic circuit?

I am trying to develop new reversible logic synthesis algorithm. But I need a good quantum cost measure for a synthesized circuit to compare my results with existing ones. For now I'm using RCViewer+ ...
0
votes
0answers
51 views

Finding the distance a spaceship would travel given a time of departure and velocity

Let's say a spaceship leaves Earth at a day t and with velocity v. Is there a way to know how many kilometers it will cover to arrive on Mars? This would be a trivial question were it not by the fact ...
1
vote
0answers
15 views

Starter projects/visualizations/analyses? [closed]

I just renovated a desktop that had been in storage for a while and I am looking for good ideas for data analysis or numerical analysis projects in physics. I have taken up to E&M, and special ...
5
votes
4answers
407 views

Supergravity calculation using computer algebra system in early days

I was having a look at the original paper on supergravity by Ferrara, Freedman and van Nieuwenhuizen available here. The abstract has an interesting line saying that Added note: This term has now ...
1
vote
1answer
65 views

Open Source Particle Tracing Software

I am fairly new to this forum. I am designing an ionospheric plasma testing environment in a thermal vacuum chamber and to do so I require some form of multi-physics package for simulations .. such as ...
0
votes
1answer
62 views

What is the best software to simulate the tracks of muons in matter?

What is the best (free) software to simulate the tracks of muons in matter? I have done some simulations using SRIM/TRIM (www.srim.org) by modifying their proton model to have the mass of a muon, but ...
15
votes
2answers
353 views

Searching books and papers with equations

Sometimes I may come up with an equation in mind, so I want to search for the related material. It may be the case that I learn it before but forget the name, or, there is no name for the equation yet....
0
votes
1answer
276 views

RGEs of the MSSM - problems with Mathematica

I'm having some troubles with the trilinear soft couplings of the MSSM RGEs. I've used the ones written in Martin's supersymmetry primer and I run them using mathematica, if I do so without taking ...
0
votes
3answers
458 views

Particle-in-cell (PIC) code Virtual Laser Plasma Lab (VLPL)

I am writing a simulation code to model betatron X rays produced by electrons accelerated using laser wakefield acceleration (LWFA). I have heard about 3D PIC (Particle-in-Cell) code VLPL (Virtual ...
3
votes
1answer
107 views

Numerically solving a simple Schrodinger equation with fast Fourier transforms

While trying to solve a stochastic Gross-Piaevskii equation I have found a problem that can be tracked down to something buggy occurring in the simplest Schrodinger equation possible: $$\partial_t \...
0
votes
0answers
74 views

Electromagnetic scattering $T$-matrix in MATLAB

My problem with the inverse of the matrix T (in the photo) , the matrix consists of Bessel and Henkel functions in high order (the orders from 1 to 21), then the elements of this matrix arrived to ...
-1
votes
2answers
68 views

Is there a most efficient speed to travel in space with reference to time dilation? [closed]

I was thinking hypothetically, a ship traveling to a distant star system with something like food wants to get to the system as fast as possible. The trick is, we want to travel as fast as possible in ...
2
votes
1answer
38 views

Testing the accuracy of a solar system simulation

I've written a java program to model the solar system, and I need to test its accuracy. What would be some good ways to do that? I've checked for conservation of energy and angular momentum. I'm using ...
0
votes
1answer
65 views

Lollipop 3d choreography animation

I initially wanted to recreate the little dancing dots android lollipop's boot animation in javascript: For that, I've implemented a 3d $n$-body simulation (with css and js): http://codepen.io/...