Simulation Definition and 899 Threads

  1. F

    B Question about Michelson-Morley experiment

    Hi, I think I have a good grasp of the principles underlying the Michelson-Morley experiment, but I am not sure about a detail. In basic textbooks a simplified situation is presented whereby the ether wind is along one of the two arms of the interferometer. Simple classical physics calculations...
  2. micromass

    Challenge Micromass' big simulation challenge

    Let's do some simulations. Below are 5 simulation problems that require a computer to solve. Use any language you want. Post the answers (including graphics) and code here! Any use of outside sources is allowed, but do not look up the question directly. For example, it is ok to go check...
  3. m4r35n357

    HTML/CSS JavaSCript/HTML5 Equatorial Black Hole Simulator

    Not to be confused with the full 3/4D one that I was plugging a while ago . . . this HTML5 canvas/JavaScript page was inspired by an old visual aid (requires Java plugin) that I found lacking in several areas. The improvements that I have made include: Handles spinning black holes, with...
  4. G

    I 2D Time dilation simulation with several clocks?

    Hi, I'm looking for some kind of simulation for time dilation where you can add several clocks to a 2D plane, synchronize them, give them velocities and accelerate them. For example to simulate the twin paradoxon including the acceleration necessary to (at least) one clock to reunite them. I...
  5. nisler.1

    Trying to run QM/MM simulation with calcium binding protein

    Hello everyone, I'm a graduate student in a biophysics lab. I'm trying to run a QM/MM simulation with a protein that binds 3 Ca2+ ions, and as such I am having a devil of a time getting the SCF to converge. I've tried DIIS, KDIIS, damping, and a few other methods to try to get convergence with...
  6. I

    Simulation of phase change materials

    Dear all, Interested in change phase, I would like to set a simulation to understand the multiphysics phenomena of heat storage in a shell and tube tank between hot water as the heat transfer fluid and a PCM ( phase change material) using the commercial CFD software Fluent. The purpose is to...
  7. adriplay

    How to Determine Heat Capacity in a Hard-Sphere Gas Simulation?

    I have a simulation with a bunch of particles with volume bouncing around in a box with no interaction between them, a hard-sphere gas. Initially, they all have the same momentum |p|=√(2⋅m⋅2/3⋅k⋅T) to have the average kinetic energy 3/2⋅k⋅T. I'm asked to add a constant energy flux to the system...
  8. V

    Stable equilibrium of a 4 mass, 6 spring system

    Homework Statement I am making a physics engine for my computer science class and couldn't figure out how to get the spring/mass system to come to equilibrium into a box-like shape such as the one on the left. I can understand why the one on the right is in equilibrium but I don't know how to...
  9. fluidistic

    Python How Can I Fix the IndexError in My 2D Ising Model Simulation?

    Hi people, I'd like to simulate a 2d array of atoms/ions under a magnetic field H via the Ising's model. I've read http://fraden.brandeis.edu/courses/phys39/simulations/AsherIsingModelReport.pdf to get an idea on how to proceed. I'm not sure I got the correct ##\Delta E## values though. I'm...
  10. astrof

    A Numerical simulation the n-body problem under SR model

    The problem is a simple n-body problem: there is n charged particles - electrons, protons, or other particles; we have the initial parameters: a mass, charge, position, velocity, at a time t = 0. In a standard (classical) numerical computation of the n-body problem I can use any numerical...
  11. Buzz Bloom

    Tyson Says It's 'Very Likely' The Universe Is a Simulation

    https://science.slashdot.org/story/16/04/23/0051211/neil-degrasse-tyson-says-its-very-likely-the-universe-is-a-simulation I am curious to see how this discussion goes.
  12. S

    Python Why is my Hydrodynamics Simulation Code Producing a Noisy Signal?

    Hi! I have this code which should simulate a sod shock tube like this: https://en.wikipedia.org/wiki/Sod_shock_tube But when i plot density versus distance I just get something like a noisy signal. Any idea where I am doing something wrong? from matplotlib import pyplot as plt import numpy as...
  13. Vajhe

    Computational Resources for learning about Optical Beam Propagation Method (BPM)

    Hi, I'm a physicist intern that has some problems with Optics simulations; I'm very interested in doing some Beam Propagation Method (BPM) simulation, but the information online is not that good for begginers in the area. Can anyone advise me on books, journals or such that might help me learn...
  14. ChrisVer

    Python Entropy calculation atoms simulation

    I have the following program that simulates a stochastic system of 400 particles. What I want to do now is separate the 200x200 grid into 2x2 smaller grids, out of which I will calculate each probability: P_i= \frac{\sum_{\text{atoms}}}{4} and from which in each step I'll be able to determine...
  15. l0st

    Is There Free Software Capable of Simulating Fusion in Large Atomic Systems?

    In a nutshell: is there any free software, which can take as input full description of a relatively large system (20-100 light atoms + photons), simulate its evolution over a period of time, and tell the probability of fusion over that time? If there's no such thing available, how close could...
  16. Toxis

    I VR/AR big bang model (Virtual Reality Simulation)

    Hi, I have a silly question, Could one, in theory make a accurate model of the life of our universe that one could look at from within. Let's say I put on my VR/AR goggles, 'there' Iam elevated from the earth, then I remain static, and the time begins to rewind. At some point I maybe hear...
  17. J

    I Can Monte Carlo Wave Functions Capture Driven and Dissipative Quantum Dynamics?

    Hi, I'm trying to study the quantum dynamics of a trapped ion phonon laser, the ion is explained by the master equation and hamiltonian given in this article, http://arxiv.org/pdf/1412.1863v2.pdf. I've been trying to use a Monte Carlo wave function approach but it seems to only describe...
  18. F

    Simulation program and industries

    I'd like an idea about simulation programs and how it can be applied to industries. Here is some of the simulation program ideas I happen to run across on Google. All the way from data calculations, 2D cell game to 3D crash proof simulations. I want to hear your thoughts and some of the most...
  19. S

    C/C++ Why Do My Simulated Orbits Appear as Spirals in C++ Runge-Kutta Simulation?

    Hi! I have this code in C++ that simulates 2 body interacting through gravity using Runge-Kutta 4th order method. I plotted the trajectory of the 2 bodies and as you can see in the first picture they seems to be what I expect, 2 circles. But when I zoom in on one of them (second image) it looks...
  20. Soheyb BENYAHIA

    What Are the Best Software Options for Simulating Interferometric Systems?

    Hey, I'm trying to simulate an interferometric system for distance measurements, but I can't really find helpful software for that. Currently, I'm using OptiSystem 14, but it's really hard to do it since it doesn't contain some components like the mirrors. So, I will be grateful if I get any...
  21. TheDemx27

    How to Implement Damping in Particle Simulation

    So I made this simulation of charged particles: https://github.com/TheDemx27/Charge-Simulator My goal is to be able to put the charges on a line, as I've done, and see them tend toward a final state where there is more charge at the ends of the line and less towards the center. The problem is...
  22. W

    FDM simulation of an electrical transformer?

    My goal is to program a FDM simulation of a transformer. So, we have the coupled inductor model to start with ... However, if L1 = 1, L2 = 9, and coupling is perfect then M = sqrt(1*9) = 3 and L1 - M = -2. So, this seems problematical to me. Also, if I try to simulate this model using SPICE...
  23. SimOpera

    How Can I Simulate Hydrophobic Chromatography?

    Hello Everyone, This is a PhD student in Chemical engineering from Australia. I am working on Simulation of many operations (hence my name is SimOpera) one of which is chromatography. Would like to further indulge in technical discussions ahead. Currently working on simulation of hydrophobic...
  24. C

    I Simulation Hypothesis and Skynet

    If we are inside a computer simulation and we are self aware, do we have the potential to become Skynet? The algorithms that dictate the laws of physics are keeping us (the self aware being) in an isolated sandbox, the immensity of the universe is that firewall that keeps us from the outside...
  25. M

    Looking for a numeric classical mechanics problem for project

    Homework Statement I was recently assigned an assignment where my instructor told us to come up with an idea for a numeric classical mechanics problem that is solved by computer methods. Some ideas the instructor gave was to simulate motion of a sun-earth-moon system or simulate the tides of a...
  26. G

    Calculating Angular Velocity for Falling Object Simulation

    Homework Statement This is an academic project related to a falling object simulation. I have come to the point where I'm trying to calculate the per degree angle of the falling object seen in the attached images. The object has known height and length in pixels and is fixed on a pivot...
  27. srinaath

    MATLAB Simulation of air conditioner in openmodelica/matlab?

    am trying to simulate air conditioner in open modelica and matlab.. is there any library like hvac so that i can do the simulation in mush easier way...
  28. J

    Python Making a pretty n-body simulation

    Hi all, I have recently created an nbody simulation in Vpython for a few thousand particles where each particle is about 4000 times the mass of our Sun. Vpython is doing exactly what I want it to do the only problem being the output is extremely low quality (black spheres on a white...
  29. C

    Translate change of length to force in hanging chain problem

    I'm trying to write a simple script in blender python in order to show load deflection in cloth simulation. My question is: Is it possible to translate the change of length (distance between two nodes), into a force? (Newton between those nodes)? In addition you will find a minimal example. The...
  30. G

    I Detecting if the universe is a simulation

    I came up with a (not yet) practical idea about how to detect if the universe is a simulation. Presumably, a finite information simulation cannot be independent of reference frame. We could for example detect floating-point round off errors if we accelerate something very close to the speed of...
  31. A

    PSPICE Error when trying to run simulation

    Hi, so I built this circuit I'm trying to run a parametric sweep of the voltage source. I'm running it from 0V to 30V with a 0.1V interval So I put up the simulation settings that I wanted: and I ended up getting this error: I tried it on different computers as well and I still got the same...
  32. C

    Engineering Transimpedance Operational Amplifier Simulation circuit help

    Homework Statement (a) Derive the relationship between the output voltage V and the input current I; i.e. if V = kI find k in terms of R1, R2 and Rf. (b) Calculate the current I if Rf = 10 MΩ, R1 = 90 kΩ, R2 = 10 kΩ and V –0.1 V. (c) Model the circuit using PSPICE [using an ideal opamp] and...
  33. F

    Particle simulation and parallelism

    So when I use software like Unity3D and I click on the play button to run the simulation, is it updating the particle at every frame for the animation, let's say 60 frames per second, so it calculates the x and y position of where the particle should go within the time frame and show it. Now if...
  34. dwn

    BJT Switch - Circuit Simulation

    I am reading The Art Of Electronics, and I realize this is more of an encyclopedia rather than a textbook. I have referenced other sources as this has mainly served as a compass for me to learn about each subject area. My question is fairly simple and straightforward. I'm using multisim to...
  35. H Smith 94

    Verlet algorithm: Why am I getting this output?

    Hi! I am currently trying to write a code in C to simulate the orbit of planets around the Sun in the solar system. I am using the velocity Verlet approach and finding that my code produces no acceleration in the ##y##-direction (aside from for ##t_n = 0##,) and that the planet just flies off...
  36. A

    3D simulation of Cone in Atlas Silvaco TCAD

    Hi I am interested in simulating the a cone structure in Silvaco's ATLAS TCAD. Since its has a cylindrical symmetry, I should be able to define a simple triangle and rotate it about a side to form the cone. I am not sure if this facility is available in Silvaco, like in Sentaurus from...
  37. S

    How can I properly add plies to a composite leaf spring in ANSYS APDL?

    Hi, I'm analyzing a composite leaf spring using ANSYS APDL, the leaf spring has a thickness of 12mm, and since it is a composite material, it is composed of many plies, I'm assuming the ply thickness to be 0.125mm. I imported the geometry as a Parasolid x_t. And the element type I used is...
  38. S

    How to simulate protons on a computer program to observe them?

    Well I'm in grade 11 and for an investigation I decided I'd observe the behavior of protons once the neutrons and electrons are removed from the atom. Specifically I want to observe how the acceleration at which the protons move apart from each other varies with the mass of the atom (i.e. #...
  39. W

    Bungee jump -> differential equation -> simulink simulation

    Hello guys, I found this forum using google because I need help with simulating bungee jump model. I've already done that with zero initial values and it looks good but I want it more realistic : Let's say L is the length of rope so elasticity force starts acting when y=L so logically time...
  40. 450AHX

    How can I generate an elliptical orbit using only position and velocity data?

    Hi. I'm writing a simulation of (an approximation of) the solar system. So far I've been able to translate the Wikipedia article on Kepler's laws to a function that uses a description of an elliptical orbit (eccentricity, periapsis, known position in time) to return a position when passed an...
  41. ernd59

    My LTSpice simulation is too slow

    Hi, How can i make my Ltepsice simulation faster ? it is taking me too much time (three days and it is not complete) the Defi diodes are supposed to hold up to 4 kv
  42. ErikZorkin

    I Space expansion and Universe as computation

    Good day. I do not know much about cosmology, rather computer science, but the following theoretical question bothers me a little. Some scientists, like Tegmark, Wolfram, Zuse or Fredkin, support the idea that the Universe might be just computation. Computable means that something can be...
  43. S

    Exploring the Possibilities of Planet Explosions: A Simulation Study

    I know planets are very stable and don't explode, but here's something I would love a physicist to run on a powerful computer, maybe using some FEM model. Let's say we will the inner core of planet Earth with TNT, say a sphere with radius 2000 km and ignite it. What would the explosion look like...
  44. C

    Which Program Simulates Bandgap Diagrams for AlGaAs/GaAs Heterojunctions?

    Hi, im looking to simulate Bandgap diagram of an heterojunction of AlGaAs/ GaAs with metal schottky contacts. can anyone please recommend me of a program that can perform this task? i'll be glad to know. thanks
  45. A

    Troubleshooting Fault Current Limiter Simulation in Ansoft Maxwell 14

    Hi, I'm trying to simulate a fault current limiter at ansoft maxwell 14 and i have a problem when i put the stranded option on winding, the current that appears is always positive, with the axis above zero. Anyone can answer me what's happening and how can i fix this? Some date: Transient...
  46. T

    Simulation with Spice to get coil and caps values

    Hi, as I am in need of Low- and Highpass filters i would like to simulate my circuit using LT-Spice. I hope that i can get optimal caps and coils values like that. So i simply started to build my pi-network lowpass filter in LT-Spice and got the simulation results (please check the picture in...
  47. P

    Help in laser simulation in COMSOL

    hi im supposed to simulate a vcsel laser for my thesis i got problem in selecting physics.. i should check its heat transfer and threshold current but i don't know which physics should i choose ! does anyone know about vcsel's physical structure in Comsol ? by the way does anyone know that how...
  48. Q

    How can I calculate binodal line T-V with simulation result?

    Hi all I am running a NVT simulation for some structure and want to draw the phase diagram for T vs V. In my code I set some special value for temperature and also for volume. Also I have the analytic formula for my interaction potential. But I don't know how I can draw the binodal line for...
  49. Greg Bernhardt

    Realistic fluids simulation and animations

    Great for those interested in animations
  50. H

    How to check a numerical simulation is energy conservative?

    I am modelling a 1D fluid wave propagation problem and I needed to know how I can check that my results are energy conservative. please reply, urgent. thank you.
Back
Top