Snakelet
Snakelet

Reputation: 43

Solving multiple PDEs in Fipy

I'm trying to solve a system of partial differential equations in Python, using Fipy. I have a system of at least 3 PDEs.

I was wondering which approach is best for solving such a system? Fipy supports both coupled and uncoupled approaches for systems of PDEs. I was wondering, first, if Fipy even supports more than 2 coupled equations, and, if not (or if so), what is the best way of solivng such a system?

Thank you so much.

Upvotes: 2

Views: 1243

Answers (1)

jeguyer
jeguyer

Reputation: 2484

Generally, coupled will achieve better convergence than uncoupled. However, the more equations that are coupled, the larger the matrix that must be built, so coupled may require too much memory for particularly large problems.

There is no limit to how many equations may be coupled.

Even when coupling, any non-linear coefficients will still call for sweeping.

Upvotes: 1

Related Questions