All Questions
51
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://...
1
vote
1
answer
100
views
Components of Faraday tensor
Maybe it's a very basic physics question but I'm confused and not sure if I should ask my question here. From this paper, I have the potential vector
$$ A=A_t d t+A_\phi(d \phi-\omega d t) $$
where
$$ ...
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. ...
2
votes
1
answer
122
views
Graph of an ergoregion
I'm trying to graph the region defined by the following equation (which comes from the $g_{00}$ element of the metric (2.1) in this paper)
$$ g_{00}=-f H+H^{-1} \omega^2 r^2 \sin ^2 \theta $$
which in ...
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 ...
1
vote
1
answer
105
views
Plot after applying NIntegrate
I'm trying to integrate and graph $I$ vs $b$ the following integral (eq. 24 in this paper) in wolfram mathematica
$$ I = \int_{2}^{\infty} \frac{g_i^3 \mathcal{K}_t \mathrm{~d} r}{r^2\left|\mathcal{K}...
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 ...
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 ...
6
votes
1
answer
160
views
Result of numerical computation representing a real physical quantity still contains a small imaginary components [closed]
I have been grappling with a physics calculation pertaining to thin film optics. I have been endeavouring to use transfer matrix calculations to determine optical reflectance. Attached below is the ...
1
vote
1
answer
100
views
Inconsistent results solving system of equations with FindRoot
I have been trying to solve the following problem (Is basically a physics problem: an expansion of equations of state up to 1st order of the order parameter in order to solve for the critical ...
0
votes
0
answers
54
views
Finding values of constants for which 1st and 2nd order derivatives of a function vanish
I'm trying to find critical values of some constants $v_c$ and $T_c$, for which holds the equality below:
$$\bigg(\frac{\partial P}{\partial v}\bigg)\biggr\rvert_{v=v_c,\; T=T_c}=0,\quad \bigg(\frac{\...
2
votes
1
answer
224
views
Solving 2D Coupled Nonlinear SO Coupled Equation
I am trying to solve coupled nonlinear SO coupled equations in 2D from the following two papers https://arxiv.org/pdf/2105.08849.pdf and https://arxiv.org/pdf/2109.00491.pdf. They have given an input ...
-4
votes
1
answer
117
views
Constructing NxN tridiagonal block diagonal matrix with N is a variable [closed]
Hi please can someone help me writing a program of generating a tridiagonal block matrix with dimension of NxN where N is a variable can be 50, 100, 200, 300...etc , Well I don't know how I'm a ...
2
votes
1
answer
93
views
Numeric solution of ODEs oscillates strongly and stops halfway?
I tried to reproduce the results of a paper.
The differential equations are given by
...
0
votes
1
answer
216
views
Diffusion equation with non uniform diffusion constant
I am trying to numerically solve a 3D diffusion type equation with a spatially varying diffusion $\nabla\cdot(K \nabla T)=\partial T/\partial t$ with K a given function of space with different ...