Skip to main content

All Questions

0 votes
0 answers
40 views

2D Projected Stocastic GPE Equation With Vortices

I am trying to solve the Projected Stochastic Gross-Pitaevskii equation with periodic boundary conditions from this paper https://arxiv.org/pdf/1905.05263. This equation can be found in https://...
Argha Debnath's user avatar
0 votes
0 answers
54 views

Stabilise equations for motion of Inextensible string subject to spatially non-uniform forces

I would like to simulate the motion of an inextensible membrane in 1D as an inextensible string subject to spatially-dependent body forces. For now, I would like it to be constrained at both ends. I ...
Ariana Fenris's user avatar
2 votes
2 answers
141 views

How to solve a matrix differential equation $\frac{d X}{dt} = i(X Y- Y^\dagger X)$?

In eq (21) on page-5 of this article, we have matrix HEP = (\[Omega]/2)*{{-2*I, 1}, {1, 0}}; and I am interested in finding matrix ...
User101's user avatar
  • 613
1 vote
0 answers
83 views

How to decrease the computation timing while using NIntegrate?

I'm trying to calculate the $A$ and $F$ values by using this code, ...
Entangled Quark's user avatar
1 vote
0 answers
97 views

Implementation of a cavitation model

Problem formulation Hi, I'm following this reference and I am trying to reproduce Fig. 19: The problem concerns an underwater shockwave, which hits the water-surface and produces a cavitation region. ...
MOOSE's user avatar
  • 159
3 votes
1 answer
142 views

Varying Einstein-Hilbert action through xAct gives extra terms

I am trying to find the associated field equation by varying this action: $$S=\int d^4x \sqrt{-g}(\kappa \mathcal{R}+\Lambda)$$ This should give me the below field equation when I vary above w.r.t the ...
codebpr's user avatar
  • 2,433
1 vote
1 answer
239 views

Differential complex equations in cosmological problem

I want to solve a differential equation of second order with complex initial conditions. Despite I have wrote all the code with detail, I am still facing some problems I might want to review here. The ...
Julian Yussef's user avatar
9 votes
4 answers
487 views

Poincaré section of the particle motion near the black hole horizon

I am trying to recreate the Poincaré sections given in Figure 2 of this paper. For this purpose, I use the following two methods: Method1: Using ResourceFunction["ClickPoincarePlot2D"] <...
codebpr's user avatar
  • 2,433
3 votes
1 answer
213 views

How to create an interactive Poincare section from the given code?

Here we discussed Poincare section for perturbed string model taken from the paper Chaotic dynamics of a suspended string in a gravitational background with magnetic field. We try to reproduce some ...
codebpr's user avatar
  • 2,433
1 vote
3 answers
494 views

Solving Geodesics from Christoffel Symbols

I am somewhat new to using Mathematica and I am facing difficulties with a specific problem related to the geodesics of Einstein's field equation in a vacuum. The metric I am working with is derived ...
HMZ's user avatar
  • 11
1 vote
0 answers
54 views

Stiffness problem which abruptly stops the evaluation

We have a Lagrangian and we found the EOM. We need to solve the EOM and find the Phase-space plot. However, we are facing a stiffness problem which abruptly stops the evaluation (...
user444's user avatar
  • 2,644
1 vote
1 answer
91 views

Proving an expression from Mathematica which is clearly visible from Plots

I have the following Mathematica code: ...
codebpr's user avatar
  • 2,433
5 votes
1 answer
191 views

Numerically finding a curve that satisfies an underdetermined set of equations

I am trying to determine a phase diagram along the lines of Fig 3. or Fig 4. of this pubilcation. The curves plotted are binodals and are determined by the conditions of equality of chemical ...
jcp's user avatar
  • 357
2 votes
1 answer
115 views

Eigenfunction condition of time-independent Schrödinger equation

I'm trying to get the eigenfunctions and eigenvalues of the following one-dimensional Schrodinger equation: $$ -\frac{1}{2}\frac{d^2}{dx^2}\psi(x)+V(x)\psi(x)=E\psi(x)\,,$$ where the external ...
Crazydemon92's user avatar
0 votes
0 answers
47 views

Dealing with Precision Issues in FindRoot for Complex Equations

I'm currently working on a Mathematica code that involves using the FindRoot function to find the poles of the scattering matrix in an one dimentional potetial well and for that, I need to find the ...
Eduardo Soares's user avatar

15 30 50 per page
1
2 3 4 5
7