Questions tagged [computational-physics]

Questions with this tag should be about computational physics, which is the study of physical situations with the use of software (commercial or in-house). Please note that details of writing and/or debugging code is OFF-TOPIC and should be asked at either Computational Science, Code Review or Stack Overflow.

Filter by
Sorted by
Tagged with
1
vote
0answers
213 views

Obtaining propagating solutions for Schrodinger equation from known bound states (in 2 and 3 dimensions)?

If I found all the bound states for a certaing potential in 2 or 3 dimensions (numerically), can I immediately obtain some information about the propagating solutions for the same potential (such as ...
1
vote
1answer
76 views

How to model Solar System formation accurately and realistically, Part 1

I've been working on a crude N-body simulator which allows N bodies of equal masse​s to interact gravitationally in 2 dimensions. My goal is to model the formation of Solar System. Each body is ...
1
vote
1answer
419 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 ...
0
votes
0answers
392 views

Critical slowing down in Monte-Carlo algorithm for classical 2D Ising Model

Why do local updates (i.e. local spin flips) near the phase transition in MC algorithm for classical 2D Ising model are said to be not "effective" and lead to incorrect critical indices? I understand ...
0
votes
2answers
355 views

Runge Kutta 4 for orbits and Newtonian Mechanics

How can I use the Runge Kutta 4 method to solve orbits of Newtonian Mechanics, with position vector $\mathbf x$, velocity vector $\mathbf v$ and acceleration vector $\mathbf a$? Do I still have to ...
-1
votes
1answer
90 views

Numerical approximation of the wavefunction in a delta-potential [closed]

I am trying to approximate the wavefunction of a particle in a delta potential $U(x) = -U_0 \delta(x)$ with $V_0 \gt 0$. I am using the following formula to calculate the wavefunction: $\psi(x+\Delta ...
-2
votes
1answer
2k views

How to plot forcing ocillation with damping correctly? [closed]

The forced oscillation with damping is described as $$\frac{d^2x}{dt^2}+\gamma\frac{dx}{dt}+\omega_0^2x=\frac{F_0}{m}\cos{\omega t}$$ Its solution is $x=A\cos{(\omega t-\delta)}$, with $$A(\omega)=...