This script provides a comprehensive analysis and visualization of the magnetic field around two parallel cylindrical conductors (ideal transmission line) using Python. The conductors are aligned along the z-axis with a constant current flowing through them.
The script addresses the following tasks related to the electromagnetic field analysis:
- Vector Potential Calculation: Compute the magnetic vector potential at any point in the Cartesian coordinate system considering the distances from the point to the conductors.
- Graphical Representation:
- Plot the vector potential in the xy-plane.
- Graph normalized vector potential and equipotential lines.
- Visualize the magnetic induction B field lines using streamlines.
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/transmission_line_visualization.git
Navigate to the project directory.
cd transmission_line_visualization
Install dependencies using pipenv.
pipenv install
pipenv run python ./src/transmission_line_visualization/transmission_line_visualization.py