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

1
vote
1answer
68 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
255 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 ...
1
vote
1answer
148 views

A puzzle of thermalization in simulating the 3D XY-model

I am learning the classical Monte Carlo simulation. When I simulate the 3D XY-model $$ \beta H = -\beta J \sum_{<i,j>} cos(\theta_i-\theta_j) $$ where $\beta$ is the inverse of the temperature ...
1
vote
1answer
143 views

Ground state Phase Diagram of Bose-Hubbard Model

The Hamiltonian of Bose-Hubbard model reads as $$H=-J\sum\limits_{<i,j>}b_i^{\dagger}b_j+h.c.+\frac{U}{2}\sum\limits_{i}n_i(n_i-1)-\mu\sum\limits_in_i~~~~~~~~~(1)$$ For this we plot phase ...
1
vote
1answer
65 views

Calculate Euler equations of fluid dynamics without division?

I'm working on the calculation of the Euler equations with the finite volume method. Unfortunately I'm not allowed to do a division. So I'm wondering if there's a form which does not need a division. ...
1
vote
1answer
125 views

Rigid body collision, 3 circles in contact

I'm working on a 2d physics simulation. It's a continuous time simulation, that is, it uses swept shapes over the time-frame and geometrical/vector 'analysis' to determine most immediate time of ...
1
vote
1answer
96 views

Motion of rigid body system in absense of work

In the absence of work on the system, is there a closed form equation for the motion of a set of constrained rigid bodies (let's say, using Revolute (ie: simple pivot) constraints)? If the bodies are ...
1
vote
1answer
78 views

what is two species Bose Hubbard Model? what chage it takes on Fock basis representation?

The Hamiltonian will look like \begin{equation} \ H= -t^a\sum_{<i,j>}^{}(a_i^\dagger a_i + h.c.)-t^b\sum_{<i,j>}^{}(b_i^\dagger b_i + ...
1
vote
1answer
582 views

Magnetic field of permanent magnet [closed]

Hi I am looking for some code to (computationally) calculate the magnetic field of a rectangular permanent magnet in 3D space. Preferably I could edit it to add in my own dimensions. Does anyone know ...
1
vote
1answer
126 views

Parameter determining argon phase

Currently I am working a molecular simulation to determine phases of an argon NPT ensemble using Lennard Jones potential. Mainly I use the radial distribution function to determine solid, liquid, or ...
1
vote
1answer
320 views

Help: 3D visualization of magnetic field around moving point charge

The diagrams I'm able to find online only show the concentric field lines in the particle's plane, perpendicular to the motion, which of course generalizes to the cylindrical shape around a conductor. ...
1
vote
2answers
296 views

Where does Computer Science background students fit in Theoretical Physics [closed]

I am basically an Electronics student - background in computer science (that's where I want to work). I applied for an internship in USA in a research institute where the group is focused in ...
1
vote
1answer
282 views

Numerical algorithms to generate a random wavefunction from a thermal ensemble

I am seeking an algorithm to generate a random wavefunction = $\sum {c_i |\varphi _i\rangle }$ from a thermal ensemble, whose density matrix $\rho \sim e^{-\beta H}$, without the need to diagonalize ...
1
vote
1answer
183 views

What software can I use to simulate supersonic gas particle flow? [closed]

Please please help me out with this. I am trying to find a software/program that I could use the simulate the scattering effect of light when it strikes gas particles moving at supersonic speeds? ...
1
vote
0answers
73 views

What is this nested bracket notation?

The following is an excerpt from K. Varga's paper, Precise solution of few-body problems with stochastic variational method on correlated Gaussian basis: ...The function $θ_{LM_L}(\mathbf{x})$ in ...
1
vote
0answers
38 views

Mixed spin Ising Model

As we know ferrimagnets can be modeled by the Ising model. I came across this equation in "Compensation Temperature of the Mixed-Spin Ising Model on the Hexagonal Lattice" by W. Figueiredo, M. Godoy, ...
1
vote
1answer
82 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
2answers
71 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
72 views

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

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
0answers
30 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 ...
1
vote
0answers
60 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 ...
1
vote
2answers
121 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 ...
1
vote
0answers
190 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 ...
1
vote
1answer
42 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 ...
1
vote
1answer
29 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
1answer
44 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 ...
1
vote
0answers
53 views

Does Planck's constant imply limits to computing *results*

... I don't mean quantum effects limiting hardware fabrication sizing. Such small scales have for some time exhibited issues. Rather, along the lines of imagining the smallest possible divisions of ...
1
vote
1answer
54 views

How do I set up the tridiagonal matrix for a heat diffusion with layers of different thermal diffusivity?

I have Scala code that recreates the Crank-Nicolson solutions for the diffusion equations, and matches 'Excel for Scientists and Engineers' (Joe Billo, Wiley). However, I would like to be able to ...
1
vote
0answers
34 views

Computer coding of Perdew Burke and Ernzerho (PBE) method

I have been assigned the task to write a computer code to implement the Perdew Burke and Ernzerhof (PBE) method. Does anyone know a good reference which can make the coding of this method easier?
1
vote
0answers
102 views

XCrysDen Structure file [closed]

Does anyone know how to directly convert a .cif file to a Xcryden structure file(.xsf) ? I know how to extract the lattice vectors and the atom positions from a .cif file, but don't whether the .cif ...
1
vote
0answers
87 views

Which are the good universities for doing PHD in computational physics? [closed]

Currently i am doing MSC(physics) from Pune university, India. And I want to do PHD in computational physics as it interests me the most. So I want to know which universities will be a good option for ...
1
vote
0answers
354 views

Hysteresis Curve and how to implement it using Preisach model or other models

As a homework I need to draw a hysteresis curve (preferably an interactive one) using Matlab or any other programming language. The problem is I have trouble finding a good algorithm to do so. I need ...
1
vote
0answers
50 views

How to get discretization coefficients of matrix $A$ in Finite Volume Method (FVM)? [closed]

First we have Discretization of the Transport Equation $$ \frac{\partial \rho \phi}{\partial t} + \nabla(\rho U \phi) - \nabla (\rho \Gamma_\phi \nabla \phi) = S_\phi (\phi) $$ In Finite Volume ...
1
vote
0answers
74 views

Application of wavelets in computational electromagnetics

I am a first-year graduate student (electrical eng.); wavelets is one of the courses that I am taking presently. As part of the course, I plan to explore application of wavelets in computational ...
1
vote
0answers
475 views

Numerical solution of two coupled second order differential equations of motion [closed]

Is there a numerical algorithm for solving a pair of coupled second order differential equations? This question arises from a homework problem that I have that involves two dimensional projectile ...
1
vote
0answers
103 views

How does the Lennard Jones Potential changes for interaction between particles of different sizes?

I am interested in incorporating a Lennard-Jones potential in a simulation. When the interaction only involves the same type of particle, with same characteristics, we can use reduced units, scaling ...
1
vote
0answers
109 views

Gerstner Wave Formula to Vertex information $(x,y,z)$

I have created a program, that draws a plane mesh, and allows to me edit or animate all the separate vertices along it. The idea behind it, is for me to be able to create a gridMesh based wave ...
1
vote
0answers
523 views

Is Bremermann's limit redundant with Landauer's limit for all practical purposes?

Trying to understand the physical limits to computation, I notice that among these we have two types of limits that constrain the minimum allowable energy for a computation. Limits that constrain ...
1
vote
0answers
58 views

Find out ground sates for large 2D classical spin model

Reaching the ground state of a large 2D classical spin model (e.g. classical Heisenberg model) might be a relatively difficult task while using conventional "flip/reject" Monte Carlo method. The ...
1
vote
1answer
114 views

Simulation of an one dimensional driven diffusive system [closed]

I'm currently writing a simulation in python with scipy and matplotlib to reproduce an one dimensional driven diffusive system described in this paper from M.R. Evans et al. The system consists of ...
1
vote
0answers
180 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 ...
1
vote
0answers
3k views

How to calculate the velocity of fluid at the outlet when density and the pressure drop are known?

I have a U- like pipe. Its inlet has atmospheric pressure $p_o=10^{5} \, Pa$. Vacuum is applied to the other end with a pressure gradient $\nabla p_v=-30 \cdot 10^{3} \, kPa/s$. The total time of the ...
1
vote
0answers
224 views

How to solve Boltzmann equation using monte carlo methods? [closed]

I'm trying to solve for electron and hole distribution function using Boltzmann equation with various scattering mechanisms. Since I land up with an integro-differential equation, analytical soln. is ...
1
vote
0answers
241 views

2D quantum well energy spectrum (analytical vs numerical)

I am trying to understand the energy spectrum difference between the analytical and the approximated solution for a quantum well. The particle is inside a box with domain $\Omega=(0,0)$X$(1,1)$. For ...
1
vote
0answers
147 views

What libraries are available for solving problems at the college physics level? [closed]

Are there any libraries available for solving problems at the level of college physics? In particular, I'm interested in libraries for general purpose programming languages that can calculate results ...
1
vote
0answers
71 views

numerical investigation of stability [closed]

I am trying to find the required specifications of an paul RF trap, in which a proton can be confined.(trap dimensions,voltage frequency and amplitude used, etc). I have to solve the equations of ...
1
vote
0answers
363 views

fun computational physics projects [closed]

I want to learn how to code in Java and am in need of some cool computational physics projects that would provide motivation to do so. I was wondering if you guys could list some medium-level ...
1
vote
0answers
41 views

bond energies database [closed]

I’m looking for a public database of bond energies of biochemical compounds. Do you know about any? Otherwise, which is the standard computational methodology to calculate them? Any references would ...
1
vote
1answer
833 views

Calculating semi-major axis of binary stars from velocity, position and mass [closed]

I'm trying to calculate the 'instantaneous' semi-major axis of a binary system with two equal (known) mass stars for an $N$-body simulation. I know their velocities and positions at a given time, but ...
1
vote
0answers
231 views

Modeling the trajectory of a particle in an Electric field [closed]

[This problem has been resolved, sorry for posting in the wrong forum!] (I was trying to model the trajectory of a particle in an electric field.)