Skip to main content

Questions tagged [software]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
52 views

Good Physics Engine Recommendations [closed]

Basically, I am looking for a precise physics engine I can use to run tests and tune a PID controller. The simulation is relatively simple: a small rocket with air brakes reaching a target altitude. ...
2 votes
0 answers
54 views

Cosmological numerical computations

I am unsure where to ask this question, whether here or in the Mathematica stackexchange, but either way, I was wondering what are some recommendations for cosmological computations specifically using ...
0 votes
1 answer
38 views

Using multiple sources in Zemax mixed mode

In Ansys Zemax OpticStudio [I'm using 2023 R1.00 Pro (11)] sequential mode, the Multi-Configuration Editor can be used to make multiple paths for rays to trace through after the rays depart from a ...
Jason's user avatar
  • 31
2 votes
0 answers
51 views

Adding damping to a spring Lagrangian [closed]

I have written a program that produces a Lagrangian. Additionally, I need damping for the spring I am simulating in the Lagrangian. Here is the code: ...
Mo711's user avatar
  • 89
1 vote
0 answers
28 views

Blackbody Radiation Simulation Software [closed]

I am trying to model the effective radiating temperatures of various three-dimensional solids (Tetrahedron, cube, octahedron, etc.) given a specific incident radiation. Are there any (free) softwares ...
-1 votes
1 answer
74 views

Yet another question on time dilation on basic special relativity (with code) [closed]

I've been trying the book Computation Physics and came up with the following exercise: Exercise 2.4: A spaceship travels from Earth in a straight line at relativistic speed v to another planet x ...
Dimitri's user avatar
  • 161
1 vote
2 answers
75 views

Static solution to an implicitly dynamic problem - heat equation

Heat equation This is the heat equation: $ \frac{\partial u}{\partial t} = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2} $ ...
Megidd's user avatar
  • 123
1 vote
1 answer
52 views

Magnetic force expression in COMSOL, what does the T stand for?

During a recent project I've used COMSOL to help evaluate the force excerted on a steel ball from an electromagnet. The formula used by COMSOL is: \begin{equation} \textbf{F} = \int_{\partial\...
NL195's user avatar
  • 11
0 votes
0 answers
63 views

Hermiticity of Majorana Fermions: SYK Model

The SYK Hamiltonian is defined as $$H = -\frac{1}{4!}\sum_{i,j,k,l=0}^{L-1} J_{ijkl} c^x_{i}c^x_{j}c^x_{k}c^x_{l},$$ where $J_{ijkl}$ is a random all-to-all interaction strength which is normally ...
Young Kindaichi's user avatar
0 votes
0 answers
23 views

Zou He boundary condition for Lattice Boltzmann

I am utilizing this paper "https://arxiv.org/pdf/0811.4593.pdf" to implement the Zou-He boundary condition, aiming to enforce a velocity of 1 at the inlet of the complex geometry. The ...
Resa's user avatar
  • 1
0 votes
0 answers
23 views

Circle to Polygon & Circle to Circle Velocity Resolution

I current am working a 2d physics engine, but have recently hit some bumps in the road. Polygon to polygon collision and velocity resolution works without issue, but I am struggling to get working ...
TrippR's user avatar
  • 1
0 votes
1 answer
93 views

Sublattice model for ternary system

Much like in an earlier post of mine, I'm now calculating the phase diagram of a ternary system (Ag-Al-Cu, to be specific), which has some phases modelled as sublattices (using this publication for ...
asbjos's user avatar
  • 25
0 votes
0 answers
82 views

How to draw topological defect line in LaTeX?

This is somewhat between TeX stackexchange and physics stackexchange. With Latex, it became much more easier to write equations, and with tikz, pictures can be drawn. However, with the introduction of ...
ShoutOutAndCalculate's user avatar
0 votes
1 answer
44 views

How is the trajectory of a star found relative to the Sun?

So i know we can get radial velocity by measuring blue shift and then we can use the distance to the star and its proper motion to get its tangential velocity. In the case of Bernards star, its ...
user2279603's user avatar
3 votes
1 answer
82 views

Does using Mathematica to do integrals in problems from Griffith's EM hamper my physics education?

I am a sophomore taking an Electromagnetic Theory class using Griffiths. When working on the problems in the text I sometimes encounter integrals that are quite involved at least compared to what I am ...
User13114's user avatar
2 votes
1 answer
266 views

Metric tensor calculation tool? [duplicate]

The Einstein field equations are $G_{\mu\nu}+\Lambda g_{\mu\nu}=\kappa T_{\mu\nu}$ which would be easy enough to solve if not for all of the nonlinear dependencies on $g$ that the Einstein tensor $G$ ...
0 votes
1 answer
65 views

Special relativity velocity addition formula precision [closed]

I tested the special relativity addition formula $$u_{\text{total}}=\frac{v+u}{1+\frac{vu}{c^2}}$$ and found that addition of small numbers converges to smaller speed, but bigger numbers to bigger ...
Vadim Ostanin's user avatar
0 votes
1 answer
46 views

Calculating Scattering matrix of a nuclear fusion reaction using Fortran

I am trying to find out the $S$-matrix elements for the reaction: $${}^{19}\textrm{F} + {}^{208}\textrm{Pb}. $$ The model followed is Direct reaction model where the optical potential is: $$ V_{op}(r) ...
Meera Manikandan's user avatar
-1 votes
1 answer
97 views

Physics of Landing a Rocket on a Specific Location [closed]

I have been working on a rocket model for the past year, and I have a question about the landing phase of the rocket flight. How do rockets, such as those from SpaceX, land on a specific location ...
Cheyon Vijayakumar's user avatar
1 vote
1 answer
77 views

Does anyone have a good source for writing a Finite Volume Solver

As a pet project I want to try and write my own finite volume solver for a two-phase flow problem. However, while I understand the basics of FEM I have never written a code that solves anything before....
0 votes
0 answers
50 views

Path integral Monte-Carlo simulations of the $t$-$J$ model

I'm working on the $t$-$J$ model, i.e, a strong correlation limit and effective low energy theory for the hubbard model. I am interested to simulate a two dimensional square lattice $t$-$J$ model ...
0 votes
0 answers
29 views

Good resource to learn more about background reduction CERN data analysis

So I am working on a project which involves data analysis of LHCb data and I have to plot invariant mass histograms. Where can I learn more about background reduction in my analysis. I have to use ...
0 votes
0 answers
49 views

How to remove the baseline in the Raman spectrum without falsifying the spectral data. Measurement of anisotropy using SERS?

My goal is to study the anisotropy of the sample based on changes in the Raman spectrum as a function of angle. The sample was rotated around the Z-axis and changes in the spectra are visible in the ...
Friszbot's user avatar
0 votes
1 answer
138 views

Sun-Earth-Moon-Spacecraft four-body simulation using MATLAB - unexpected results [closed]

I'm trying to simulate this four-body system by directly integrating the system of equations $$\ddot{\textbf{x}} = \sum_{i=1\:i\neq k}^4 G\frac{m_i}{|\textbf{x}_i-\textbf{x}_k|^3}(\textbf{x}_i-\textbf{...
Zypher's user avatar
  • 3
1 vote
1 answer
134 views

3D projectile motion simulator with drag is not constrained to a 2D plane

This is an example of the problem. I've set the initial velocities to be $(x,y,z) = (100,10,100)$ and the drag-coefficient and CS-area to be 1. As you can see the motion is not constrained to one ...
Thenu Kaluarachchi's user avatar
0 votes
0 answers
28 views

Simulation software for electrons scattering effects in materials

I am currently trying to find a software where I can simulate the effects of an electron beam hitting different materials of certain thicknesses, and get information such as how many backscatter, how ...
0 votes
0 answers
34 views

Need Recommendations for Nuclear Reaction Modelling Software

Working on a project where I need to model nuclear reactions with different fuel pellet shapes. Does anyone have recommendations for software that's good for this? Any advice or experiences are also ...
0 votes
0 answers
159 views

Coupled quantum harmonic oscillator: Decomposition in terms of number basis representation for numerical implementation

Consider the Hamiltonian of a coupled quantum harmonic oscillator \begin{align} \hat{H}&=\frac{1}{2m}(p_1^2+p_2^2)+\frac{m\omega^2}{2}(q_1^2+q_2^2)+\alpha(q_2-q_1)^2 \\&=\frac{1}{2m}(p_1^2+...
MrDerDart's user avatar
  • 272
0 votes
0 answers
171 views

Boundary/contour tracing of a binary image in Python

I'm studying percolation on a square lattice. I identify clusters on the binary lattice using the SciPy API ndimage.label. My goal is to study the external perimeter (hull) of each of these clusters. ...
0 votes
1 answer
73 views

Lagrange multipliers method for a bead on a parabola-shaped wire [closed]

I have this simulation problem that looks very easy at first look (and maybe it is, especially using Lagrange equations of the 2nd. kind). I am using the Lagrange multipliers and I am kinda not sure ...
Anky Physics's user avatar
-1 votes
1 answer
84 views

Why would spherical velocity be zero along a numerically-integrated null geodesic?

I am writing a numerical solver for the null geodesics of an arbitrary spacetime metric, but currently mostly targetting black hole spacetimes. I am attempting to numerically integrate the geodesic ...
JS4137's user avatar
  • 181
1 vote
0 answers
152 views

Construct an operator using outer product of two MPS using TeNPy

I am fairly new to Matrix Product State (MPS) formalism, but I've used Density Matrix Renormalisation Group (DMRG) techniques before. I'm learning to use TeNPy, and a particular problem I am trying to ...
squareroottwo's user avatar
0 votes
0 answers
33 views

Calculating cross terms for Haven coefficient using windowed MSD

My problem is that from this site: MSD Module I'm taking an equation that expresses the windowed mean squared displacement (MSD): $$MSD(m) = \frac{1}{N}\sum_{i=1}^{N}\frac{1}{N-m}\sum_{k=0}^{N-m-1}(\...
daryldxn's user avatar
1 vote
0 answers
40 views

Toolkit to generate the most general gauge invariant Lagrangian for a given particle content

I am currently working on a BSM model for unification where I am adding scalars for unification. I add many scalars, so finding the most general gauge invariant lagrangian is becoming difficult. Is ...
-1 votes
1 answer
97 views

Plotting ground Tracks with Python only using trigonometry [closed]

I'm trying to plot a ground track in Python from a TLE file without using explicit AstroPy or other packages. I've encountered a problem with the code that I can't figure out. The issue pertains to ...
ed190's user avatar
  • 93
0 votes
1 answer
86 views

Cooper-Zare-Theory - Photoionization simulated in Python

My concrete problem is that I want to calculate cross-sections for photoionization transitions in argon in Python. For example from the excited state 3S^23p^56d into the continuum. For this, I found ...
LaserLennart's user avatar
4 votes
1 answer
125 views

Phase space density behavior in finite volume

I am trying to develop better intuition for the single-particle phase space density $f(x,v,t)$ and I am confused by the tendency of $f(x,v,t)$ to become wiggly in velocity space. Consider the simplest ...
phonon's user avatar
  • 169
0 votes
0 answers
87 views

Good text for writing a realtime physics solver?

What is a good, up-to-date, well-regarded text on writing physics solvers for (e.g.) game engines or realtime simulations? In particular, treatment of numerical stability, convergence, asymptotic ...
1 vote
0 answers
56 views

Is there any game for understanding elevator physics?

I'm a physics teacher and I'm wondering if there's any game for physics elevator problems (weight in accelerating elevator) that the student can play with to better understand in what situations the ...
1 vote
0 answers
104 views

Komar energy using Mathematica [closed]

I want to check Komar conserved quantities for Kerr Newman metric using Mathematica. Is there any way to write a programming code for this? Can anyone help me?
Debojyoti Mondal's user avatar
1 vote
1 answer
184 views

(Weakly compressible) Smoothed Particle Hydrodynamics (SPH) and speed of sound

In SPH (weakly compressible approach) the Cole state equation is used to compute pressure from density: $$p(\rho)=\frac{\rho_0c^2}{\gamma}\left(\left(\frac{\rho}{\rho_0}\right)^\gamma-1\right)+p_0$$ $...
Al Wld's user avatar
  • 111
1 vote
0 answers
48 views

What machine learning technique can help generate spectrum line profiles?

I'm trying to work with Calcium-K line profiles from the Sun. Image for reference. Please ignore the labels on the image and note that my profiles are not in image format (more info below). I have ...
Apoorva Srinivasa's user avatar
0 votes
1 answer
77 views

How to handle collisions in a game? [closed]

This must seem like a very basic question, but I'm building a game engine and need some help. Let's say that two objects, o1 and o2 collide with each other (defined by the first time their bounds ...
LXIV's user avatar
  • 3
1 vote
0 answers
82 views

Good Mathematica package for computing Feynman graphs (resource request)?

I was wondering if anyone had any go-to Mathematica packages for computing higher-order Feynman graphs. Specifically ones that would allow me to construct higher spin fields like $h_{\mu\nu}$ and then ...
0 votes
0 answers
75 views

Looking for the name of the spacetime interval with exponential

I have the following invariant: $$ds^2=e^{v(r,t)} c^2 dt^2 -r^2\left( d \theta^2 + sin^2(\theta) d \phi^2 \right) - e^{\lambda(r,t)}d r^2$$ for the centrally symmetric gravitational field. And I would ...
M. Lemelin's user avatar
0 votes
1 answer
103 views

How to find nonlinear conductance?

For quantum transport at the level of linear response, there is the Landauer-Buttiker formula. And for tight-binding models, there are programs targeting such calculations, such as the kwant package. ...
xiaohuamao's user avatar
  • 3,701
3 votes
0 answers
131 views

How to use Python to get mathematical expressions in General Relativity [duplicate]

I'd like to get the metric tensor that describes a non-rotating, uncharged, perfectly spherical black hole whose radius grows with time (it gains mass). For now, I have: $g_{\mu\nu}=\begin{pmatrix} -c^...
3 votes
0 answers
114 views

Is there a software that computes simple particle decay kinematics?

I was trying to figure out some details about a specific decay channel for a generic particle accelerator experiment. For instance if I have a proton proton collider with fixed energy, I would like to ...
2 votes
0 answers
182 views

Variation of gravity in tetrad (vierbein) formalism using xAct or other computer algebra for wolfram language

I recently did some calculations in teleparallel gravity, where the fundamental variables are tetrad and flat spin connection. The Lagrangian density of teleparallel gravity is given by \begin{...
Yuan 's user avatar
  • 21
0 votes
0 answers
171 views

Varying an action with respect to the metric in mathematica

I want to Varying an action with respect to the metric to obtain the Einstein equation $G_{\mu\nu}=k^2 T_{\mu\nu}$. Is there any way to do that in Mathematica? Can mathematica do that?
Alice's user avatar
  • 67

1
2 3 4 5
12