Questions tagged [physics]
Questions related to the application of Mathematica to problems in physics.
1,027 questions
1
vote
1
answer
292
views
Can this previously solved three-dimensional constrained integration also be solved with certain added products in the integrand?
In Solved3DConstrainedIntegration
the constrained three-dimensional (Hilbert-Schmidt-metric-based HSmetric) integration problem for the absolute separability probability of the two-qubit (quantum bit)...
2
votes
1
answer
293
views
What is a good way to model fluid stream contours around airfoils?
I am an undergraduate student and am doing a project on conformal mapping for my complex analysis class. I have had one heck of a time trying to plot stream function contours to model fluid flow in ...
3
votes
1
answer
717
views
Properly Updating Particle Motion in 3D Electric Field Simulation
I have a code (very bottom of post) which plots a static electric field as it passed through some metal sheet with an aperture in it.
I seek to observe the motion of some N charged particles (point ...
1
vote
0
answers
80
views
Problem with evaluating the Trace of Hadronic tensor of spin 3/2 particle
I am trying to evaluate the Diractrace using Feyncalc package. The expression involves projection operator 'ab' which comes from completeness relation of spin 3/2 particles (Delta-). I am having some ...
4
votes
1
answer
155
views
Non linear GPE With Imaginary Current Nonlinearity
I want to solve the Equation 22 and generate fig 3(a) given in the paper https://arxiv.org/pdf/1812.04672.
...
1
vote
2
answers
377
views
Setting up a PDE for a time-independent Schrödinger equation
I am trying to solve a 2d Schrödinger equation with a non-separable potential because I want to calculate the probability of reflection for different angles of incidence of a plane wave.
Here I ...
9
votes
0
answers
977
views
Solving the 2D Schrödinger equation with eigensystem, then verifying orthonormality of eigenfunctions with NIntegrate
I am solving the time-independent 2D Schrödinger equation for an interacting electron and hole in the case of anisotropic electron and hole masses, where the interaction is described a modified form ...
0
votes
0
answers
68
views
While solving set of differential equations with NDSolve, I got NDSolve::initf: The initialization of the method NDSolve`StateSpace failed
Now I'm trying to solve partial differential equation by discretizing spatial coordinate. These equations are a kind of fluid equation and the fluid is annihilated at the x=0.
The variables are matter ...
3
votes
0
answers
652
views
Solve PDE over time-dependent region
I have some experience with C++ programming, but I am quite new to Mathematica and I think the latter requires a different mindset which I am still not used to.
I would like to simulate the effect ...
2
votes
0
answers
300
views
Modelling heat exchange between flowing fluid and surroundings
Starting from this question:
Couple a PDE and ODE in NDSolve
I would like to modify the fluid from static to a flowing one in the y direction.
that's the original code that I modified a little bit:
...
3
votes
1
answer
289
views
Finding Maximum Value of ElectricField in a bounded region
I have been trying to find the maximum value of the magnitude of an electric field in a bounded region. NDSolve gives the value of the potential inside the region ...
0
votes
0
answers
197
views
Encountering error messages with both DSolve and NDSolve
Reposting my question in a more legible and understandable way. The earlier one was flouting a few too many posting guidelines.
I am trying to solve the heat conduction partial differential equation, ...
33
votes
3
answers
4k
views
1D Euler equations (fluid dynamics) with NDSolve
Is it possible to accurately solve the 1D Euler equations in Mathematica using NDSolve?
For example, let us consider the Sod shock tube problem. Introduction to ...
2
votes
2
answers
269
views
How to use Schwarzschild geodesic equation in 2D with Energy
I'm trying to plot the motion of a star around a black hole by using the Schwarzschild equations in 2D. I will use only r and φ equations, while the equation for t will be obtained from the energy ...
3
votes
2
answers
274
views
Solving a second order differential equation with parity symmetry
I am trying to reproduce the Figure 2 from this paper.
The code that I am using to solve the differential equation is given below:
...