Skip to content

Curl-Curl Solver: add support for inhomogeneous Dirichlet boundary#5454

Draft
WeiqunZhang wants to merge 1 commit into
AMReX-Codes:developmentfrom
WeiqunZhang:curl_curl_inhom
Draft

Curl-Curl Solver: add support for inhomogeneous Dirichlet boundary#5454
WeiqunZhang wants to merge 1 commit into
AMReX-Codes:developmentfrom
WeiqunZhang:curl_curl_inhom

Conversation

@WeiqunZhang

Copy link
Copy Markdown
Member

Previously we assume it's always homogeneous at the Dirichlet boundary.

Previously we assume it's always homogeneous at the Dirichlet boundary.
@WeiqunZhang

Copy link
Copy Markdown
Member Author

@JustinRayAngus Please give this a try.

@JustinRayAngus

Copy link
Copy Markdown
Contributor

@WeiqunZhang Same result as before.

@WeiqunZhang

Copy link
Copy Markdown
Member Author

Okay. I think the issue is in how this is coupled in WarpX with GMRES, which is a linear solver, but the inhomogeneous Dirichlet problem is not linear. So if this is used as a preconditioner for GMRES, the system needs to be linear. Because the issue is probably not in the curl curl solver, let's move our discussion to slack and email.

That being said, this is still useful when this is used as a standalone solver. So I will keep this open.

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.

2 participants