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)

1
vote
0answers
51 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 ...
0
votes
1answer
79 views

Failure of a simple stat mech simulation

so I did a simple simulation that I thought would yield a Boltzmann distribution, but it failed to, and I was wondering if anyone has insight into why it failed. Ok, so I had a simple discrete system ...
1
vote
1answer
75 views

Getting nonphysical results when solving for the index of refraction of a slab?

I'm trying to computationally find the refractive indices (real and imaginary) for a thin slab suspended in air (so the only indices to deal with are air and my material's). I've experimentally taken ...
3
votes
0answers
877 views

Numerical problem in solving the Bogoliubov de Gennes equations- methods to solve?

I am trying to solve an assignment on solving the Bogoliubov de Gennes equations self-consistently in Matlab. BdG equations in 1-Dimension are as follows:- $$\left(\begin{array}{cc} ...
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 ...
3
votes
1answer
220 views

confusion in discrete transform to solve kronig penney matrix equation in fourier space

I have a periodic potential $$V(x) =\sum_{K}e^{iKx}V_{K} =\sum_{n}e^{\iota2\pi nx/a}V_{n} $$ where $K =\frac{2\pi n}a$ is the reciprocal lattice vector and $a$ is the lattice constant and $n =\pm ...
1
vote
0answers
502 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
105 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 ...
6
votes
2answers
248 views

Eigenvalue problem for differential equations in QM

I have a very simple question with regard to numerical methods in physics. I want to solve the eigenvalue problem for a particle moving in an arbitrary potential. Let's take 1D to be concrete. I.e. I ...
1
vote
2answers
168 views

What is a good model for computing water dropping on a surface?

Before introducing my question I would like to outline the fact that I'm a coder, so I can be wrong when using some kind of terminology. What is a good model for computing the flow, the shape and all ...
1
vote
0answers
113 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
1answer
97 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 ...
2
votes
2answers
150 views

Sampling a distribution (from a galaxy model)

I am reading the following article: http://www.kof.zcu.cz/st/dis/schwarzmeier/galaxy_models.html and am currently at section 5.6 (positions of bodies in a galaxy). I am trying to redo the simulations ...
1
vote
0answers
538 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
1answer
178 views

Smoothed Particle Hydrodynamics, Chemical Reactions and Stiffness [closed]

Dear people from stackexchange physics. I have been using SPH for quite a while to simulate free boundary flow, and just recently we tried to include some kind of (simple) chemical reaction in our ...
4
votes
1answer
143 views

How to find positions of $n$ masses in Newton mechanics?

I ran into a problem while doing research. The problem can be described as: consider the original $n$-body problem, and if we fix the position of them(unknowns), no interaction among them, they don't ...
1
vote
0answers
59 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 ...
2
votes
3answers
164 views

Do algorithms have an intrinsic time direction?

This article says There is no intrinsic time direction in Newton's mechanics nor in the differential equations of the new physics. My question is, do other types of mathematics, say a cellular ...
4
votes
2answers
241 views

Can computers accurately model all of the details (to the subatomic level) of macro objects in collisions?

Frequently when trying to solve cosmology questions physicists turn to computer simulations of the universe (albeit massively simplified) in order to verify or disprove their hypotheses. This got me ...
8
votes
3answers
2k views

How are physics and computer science getting united? [closed]

How is theoretical computer science getting united with physics? Phenomena like Quantum Computing uses Quantum Mechanics to be able to compute things, how are computers helping not just to model our ...
-2
votes
1answer
141 views

I am looking for 'Programming+Electronics+ Physics' field [closed]

I wish to pursue a career that somehow involves programming, electronics, and physics. What are such careers? Also, I have heard of some 1 year post-graduate diplomas/courses for specialization in ...
1
vote
2answers
116 views

Discrete approximation of charge density

Given the electric potential $\Phi(r)$ and the Poisson's equation: $$ \nabla^2 \Phi(r) = - 4\pi \rho(r)$$ Consider the 2-dimensional case and let's say that I want to discretize this using a square ...
1
vote
1answer
81 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 + ...
0
votes
0answers
44 views

Should particles in Smoothed Particle Hydrodynamics (SPH) always move during a simulation?

Or can they just be used as an interpolation points and use some other "transported property" which are just evolved and propagated from boundary conditions like for eg. heat conduction through a ...
0
votes
2answers
132 views

Grand canonical ensemble with interaction, simulation doubts

First of all, this is a follow-up of my first question. The idea is the same, every state would consist of some particles in a line (with an energy associated) and the particles can not be nearer than ...
0
votes
1answer
129 views

Plane Wave expansion method

I really don't know if this is the right forum to ask the question...but please help me if you can!! I was going through the Plane Wave Expansion Method Derivation...But to be honest I could not find ...
1
vote
2answers
655 views

Acceptance probability 2D Ising Model

Disclaimer: I just found a possible solution - eventhough i don't really understand, whats wrong with my prior approach. Edit: I just tried to calculate it from scratch and found the following: $E ...
0
votes
0answers
67 views

Can peridynamics give accurate quantitative results?

I'm applying for a position that is interested in studying crack growth using peridynamics. I have experience with MD on polymeric systems, but I had never knew of this method before. It seems very ...
7
votes
1answer
410 views

Numerical schemes, time integration algorithms and energy conservation

What does it mean when someone says a numerical scheme or a time integration algorithm is "energy conserving". How can a numerical scheme "gain" or "lose" or "conserve" energy apart from the numerical ...
7
votes
1answer
133 views

Minimal Extension of Wave Equation to Include Dispersion

Let's say you are modeling some process with the wave equation $\frac{1}{c^{2}}\frac{\partial^{2}\psi}{\partial t^{2}} = \nabla^{2}\psi$. You wish to improve your model by including dispersive ...
0
votes
0answers
99 views

numerical diagonalisation comparison of complex Hermition matrix and real matrix

we are doing K space calculation(transnational invariant basis) of Hamiltonian, and trying to compare with exact method for same nos of sites and particles, we are getting big difference in ground ...
2
votes
0answers
323 views

What is the drag coefficient of an open wedge?

To check my two dimensional CFD calculation I am looking for reference data on the drag coefficient of an open wedge. The geometry is shown below, together with the flow direction. I have found ...
1
vote
1answer
1k views

Why do people use C++ in Computational Physics? [closed]

Once day, I talked to my Prof. about Computational Physics and he showed me his work. I'm quite surprised that why Prof. use C++ for computation because C++ quite complicated. I heard he talked about ...
7
votes
5answers
814 views

Church-Turing hypothesis as a fundamental law of physics

The Church-Turing hypothesis says one can not build a computing device which has more computing power (in terms of computability) than the abstract model of Turing machine. So, there is something in ...
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
190 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 ...
7
votes
1answer
2k views

Riemann invariants…Any physical interpretation?

I am really new to the CFD simulation, and started some simple algorithms recently. I then got introduced to the Riemann Invariants. Can any one provide some physical interpretation? Also, why is ...
2
votes
0answers
338 views

simple MHD simulation code for (self) education and play with [closed]

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 ...
0
votes
3answers
301 views

Meaning of “Gradient with respect to coordinates of particle” in SPH

I'm currently trying to implement a simple SPH simulation based on a variety of papers. However as I'm not a trained physicist nor mathematician I have a small issue with the following notation and ...
-2
votes
1answer
140 views

Can you suggest me some good resource for learning Mathematica for physics? [closed]

I am into HEP. I know nothing in Mathematica and have to start from basics. HEP requires a lot of computation for Feynman diagrams etc could you please suggest some good resource to start learning ...
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 ...
5
votes
2answers
288 views

Ising model observables

Is there a formula or equation relating $\langle E\rangle$ and $\langle M\rangle$ (average spin per site) and $\langle E^2\rangle$ to temperature $T$ for the square lattice Ising model at zero ...
1
vote
0answers
235 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 ...
8
votes
1answer
1k views

What are the limitations of Smoothed-Particle Hydrodynamics?

I've been excited by some of the possibilities of Smoothed-Particle Hydrodynamics (SPH). I have seen some very exciting demonstrations of their use in 3D graphics, but I am wondering how well the ...
1
vote
1answer
138 views

Computational Fluid Dynamics methods

I have read some articles about the finite difference method on a cartesian orthogonal grid. I understand how it works when Dirichlet boundary conditions are used, or when Neumann boundary conditions ...
1
vote
1answer
138 views

Deriving the change in the Helmholtz free energy in the context of the free energy perturbation method

I am reading Free Energy Calculations: Theory and Applications in Chemistry and Biology by Chipot and Pohorille. At the beginning of the text (page 19, for example), the authors define the Helmholtz ...
4
votes
1answer
274 views

What states are satisfying an entropic area law and why do they satisfy it? More specificly why do matrix product states satisfy it?

I am currently reading some papers concerning the question why the density matrix renormalization group (DMRG) method is working well for simulating one dimensional systems and bad for higher ...
2
votes
0answers
60 views

Trotter splitting and entanglement entropy

I have heard that a numerical solution to the Schrodinger equation using the Trotter splitting formula for a many-body Hamiltonian can cause an artificial increase in the entanglement entropy. I was ...
3
votes
1answer
131 views

How to determine predicted CP violation for a given SUSY point?

I'm currently studying at the spectra of some supersymmetric models, and would like to know whether the parameter points I'm looking at are ruled out due to excessive CP violation. I am using SPheno, ...
7
votes
2answers
682 views

Diifference between real time propagation and imaginary time propagation?

Suppose I want to solve Nonlinear Schrodinger equation using imaginary time propagation to get the ground state solution. I choose $t = - i t$, and then solve the equation using split step Crank ...