The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
1answer
25 views

Numerical Solution of the Convection Dispersion equation

I have asked this question on Computational Science and also on Mathoverflow, but no satisfactory answers so far. I thought maybe the physics community could shed some insight on the issue. I am ...
2
votes
1answer
44 views

9-point stencil “equivalent” for advection equation

So I inherited from some people a code that solves the advection-diffusion-reaction equation for a particular system. The original code was first implemented in 1D which worked fine in cartesian ...
0
votes
1answer
28 views

How to produce a 3D density map of a time-depenent system of particles?

I have a time-dependent system of varying number of particles (~100k particles). In fact, each particle represents an interaction in a 3D space with a particular strength. Thus, each particle has ...
-2
votes
0answers
15 views

Quantum system numerical simulation [duplicate]

I'm a student doing a research on computer program in quantum system. I found a challenge when I was writting a program of Euler method in Fortran 77 for a simple function y'=-y^2 before using a ...
0
votes
0answers
9 views

Why do Runge Kutta's method and Euler's are so different? [migrated]

I am solving a $\underline {\dot A}=\underline A\cdot \underline x$ system of linear equations numerically. I have don'e this in the popular of methods of Euler and Runge Kutta. I have noticed a ...
0
votes
1answer
40 views

The meaning of $\vec {\dot r}$ in the solution of a particle's movement in the space

Suppose I have a charged particle $q$ with mass $m$, and an infinite long wire that lies on the $z$ axis, in which flows a constant current $I$. My ODE that describes its motion is $$\vec {\ddot ...
0
votes
2answers
33 views

How to find time when temperature crossed certain threshold?

I have a data from experimental system concerning temperature of molten lead. In this system, temperature is increased in one place and then is measured when this increase of temperature travels to a ...
0
votes
0answers
15 views

Can we use Variational Monte Carlo for degenerate cases?

Consider Simple Example of Bose-Hubbard model $$H=-J\sum\limits_{<i,j>}b_i^{\dagger}b_j+h.c.+\frac{U}{2}\sum\limits_{i}n_i(n_i-1) . \tag{1}$$ We can solve this Hamiltonian by Variational ...
1
vote
0answers
58 views

What are the differences between the Jetphox, Pythia and Herwig event generators?

I know Jetphox is a parton-level event NLO generator program. But I want to know more about other generator programs such as Pythia and Herwig. What are the differences? I am undergraduate student so ...
0
votes
0answers
24 views

Numerical integration of divergent functions [migrated]

I am having trouble with the numerical integration of a divergent function. For example, \begin{equation} n= \int f(x)\,dx = \displaystyle\int \dfrac{\Theta(x-\varepsilon)\,dx}{\sqrt{x-\varepsilon}} ...
3
votes
2answers
75 views

Why is my two body model not working? [closed]

I have created a simple 1 Dimensional two body particle model in C++. In the model, particle 1 starts at position (0,0) and particle 2 starts at position (1,0). The particles are accelerated towards ...
2
votes
1answer
56 views

Damping a spring force

I'm modelling particles in a system using a spring and damper force. $$F= kx -cv$$ $x=x_i -x_f$, where $x_i$=centre of spring and $x_f$= displaced position. Above $x$ is the displacement and $v$ is ...
1
vote
0answers
59 views

Selecting physical solutions in numerical eigenvalue problems

I try to solve a certain time-independent Schrodinger equation numerically, using the method of finite differences. My boundary conditions are such that the finite difference method gives me an ...
0
votes
1answer
39 views

Sampling a 2-dimensional surface: How many samples along X & Y axes?

I have a set of first 25 Zernike polynomials. Below are shown few in Cartesin co-ordinate system. z2 = 2*x z3 = 2*y z4 = sqrt(3)*(2*x^2+2*y^2-1) : : ...
1
vote
2answers
94 views

Incompressible Navier-Stokes pressure solve in simulations

I am a complete newcomer when it comes to fluid simulations. I'm currently working through some tutorials to understand the idea of of the discretized Navier-Stokes equations for numerical ...
2
votes
0answers
125 views

Precession of Mercury (Python simulation)

I was trying to simulate the precession of Mercury based on the perturbed solution, and my questions about its implementation in python can be seen here: ...
5
votes
5answers
319 views

Resolving General relativity and Newtonian mechanics to a computer [closed]

I know this is considered an old subject long ridiculed by many as the folly of layman. But I work in the field of computer simulation, specifically in producing fully functional 3D interactive ...
1
vote
0answers
38 views

Is there a numerical calculation for black hole - neutron star merges?

I think it might be even a more frequent event as the black hole merges. It would be similar to the black hole merges in the gravitational wave spectrum, but it could have a very clear neutrino and ...
1
vote
1answer
45 views

Meaning of imaginary eigenvalues in advection equation

I'm reading the book Fluid Simulation for Computer Graphics (Amazon link), and stumped by the following sentence in Chapter 3: what's happening is that the eigenvalues of the Jacobian generated ...
0
votes
2answers
85 views

What is the fastest algorithm to solve a Nonlinear second order differential equation numerically

I am trying to solve a second order non linear differential equation in one variable. Using RK4 I am getting good accuracy and is working fine. But the problem is my range is very high so it will ...
3
votes
2answers
78 views

Numerical modelling of a step function in time in a hydrodynamic system. (Runge Kutta fourth order)

So I'm trying to model a hydrodynamic system that introduces a sudden "jump" in the value of a function at a specific time. The system is solved with a Runge-Kutta fourth order method. I have a ...
3
votes
1answer
76 views

Is there an algorithm for N body simulations in General Relativity [duplicate]

I am new to general relativity but have a background in computer science. Why is it so hard to do n-body simulations in GR? For example, there could be a program which takes the properties (mass, ...
0
votes
0answers
35 views

Derivative of time with respect to proper time

When wants to solve the Schwarzschild-Two-Body-Problem with the Runge-Kutta-Method, the second derivative of the time $t$ with respect to the proper time of the moving particle $\tau$ is needed. How ...
0
votes
1answer
84 views

How to solve highly oscillating differential equation [closed]

The equation looks like: $$x''(t)+bx'(t)+c x(t)+dx^3(t)=0.$$ This is the motion of a particle in a potential $cx^2/2+dx^4/4$ with friction force $bx'$. In my case, the friction term is very small and ...
0
votes
0answers
102 views

How to solve the Dirac equation numerically?

The effective Hamiltonian for my system is: $$ H=\nu_{F} \sigma\cdot\left(q-By\hat x\right) $$ where $\sigma$ and $q$ are the Pauli matrices and the momentum operator respectively and $\nu_{F}$ and ...
1
vote
1answer
57 views

Formulating a symplectic integrator for a non-local Hamiltonian

I recently asked two questions, Q. [1] and Q. [2], regarding reformulating non-local Lagrangians as Hamiltonians. In these questions, the Hamiltonian is formulated as an integral because of it's ...
0
votes
0answers
44 views

Electromagnetic boundary conditions for modelling symmetrical geometry

I stumbled upon this article: http://www.comsol.com/blogs/exploiting-symmetry-simplify-magnetic-field-modeling/ Since the article does not contain any mathematical formulations, I was wondering how ...
0
votes
1answer
65 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 ...
3
votes
2answers
701 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 ...
1
vote
1answer
40 views

Numerical construction of phase space for a dynamical system

Suppose I have a standard, deterministic dynamical system. For concreteness I'll assume it's a two variable system of the form, $$ \dot x_1 = f(x_1,x_2; \theta_1)\\ \dot x_2 = g(x_1,x_2; \theta_2) $$ ...
0
votes
1answer
25 views

Is it realistic for soundwaves under water to “sink” or “float”?

I'm studying soundwaves under water and I had a numerical problem that I was asking about. http://stackoverflow.com/questions/28904017/are-my-matlab-iterations-working Now I wonder if you can tell ...
1
vote
0answers
87 views

Numerical Solution of 1D Boltzmann Transport Equation

I need to solve the one-dimensional Boltzmann transport equation in a semiconductor numerically, and I want to take a deterministic approach toward the problem (i.e. not use Monte-Carlo or similar ...
2
votes
1answer
63 views

Estimating divergence of set of vectors

I have a set of points where directions and intensities of a flow are given (in 3D). Is it possible to estimate the divergence of the flow defined by those vectors? I only need a rough estimate and I ...
0
votes
0answers
35 views

What does invariant exactly mean and how does it get the invariant?

I have read many journal about simulation of regularized long wave. In numerical test section,many researcher use invariant of mass,momentum and energy to check accuracy of their method but i found ...
2
votes
2answers
146 views

Hamiltonian mechanics really useful for numerical integration? Lagrangian can become 1st-order

(I'm talking about the classical mechanics.) Many texts say that Euler-Lagrange equations are difficult to treat numerically because they are second-order ODEs, ${f_i(\boldsymbol{q, \dot{q}, ...
1
vote
1answer
97 views

Hartree Fock equations

I don't understand how the Hartree Fock equations define an iterative method! For this discussion, I am referring to the HF equations as described here: click me! Basically if you guess a bunch of ...
0
votes
0answers
22 views

What is the transfer function in fft beam propagation for unpolarized light?

What is the transfer function in fft beam propagation for unpolarized light ? How to construct the fft beam propagation ? This is for homework. For coherent light the beam propagation is E(x,z) ...
0
votes
0answers
45 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, ...
1
vote
2answers
132 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 ...
0
votes
0answers
14 views

What is the phase-amplitude numerical method?

What is the phase-amplitude numerical method? I heard its used to calculate long range interactions numerically, but I cannot find any papers discussing its method of implementation.
0
votes
0answers
79 views

Stability of Mathieu's equation and parameteric resonance

I am given the following equation (Mathieu's equation) in my subject of Numerical Analysis : $$ \frac{d^2 x}{dt^2}=-\omega^2(1+\epsilon\cos(t))x $$ I am supposed to find those frequencies $\omega$ ...
1
vote
0answers
203 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 ...
0
votes
0answers
48 views

Differential Equations for Two-Dimensional N-Body Simulation

So I recently asked a question about improving the stability of a two-dimensional orbital simulation (as before I was using Euler integration). I was told to use Runge-Kutta 4 for a more stable ...
3
votes
1answer
83 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 ...
4
votes
1answer
313 views

Integral of Sedov's self-similar solution to the spherical blast wave problem

I'm studying the Taylor-Sedov self-similar solution to the problem of a strong explosion in a homogenoeus atmosphere. The problem is discussed in Landau & Lifschitz VI (in the 2nd edition it's ...
0
votes
0answers
18 views

How to conserve power at the reflection boundary of perfect conductor?

How to conserve energy during the reflection ? I am taking the abs value of $\sum E_{field}$ along spacial direction and plotting at each time step. Then it is normalized to the input E filed. ...
1
vote
1answer
161 views

Numerical solution for Friedmann equations

My problem today is to solve the Friedmann equations, for those who aren't familiar with them, here they are (in my specific case): $$ \left ( \frac{\dot{a}}{a^2} \right )^2 = \frac{\rho_1}{a^4} - ...
1
vote
1answer
219 views

Can I use Runge-Kutta to solve these equations?

Edit: I'm going to give some more background and derivation to show how I got to these equations. I am basically following the derivation that is found in the appendix of the following paper: ...
0
votes
0answers
88 views

Boundary conditions of stream function

I have to do an problem about solving numerically the flow that goes under an airfoil. The airfoil has a flap deployed downwards and I need to solve the mesh that it's under the airfoil. I have drawn ...
3
votes
3answers
588 views

What's the difference between “numerical methods” & “mathematical analysis” as said by Feynman in his lectures?

While reading his lectures, I came to these lines: On the basis of Newton's second law of motion,which gives the relation between the acceleration of any body & the force acting on it,any ...