A 3D visualization of a uniform arrangement along the z-axis containing the following electric current distributions:
-
In the region of space where
$x > 0$ and$0 < y < h$ , the spatial distribution with density:$$\mathbf{J} = A \left[ \left( 1 - e^{-bx} \right) \hat{x} + b(h - y)e^{-bx} \hat{y} \right]$$ -
In the section of the plane
$y = 0$ where$x > 0$ , the surface distribution with density:$$\mathbf{K} = -Ah \left( 1 - e^{-bx} \right) \hat{x}$$
where
To install the necessary dependencies, use pipenv
. It is recommended to use a virtual environment to manage your dependencies.
Clone the repository.
git clone [email protected]:orestis42/current_density_visualization.git
Navigate to the project directory.
cd current_density_visualization
Install dependencies using pipenv.
pipenv install
Build the Cython extension.
pipenv run python setup.py build_ext --inplace
pipenv run visualize