Questions tagged [computational-physics]
Computational physics is the study and implementation of numerical algorithms to solve problems in physics for which a quantitative theory already exists.
465
questions
1
vote
1
answer
252
views
Is it possible to simulate fluid dynamics in a time-based and deterministic manner?
The Problem Domain
I have a number of network-connected PCs. I want to be able to simulate and replicate the same simple fluid dynamics simulation (E.g. Navier-Stokes), in real-time, between them. ...
2
votes
0
answers
163
views
Why does my Finite Difference approximation not work?
I am trying to find out the magnitude of the acceleration of my object based on non-uniformly sampled 3D position data. I'm using the standard approximation of the 2nd order derivative on a non-...
1
vote
0
answers
37
views
Keplerian Orbit Estimator [closed]
While calculating the eccentric anomaly of a satellite using the Newton-Raphson method, what initial estimate of the root for E (eccentric anomaly) should be taken for least number of iterations(best ...
0
votes
1
answer
71
views
How to model waterflow when only a couple of sample points available
Figure below depicts a cross section of a creek for which I am trying to measure the water flow for that section. What we have as inputs are a bunch of sample points on the river. For each sample ...
1
vote
1
answer
634
views
How does Abaqus calculate Hill's function for non-rectangular coordinate systems?
Within the manual, the effective/von Mises stress or Hill's potential for anisotropic bodies is calculated in Abaqus in cartesian rectangular coordinates as
$\sigma_{eff}=\sqrt{I_{1}^{2}-3I_{2}} \\
f(...
24
votes
5
answers
6k
views
What language should I use when teaching an undergraduate course in computer programming?
Going to teach students of undergraduate level a course titled Introduction to Computer Programming. I am confused a bit. In Computational Physics scientists use C/C++ or Python or Fortran,CUDA etc.......
2
votes
1
answer
1k
views
Celestial mechanics simulation software? The 'N-Body Problem'
What software or sites might simulate an N-body gravitational problem? Application is related to Klemperer Rosette or Iridium Satellites. Bias for C, C++, PHP, or Java. Nice visuals a big plus.
...
3
votes
2
answers
1k
views
Darcy Flow - Solution by Finite Difference
I'd like to model the fluid flow through a porous medium using finite differences. Since I am new to this numerical technique, I have a simple question.
I use the following set of equations to ...
42
votes
6
answers
9k
views
Are there simple ways to numerically solve the time-dependent Schrödinger equation?
I would like to run some simple simulations of scattering of wavepackets off of simple potentials in one dimension.
Are there simple ways to numerically solve the one-dimensional TDSE for a single ...
11
votes
2
answers
11k
views
How do I plot the surface of a 4D plot?
I am trying to plot the wave function for a particle in a 3D box. This requires me to plot 4 variables: x, y, z axes and the probability density function.
The probability density function is:
...
2
votes
1
answer
163
views
Inclined plate capacitor grid/ mesh
You can calculate the electric potential over every point in a defined space by solving Laplace's equation. To do this in a computer program you set up an 2-d array/ matrix and loop the internal ...
3
votes
3
answers
237
views
Numerical scheme with energy conservation?
I have a set of equations to integrate something in time $t$. At each time step I compute a scalar field $\phi(t)$ and a potential $V(\phi)$. I should also control the conservation of energy with an ...
7
votes
4
answers
824
views
Introductory book on computational physics [duplicate]
I'm currently working on my MS in CS and have developed an interest in astrophysics. Luckily one of my professors is a astrophysicist and is currently doing research through computational physics and ...
0
votes
2
answers
139
views
Validating conservation laws from physics
Say I'd like to implement a numerical model of a physical system (e.g. a simple wave equation).
Of course the energy conservation law is valid for this system.
Is there a way to validate that my ...
5
votes
1
answer
591
views
General case Kutta condition
I'm working on a 2D inviscid fluid simulation using a "panel method", with Potential being used to enforce the no-through boundary condition. I'm trying to incorporate the Kutta condition, which says ...