Subdiscipline of theoretical physics which consists in the study of physics problems using numerical algorithms. PLEASE NOTE that questions about computational methods and/or programming are OFF-TOPIC on Physics.SE.

learn more… | top users | synonyms

0
votes
0answers
15 views

What is the difference between finite displacement and linear response for calculating vibrational properties?

I see these concepts appearing in the context of calculating phonons and other vibrational properties, but I can't find a concrete explanation of the differences between linear response (DFPT) and the ...
1
vote
2answers
47 views

How to verify/falsify the existence of localised edge states numerically?

I have to consider a Hamiltonian given in second quantized form in real space $$H = \sum c_k^\dagger h_{kl} c_l \, ,$$ describing fermions on a 2d hypercubic lattice. The concrete form of the matrix ...
1
vote
0answers
47 views

How do I model this Quantum Cascade Laser (QCL) using COMSOL? [on hold]

I'm trying to model this: GaAs on-top of a heat-sink made of Copper. It's trying to simulate a type of Quantum Cascade Laser, I'm looking at the effect the temperature has by running a 10V voltage ...
1
vote
1answer
47 views

Anyonic braiding statistics from density matrix renormalization group (DMRG) simulations

How does the ground state energy of the system change when we braid two anyons? Can the braiding of anyons be simulated with a computational method such as the density matrix renormalization group, ...
0
votes
1answer
25 views

Amount of unknown parameters in compressible Euler equations

I'm looking at this page for the compressible Euler equations. To me it seems, in the 1-dimensional case, there should be 3 unknowns: density, velocity, and pressure. This is because the energy $E$ ...
0
votes
0answers
41 views

Computer simulation of the formation of planet [closed]

I'm student and I have been tasked with simulating the formation of planet. I found these equations: \begin{align} \frac{\partial \Sigma}{\partial t}+\nabla\cdot\left(\Sigma \mathbf u\right)&=0\\ ...
-4
votes
1answer
59 views

Computational physics using mathematica [closed]

So I was confused about this question on how to exactly begin to answer it. I am a novice in mathematica and I am teaching myself thus I require help in this question. From what I think I should do, ...
1
vote
1answer
62 views

Finding the initial velocity vector of an orbiting body

I'm writing a program that simulates Newton's law of universal gravitation by simply calculating the force and applying it on the objects. The simulation works very well, but now I want to simulate ...
0
votes
0answers
20 views

Jiles Atherton Model [closed]

I am basically trying to solve Jiles Atherton Model for generating a Hysteresis curve online. For the same I am using the applied field H from -10 to +10 and increasing it in steps of 0.5 I have ...
0
votes
1answer
48 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
0answers
21 views

Introduction material for lattice field simulation

I am looking for introductory material of lattice field theory simulation. It is better start from simple example (e.g. \phi^4) and include some source code. Is there any on-line or book which is ...
4
votes
2answers
325 views

Numerical solution to Schrödinger equation - eigenvalues

This is my first question on here. I'm trying to numerically solve the Schrödinger equation for the Woods-Saxon Potential and find the energy eigenvalues and eigenfunctions but I am confused about how ...
0
votes
0answers
22 views

Ising Model 2D Correlation Length

I'm using Metropolis and Wolff Clustering algorithms to estimate the spin-spin correlation function $$<s_os_r>$$ I know that this is related to the correlation length but how do we determine ...
1
vote
1answer
80 views

How to measure the spin-spin correlation in a Monte Carlo simulation of the Ising model?

I'm simulating the Ising Model in 2D up to 5D and I want to calculate the spin-spin correlation, correlation length, and critical exponent of the system. What is a good way to go about doing this? ...
1
vote
0answers
42 views

Ising model Monte Carlo simulations in 4D and 5D

I'm going to be simulating the Ising Model in 4D and above to calculate spin-spin correlations and critical exponents and am wondering how to tackle this algorithmically. For example, in 1D, use an ...
0
votes
1answer
40 views

Probability density function of a particle for computation [closed]

I'm writing a program, part of which relies on a particle being able to change location similar to a how a real particle would behave (pardon my physics). For example, on a grid of 100x100, a ...
0
votes
0answers
38 views

Why are functional representations of systems important in physics or computational physics?

This was an addendum to a previous question I asked, but I figured I should make it it's own discussion. Assuming I am able derive a functional representation for any dynamical system (dissipative, ...
0
votes
1answer
60 views

Leapfrog method in Particle-in-cell

Recently I wanted to write a 3D electromagnetic Particle-in-cell code with c++.I know that I should use leapfrog method.For example,when I calculates the position and velocity of particles,i should ...
2
votes
3answers
79 views

Is it possible to reconstruct the wavefunction of a molecule from a collection of spectra?

Spectra of a molecule can be calculated if the wavefunction is known. Is it possible to do the opposite?
1
vote
0answers
167 views

Problems while numerically computing band structure using k.p theory

I want to use k.p theory to numerically compute the band structure of a bulk semiconductor. The band I like to include are the lowest conduction band (cb), the heavy-hole (hh), the light-hole (lh) and ...
2
votes
1answer
31 views

Hard processes in particle collisions

This is in reference to a MC generator called Pythia, but has wider applicability because the phrases are used widely in particle phyiscs, even though I have not managed to find a clear, ...
1
vote
0answers
23 views

Cellular automata and time T

Reading around about various CA models I saw that there are even those who are following the track to provide a single mechanicist model of the universe. For example Gerard van 't Hooft claims that ...
3
votes
1answer
59 views

Calculating a two-dimensional orbital path with infinite granularity (non-Euler integration)

For a game I am making, I am trying to calculate the position of an orbiting object around one or more bodies. I have successfully implemented this gravity simulation by calculating the force, then ...
0
votes
1answer
22 views

How do we define capillary number in 2D (two dimensions)

In 3D the capillary number $Ca$ is defined as: $$Ca=\frac{\nu \rho U}{\gamma}$$ where $\nu$ is the kinematic viscosity ($m^2/s$), $U$ is the velocity ($m/s$)and $\gamma$ is the interfacial tension ...
0
votes
0answers
17 views

Why breakdown voltage decreases with increasing FWHM of an asperity?

I am running a simulation for a dielectric breakdown. I am getting breakdown voltage decreases with FWHM, which does not make sense as field enhancement is higher for a small width. Simulations solve ...
1
vote
1answer
25 views

Effects of terrain on outdoor sound propagation?

I'm looking for a computationally fast model for capturing the effects of varying terrain topology in far-field outdoor acoustic propagation, and was wondering if anyone had any insight or could point ...
1
vote
3answers
105 views

Textbook recommendation for computational physics

Can anyone recommend some good textbooks for undergraduate level computational physics course? I am using numerical recipe but find it not a very good textbook.
0
votes
1answer
30 views

2D room with electron-point-charges (stability)

Is there a fast way to find out stable #"point charges" & constellation for this kind of Simulation. The 2D repeating itselve in each direction till infinity, so i've a kind of symetrie here. ...
2
votes
0answers
30 views

How can the fictitious mass in the Car-Parrinello method reproduce the “real” dynamics?

In the Car-Parrinello method, to solve simultaneously the classical equations of motion for the atoms and the Kohn-Sham equations for the electrons, the following effective Lagrangian is used: $$ ...
1
vote
1answer
32 views

Molecular dynamics and detailed balance

In developing methods to perform Monte Carlo simulations one sufficient condition to preserve the stationarity of the target probability distribution is to impose detailed balance i.e. [Gardiner page ...
0
votes
1answer
62 views

Possibility of simulating quantum physics and relativity [closed]

I must be clear; this is not a 'specific' question, but rather a hypothetical one. As of now, computer physics simulations are becoming more and more advanced, and I am programming one now. I was ...
3
votes
0answers
80 views

black body simulation

black body radiation is typically understood from Planck's argument of light resonance in a box, from which the density of states is computed. Now, suppose I want to simulate a black body ...
5
votes
0answers
81 views

The use of Artificial Intelligence in physics resarch

I have been reading about a machine that observed a double pendulum and created equations that both described its motion and associated conservation laws. The authors claims: We have developed a ...
0
votes
1answer
188 views

My python trajectory calculator for a small mass in a gravitational field - why is energy conservation violated?

I wrote this thing to calculate the next position of a small mass, given its current position and velocity, and a vector field determines acceleration. It sort of works - except I can never get the ...
2
votes
0answers
30 views

Mass scaling in molecular dynamics

I've noticed some authors scale the mass of particles in molecular dynamics simulations while leaving the force field parameters the same in order to achieve materials of different densities. Does ...
1
vote
1answer
45 views

Thermal conduction through 1D rod with changing thermal diffusivity?

I've been working with solving partial differential equations in 1D numerically using the finite difference scheme. My case is for example this: I've got a rod that's insulated around the sides such ...
1
vote
1answer
167 views

Why is the ground state energy of the Heisenberg XXZ Model unbounded for some values of $J$?

At the moment, I'm looking at numerically studying the Heisenberg XXZ model. The Hamiltonian is given below: $$ H=\sum_{j=1}^{N-1}\left(J S_j^z ...
2
votes
1answer
54 views

FDM versus fdtd for computational electromagnetics

Every article I've seen on computational electromagnetics uses the Yee fdtd algorithm, and I'm wondering if would be possible to do the same analyses using out of the box FDM with more data points, ...
0
votes
1answer
42 views

Ideas for physics-related simulations to code up as weekend (or monthly) projects [closed]

What are some good ideas for simulations that I could try to implement/code in my spare time just for educational purposes? I'm thinking that it would be a good way for me to delve into the underlying ...
6
votes
1answer
101 views

How close to the critical point is sufficient close for measuring critical exponents?

I am learning Monte Carlo and just manage to simulate a phase transition by computing the heat capacity or the susceptibility. I wish I can also compute critical exponents.To this purpose, I have read ...
4
votes
1answer
440 views

Philae lander simulation off by factor of ~3

I'm trying to simulate the Philae landing by writing a program to compute the position of the lander vs time. According to various mission websites, the orbiter will match its orbit to the rotation of ...
0
votes
0answers
23 views

Optimize locations of vertices and edge length using physics without simulation

I have a directed graph with set of vertices and edges. Each vertices don't have a position coordinate to be displayed on 2D computer screen. I want to add unique position coordinate to each vertices ...
-2
votes
1answer
47 views

Software for calculating the trajectory of a body in a coordinate system

I'm looking for a program, which would simulate the path of motion of a body in a coordinate system, given the force acting upon the body. I'd type in the initial conditions such as the velocity, ...
4
votes
1answer
162 views

Good source for numerical simulations of Wigner function?

I'm interested in simulating the time evolution of a Wigner function for a harmonic oscillator (and possibly some other potentials) and I can't seem to find a good resource for that. My background in ...
5
votes
1answer
83 views

Least action principle — numerical simulation strangeness

I'm trying to get some experience with the least action principle, and for this I chose a simple 1-dimensional problem of a particle moving in some field. The least action principle would then look ...
5
votes
1answer
215 views

Ray tracing in General Relativity

I would like to find out what one would see at the Schwarzschild radius of a massive non-rotating black hole, if the black hole is surrounded by a bright ring. For that, I would place the observer at ...
0
votes
0answers
23 views

Adams-Moulton and BDF methods

1.What are the differences between Adams-Moulton and BDF methods. Which one is better and which one computes the solution faster? I think Adams-Moulton is a better method as it can get to the ...
0
votes
0answers
52 views

How to calculate a Mooney-Rivlin material

Well, I'm working on a fsi (fluid-solid/structure interaction) model. I've got ready the fluid part, now I need to get ready the solid part. Since I'm working with tissues, I need to use an ...
0
votes
0answers
37 views

need some references in molecular dynamics simulation

I Just start we a new model on my project and I will need to work with Molecular dynamic simulation. I have to simulate dynamics of many filament inside a network (actomyosin network).The problem is ...
2
votes
0answers
114 views

How to compute matsubara frequency summation over computer?

Matsubara frequency sum usually takes the following form: $S_\eta = \frac{1}{\beta}\sum_{i\omega_n} g(i\omega_n).$ But in my problem, $g(i\omega_n)$ is a lengthy expression, which can not be ...