Read about computational physics | 64 Discussions | Page 1

  1. J

    Best Environment/Programming Language for simple physics Simulations

    Hello, I am looking for something to simulate/visualize simple particles and classical physics equations, preferably moving in real time Requirements: -Able to turn matrices/functions into geometric representations(visualize sphere, visualize a cylinder etc.) -Can do the classic ball bouncing...
  2. S

    Moving from Computer Science to a PhD in Computational Astrophysics

    Hi I am planning to do phd in computational astrophysics or planetary science or scientific computing simulation (least preferred in case i am not allowed to the other two). Right now I have bachelors in computer science and planning to do masters in the same. My query is should i join...
  3. V

    Courses Undergraduate Math Course Selection Question

    Hello, I'm a college undergraduate sophomore interested in eventually getting a Ph.D. in biophysics or computational physics. I have the chance to take several graduate math classes in the next two years, and I was wondering which ones would be the most useful for me in the future. They are...
  4. Auto-Didact

    A The Wolfram Model & Wolfram Physics Project

    As seen in the video above, ten years ago Stephen Wolfram teased a computational physics program which he simply called 'Physics'; some of this work was outlined in his magnum opus "A New Kind of Science". A few days ago he has finally given a huge update of this in his blog...
  5. CrosisBH

    Computing the wave function of a square potential

    The book's procedure for the "shooting method" The point of this program is to compute a wave function and to try and home in on the ground eigenvalue energy, which i should expect pi^2 / 8 = 1.2337.... This is my program (written in python) import matplotlib.pyplot as plt import numpy as...
  6. CrosisBH

    [Computational Physics] Modeling the path of a Baseball with drag

    import matplotlib.pyplot as plt import numpy as np #constants and conditions initial_velocity = 49.1744 #m/s, book has 110mph velocity_angle = 35 * np.pi / 180 #coverted to radians because numpy only likes radians gravity = 9.8 #m/s^2 dt=0.1 windspeed = 4.4704 #m/s book has 10mph #calculating...
  7. patrykh18

    Plasma physics project ideas

    Summary:: I am looking for topics to give a presentation on. Hi everyone. If this is in the wrong section feel free to move it. Anyway, as part of our lab course, on top of doing experiments we will also have to prepare a 20 minute presentation on a chosen topic on physics. This is not like...
  8. K

    I Numerical Solution to the Rayleigh Plesset Equation [SOLVED]

    I have been trying to numerically solve the Rayleigh Plesset equation: $R\ddot{R} + \frac{3}{2}(\dot{R})^2=\frac{p_g-p_0-p(t)}{\rho_l}-4\mu\frac{\dot{R}}{R}-\frac{2\gamma}{\rho_lR}$ using the odeint python function. The code is given below: import numpy as np from matplotlib import pyplot as...
  9. S

    Physics Computer vision engineer looking for career change into physics

    I am a computer science graduate working in computer vision , remote sensing field for a private company. Been studying physics on my own for curiosity(A levels, H&R books, feynman essentials) . I developed interest in physics few years back and I have been searching for ways to convert my...
  10. M

    A Is computational Physics a hard major?

    Is computational Physics a hard major? To what extend I should learn mathematics and Computer Science besides learning Physics?
  11. Ramil

    Quantum Monte-Carlo calculation of Green's function

    Introducing the spacetime spherical symmetric lattice, I use the following notifications in my program. i - index enumerating the nodes along t-coordinate, j - along the r-coordinate, k - along the theta-coordinate, l - along the phi-coordinate. N_t - the number of nodes along t-coordinate. N_r...
  12. J

    OO Programming in Physics

    Would physics majors benefit from learning how to do Object Oriented programming?
  13. L

    A What is best way to start learning DMRG for Fermions?

    I want to learn the density matrix renormalization group (DMRG) method in traditional formalism (not MPS). While there are many good introductory level articles available for bosonic (and spin) systems, I have not encountered any introductory level article which deals with fermionic systems i.e...
  14. L

    A How to numerically diagonalize a Hamiltonian in a subspace?

    I want to exactly diagonalize the following Hamiltonian for ##10## number of sites and ##5## number of spinless fermions $$H = -t\sum_i^{L-1} \big[c_i^\dagger c_{i+1} - c_i c_{i+1}^\dagger\big] + V\sum_i^{L-1} n_i n_{i+1}$$ here ##L## is total number of sites, creation (##c^\dagger##) and...
  15. K

    Perform an image deconvolution using FFTs and Python

    Homework Statement [/B] This problem is from Mark Newman's Computational Physics, problem 7.9, found at The problem gives us a blurry convolved image, according to a Gaussian point spread function and our objective is to deconvolve it to...
  16. TachyonLord

    I The order of calculating velocity and position alters the solution?

    So I tried solving the differential equation for a spring - mass system using Euler's Algorithm in Python. The equation being d2x/dt2= -4π2x (The equation was obtained by Dimensional Analysis) here x and t are both dimensionless equivalents of position...
  17. astroman707

    Programs Is a 2nd major in comp sci useful in computational physics?

    I'm majoring in physics and I'm planning on pursuing computational astrophysics in graduate school. Will a second major in computer science/programming look good to graduate schools, and/or will it give me great advantages in the field of computational astrophysics or astronomy?
  18. V

    Hamiltonian for a 1D-spin chain

    Homework Statement [/B] A 1D spin chain corresponds to the following figure: Suppose there are ##L## particles on the spin chain and that the ##i##th particle has spin corresponding to ##S=\frac{1}{2}(\sigma_i^x,\sigma_i^y,\sigma_i^z)##, where the ##\sigma##'s correspond to the Pauli spin...
  19. J

    Quantum I need a book to solve Schrodinger's eqn numerically

    I have found this one that looks perfect: THe problem is that it has not been published yet :( , but I can't believe there is no other book on the subject. What I want is to solve numerically the Schrodinger equation...
  20. G

    A Simulated 2D correlated data

    Not sure this is the right area to post this. Let's say I have particles on a lattice, and they all have some property (ie, color) that is correlated at some known correlation length. I want to simulate this! In 1D I could do something like have color be a random walk in the given dimension...
  21. Arij

    Other Why Computational Physics?

    Hello, I've been wondering lately why would one change study path from theoretical or applied physics to computational physics or become a simulation expert? I am a physics graduate myself and based on the job market where I live I might need to pursue material sciences or computational...
  22. twist.1995

    A Restricted Open Shell Hartree Fock Method

    Hello, dear scientists and forum users. I have recently finished programming the restricted closed-shell and unrestricted Hartree-Fock matrix equations. They seem to work fine for small diatomic molecules. However, I cannot understand the restricted open-shell theory that was firstly published...
  23. twist.1995

    A Symmetry Considerations in Hartree-Fock-Roothaan Method

    Hello, dear Quantum Chemists or Physicists. I have been extensively researching the restricted closed-shell Hartree-Fock method, and wrote a code that is working for diatomic molecules, like H2 or He2++. I, however, have a few unresolved questions that do not allow me to proceed further in...
  24. Hamza Elkotfi

    A 1D materials : DFT study

    hello dear physicists I will work in my thesis on 1D materials using DFT as a numerical method to find the properietes of these 1D materials I would be very happy if someone can help me with references (books, links, articles, vedios .....) that could help me to advance in my work Thank you
  25. B

    I Likelihood and chi-square

    Hello, I'm new to the world of "numerical" astronomy/cosmology and I've been studying maximum likelihood estimation for model tests. The (analytical) theory is somewhat easy to understand, but I've been struggling with the numerical aspect of the computations. Suppose you have some model with a...
  26. S

    Programs Which subfield of physics should I choose?

    Hi everyone; I have a question, and I hope you could answer it. Well, I have a bachelor degree in physics/computer science and I plan to go to a graduate physics program; however, I don’t know which subfield is good for me. I was looking for computational astrophysics, computational condensed...
  27. Q

    Physics Interested in grad school in Computational Physics, help?

    Undergrad with about a year and a half of school left here! The looming spectre of the real world has come with the realization that I do not know anywhere near enough of physics and math to satisfy me. I love math, I want more than anything to understand and do work that involves computers at...
  28. G

    Engineering Simulation of Circuits Without Kirchhoff's Laws?

    1. The problem statement, all variables, and given/known data I am currently drafting a proposal for a project in Computational Physics. I'm planning on creating a program that simulates circuits numerically instead of solving the system of equations. The purpose of my project is to observe the...
  29. Q

    Admissions Computational physics career change

    Hi, I am confused about which to choose between computational physics and data science. Actually I am a computer science undergraduate and I have 4 years of experience in data mining. I discovered my interest in physics, so I planned to do a graduate degree with the focus of physics. But the...
  30. maverick_starstrider

    I Spectral Bisection of Simplest Graph Clearly Incorrect

    I'm playing around with Spectral Bisections and Fiedler vectors as ways of bisecting a graph using the sparsest cut. However, I'm finding that even the most trivially simple graphs are bisected incorrectly by this approach. What am I missing? Take for example a graph that is just a 4x4...