Skip to content

I will implement a Laplace solver for scattering off two touching cir…#1

Open
linger-xbl wants to merge 1 commit into
mainfrom
laplace-two-circles
Open

I will implement a Laplace solver for scattering off two touching cir…#1
linger-xbl wants to merge 1 commit into
mainfrom
laplace-two-circles

Conversation

@linger-xbl
Copy link
Copy Markdown
Owner

…cles.

This solution will use a method inspired by the Lightning Laplace Solver, employing rational function approximations with poles placed inside the circular boundaries.

I will structure the implementation into four Python scripts:

  • geometry.py: This will define the circle geometry, incident field, and boundary conditions.
  • solver_setup.py: This will handle the discretization, including pole placement, collocation points, and construction of the system matrix and RHS vector.
  • solver.py: This will solve for the pole coefficients and calculate the scattered and total fields.
  • visualize_field.py: This will generate and save a contour plot of the total potential field around the two circles.

The main script for you to run will be visualize_field.py, which will produce total_field_plot.png showing the scattering pattern.

…cles.

This solution will use a method inspired by the Lightning Laplace Solver,
employing rational function approximations with poles placed inside the
circular boundaries.

I will structure the implementation into four Python scripts:
- geometry.py: This will define the circle geometry, incident field, and boundary conditions.
- solver_setup.py: This will handle the discretization, including pole placement,
  collocation points, and construction of the system matrix and RHS vector.
- solver.py: This will solve for the pole coefficients and calculate the scattered
  and total fields.
- visualize_field.py: This will generate and save a contour plot of the total
  potential field around the two circles.

The main script for you to run will be visualize_field.py, which will produce
total_field_plot.png showing the scattering pattern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant