All Questions
2 questions
0
votes
0
answers
216
views
discrete definition of curl $ \nabla \times \vec{A}$ on a 3D grid?
I have the data for 3D vector field $\vec{A}$ (with components $\vec{A_1}$, $\vec{A_2}$ and $\vec{A_3}$) sampled on a 3D grid with integer indices i, j and k.
Assuming that only the third component $\...
2
votes
1
answer
69
views
Numerical integration of the dataset of a function
The energy equation for a spherically symmetric system is given by
$$\mathscr{E}=\frac{v^2(r)}{2}+\frac{c_s^2(r)}{\gamma-1}+\phi(r)$$
where $\mathscr{E}$ is the total energy, $v$ is the velocity of ...